Search found 2 matches

by danglethorne
Mon Sep 12, 2005 2:53 pm
Forum: PSP Lua Player Development
Topic: Breakout clone
Replies: 7
Views: 7190

Not sure how you could calculate the balls position without using trigonometry, I would be interested to see your if/then alternative. The code is a lot bigger than it could be cause it was a very rushed job. Also I'm not sure why u would use a trig table when lua already provides math.sin and math....
by danglethorne
Wed Sep 07, 2005 2:36 am
Forum: PSP Lua Player Development
Topic: Breakout clone
Replies: 7
Views: 7190

Breakout clone

Here is some code i quickly whipped up for breakout. All it has is a ball and paddle so far - no bricks to destroy. Ball angle currently doesn't change according to where it hits on the paddle, so you can't control where the ball goes. Press square to launch the ball, and control the paddle with ana...