Search found 3 matches

by cracker
Wed Sep 14, 2005 7:19 am
Forum: PSP Lua Player Development
Topic: Breakout clone
Replies: 7
Views: 7261

The method you use is fine because I'm sure the PSP is more than capable to run your script fast. I was just replying to cgruber since a bunch of if-thens would make the code way more verbose than it needs to be, is slower, etc. A trig table is a better alternative if you want to avoid runtime float...
by cracker
Sat Sep 10, 2005 7:37 am
Forum: PSP Lua Player Development
Topic: Breakout clone
Replies: 7
Views: 7261

An array with floating values of pre-computed trigonometric functions that is either produced with an external program and included with the source or created dynamically at runtime. It lets you run programs with intense floating point calculations a lot faster since you don't have to do the floatin...
by cracker
Sat Sep 10, 2005 6:24 am
Forum: PSP Lua Player Development
Topic: Breakout clone
Replies: 7
Views: 7261

Why use if-thens? Use a trig table instead.