My game, my best game has bugged out (well not really) and I can’t shoot arrows and I have looked at the code for hours on end but to no avail, this is very frustrating because I was reasonably far along with my game, the main problem seems to be the variable Time that I use to set the power as I hold it down isn’t working, but then all sorts of strange things aren’t working so I think this might be a job for the mods… Another problem appears to be that when I am using rotation code using atan2s that it is not working. The strangest thing though was in the morning everything was working fine then I made like 1 change such as add a title screen using the StartGame variable to make sure I don’t get sim errors then the whole thing was not working, the title screen and the character and everything is working with I just don’t know what the problem is…… Please try and fix this as it is very important to me. Thank you for reading this and (fingers crossed) someone can fix it. Here is the link. Also btw click A at the start because I removed the name of the game and the title screen for obvious reasons.
2 Likes
Your issue is fairly simple, and all your bugs are being cause by the fact that “On Game Update” blocks never run until “On Start” has stopped running. Because your On Start block ends in a function that’s in a While < True > loop, the block never ends and so your game update blocks and forever blocks never start running. This should be easily fixed by moving the particle effect code into a Forever block or something and have it start running only when a variable is changed, like one of those StartGame variables I see you made. I hope you post this game when it’s finished, cause it looks good so far!
4 Likes
Thank you so much! That worked and now I can keep working on my game…. again, a million thanks…
2 Likes