problem 6B
This blog will show you how to make the balls go fast and accurate in the goals. i’ll only show you how to do the one that shoots up because if i do all of them it will take forever.
the first step is to create a room and a ball sprite. place the ball somewhere in the middle of the room and follow these steps.
- In the ball object properties add event: step
- In the step event:
Drag into actions: it an expression is true, then type in y is less than 0
In the control tab, drag in start of a block.
In the score tab drag in set score and set it relative to 1.
In the main 1 tab drag in destroy instance and press ok.
Then drag in create instance and type in the values of the position of your ball That you will find by moving the mouse to the ball in your room.
Then in the control tab again drag in end of a block.
You’re almost done. There are a couple of steps to go.
- Add event key press: up
- In the move tab drag in set direction and speed of motion.
- Type in 60+random(60) and type in your prefers speed.
- Add event: other/outside room.
- Drag start moving in direction and click the middle square.
- The drag in jump to start position.
- Click ok and your done.
You’re finally done. I’ll leave the others to you to figure out because it will take forever and I can’t be stuffed doing it in case they go missing when I publish it.
this was a problem that was easy enough to do. i followed the sheet that the teacher gave us and it was easy. i didn’t have help from anyone.
![]()
Bill Kerr said,
March 21, 2006 at 9:52 am
type it up in word first, I’ve talked about that in class
who helped? screen shot?