Comments

Log in with itch.io to leave a comment.

(+1)

Hi man,

I really like your all published cute games. I am a new godoter :D and want to ask some questions, please teach me how to do this!

1. The line could change the length and angle randomly, how could I achieve this visual effect? 

2. In your another game, it has "jump" but top down view, did you use 3D or just 2D? If the scene is 2D, how could you achieve the jump function?

Thanks so much for your help.

Your games are all fun. Thanks for your work. :D

Sorry for the late reply. 

The line is a Line2D node. The start and end points are the player and mouse position respectively. It's kinda complicated to explain here in text but to bend it you first just check if its close enough to do it, and if it is you get the mid point between the player and hand and offset it a little to the right or left. The closer the player and hand are the bigger the offset. Again, it's kinda hard to explain.

And if you're talking about HYPER JUMP that's in 2D. To jump I just move the player's sprite node up and down and that makes it look like it's jumping.

Hope it helps.

Thanks for your reply!
It it really helpful and I haven't use the Line2D node before (I am really a godot beginner hahaha)
After your reply, I did some researchs and I noticed that its really a good node!
Anyway, I am really appreciate that you could give me your advice.
Have a nice day!

Simple idea but well implemented, nice game !