how to
Hello.
I am just learning GS and I have gotten stuck. I want to make, in essence, a unicycle that rolls on the ground when pushed(by either mouse down, or finger swipe) and the wheel spins in the direction of the unicycle. Any help would be great. thanks!
Answers
The easiest way is the create an animation of the unicycle moving left and right, also have a still of the unicycle facing left and right.
Create 2 Boolean rules
Move Left
Move Right
On the left controller
Rule
touch is pressed
do
move in direction 180 at chosen speed
change attribute game.moveleft to true
On the right controller
Rule
touch is pressed
move in direction 0 at chosen speed
change attribute game.moveright to true
On the unicycle create 2 rules:
Rule
attribute if game.moveleft is true_
do
animate (with the animation of the unicycle moving left)
else
change image (to the still of the unicycle facing left
Rule
attribute if game.moveright is true
do
animate (with the animation of the unicycle moving right)
else
change image (to the still of the unicycle facing right
Not sure what went on with the boldness
hope it helped
thanks for the help. I will attempt what you have suggested and let you know if I get it.
thanks again.
@SmokeyAce73
Apparently, if you add a hypen (dashed line) below text, it bolds the text. Also, if you add an underscore on both sides of text, it italicizes it.
Haha thanks @tatiang I just realised