Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void onFunction1(jjPLAYER@ p) {
- if (p.direction > 0) {
- p.ySpeed = -10;
- jjAlert("going up!");
- }
- else {
- p.ySpeed = 10;
- jjAlert("going down!");
- }
- p.ballTime = 70;
- p.xSpeed = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement