please help me Im working on the scrolling game and it wont work @Jovanny NinjaRunnerTutorial3-22-2021_1-06-34.wick
edit: I fixed it kinda but the animation is weird
please help me Im working on the scrolling game and it wont work @Jovanny NinjaRunnerTutorial3-22-2021_1-06-34.wick
edit: I fixed it kinda but the animation is weird
Hello I haven’t been on in a while. How is everyone?
Im not able to work on that until 7 hours from now. By that time, someone else should be able to help.
Hey @gamer_boi, I know the problem.
In line 145 (default script), you have a typo.
You wrote “this.spiks
.” It should be “this.spikes”
This is just a simple correction… one letter change.
But now, it should work when you click play :)
NinjaRunnerTutorial3-22-2021_13-50-31.wick (287.3 KB)
can you help with the weird animation
Sure :)
So in line 144, the tree clip resets every time when it moves a distance of 160
The tree clip is broken into three identical parts
Looking at the x position, the difference is 500
You’ll just have to change the distance that the tree clip moves before resetting to 500 rather than 160.
I just made it an animation instead
I need help again edit: NinjaRunnerTutorial3-22-2021_17-53-23.wick fixed the die but I still need help on the shurikens tri to shoot
With what exactly, could you describe more?
and the spikes only go once
Use the console to debug… it will give you more benefits in the long run than asking for help in every single obstacle. (I used it to find your previous problem…)
OK SO I NEED TO KNOW IF I USED THIS INTEGER RIGHT?
… if you want to select from 5 or 10, but with a probability of 20%, I would do…
let rNum = random.integer(1,10);
if(rNum == 5 || rNum == 10) {
play();
}
Ok Thx! I will try it.
I will practice and learn everything I can about integers.