Search found 4 matches

by jgordon
Mon Jan 27, 2014 4:18 pm
Forum: Talking LiveCode
Topic: Random Numbers
Replies: 2
Views: 2814

Random Numbers

We are programming a game, and we have gotten to the point to where we need a ball to start moving at a random angle. How can we create a variable that will set itself to a minimum and maximum value and chose randomly in between?
by jgordon
Mon Jan 13, 2014 9:34 pm
Forum: Talking LiveCode
Topic: Pong
Replies: 6
Views: 5492

Pong

We are creating a two player pong game. We have gotten both paddles to move up and down, and now we are beginning to program the ball. What type of code should be used to make a shape move at different angles and bounce off paddles?
by jgordon
Mon Jan 13, 2014 7:45 pm
Forum: Talking LiveCode
Topic: Controlling with w and s
Replies: 2
Views: 2261

Re: Controlling with w and s

Thank you!
by jgordon
Mon Jan 13, 2014 4:22 pm
Forum: Talking LiveCode
Topic: Controlling with w and s
Replies: 2
Views: 2261

Controlling with w and s

My partner and I are trying to create a two player pong game. We were able to get the right paddle to move and reset according to the size of the card. It moves with the up and down arrow keys. We were wondering how to make the left paddle move with w and s.