Tutorials - Drawings/Animations and more

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

ok now it wont work NinjaRunnerTutorial3-22-2021_2-22-11.wick please help @Jovanny

Hello I haven’t been on in a while. How is everyone?

1 Like

Welcome back to the forums @Ryder_Beaumont ! Everybody is doing fine, thanks for asking :slightly_smiling_face:

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

1 Like

here NinjaRunnerTutorial3-22-2021_13-37-56.wick

1 Like

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

Follow the video carefully…

Also, use the console to debug…

1 Like

now the spikes wont work NinjaRunnerTutorial3-22-2021_18-36-02.wick (337.8 KB)

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?Screenshot 2021-03-22 9.19.42 PM

… 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) {

Ok Thx! I will try it.

I will practice and learn everything I can about integers.