Search found 5 matches

by Iximon
Sat Oct 01, 2005 5:42 am
Forum: PSP Lua Player Development
Topic: float to interger?
Replies: 2
Views: 2346

hehe, thx for the help.
by Iximon
Sat Oct 01, 2005 2:32 am
Forum: PSP Lua Player Development
Topic: float to interger?
Replies: 2
Views: 2346

float to interger?

Hi

I need to convert an float number to an interger
example:
iNumber = 10
fNumber = 2.35

iNumber2 = iNumber/fNumber --the result of this has to be an interger
-- but the value i get when i divide 10 with 2.35 is 4.25531....
-- i just want to have the value 4, and not 4.25531....

please help
by Iximon
Wed Sep 21, 2005 10:51 pm
Forum: PSP Lua Player Development
Topic: help. problem with gravity and block.
Replies: 5
Views: 3794

help. problem with gravity and block.

i have made a array, and then i print the "grass" object, in the x and y and all working but, my gravity and block dosent work, i had to write a new when the array come. it's the last part of the code. help me please. background = Image.load("myimages/background.png"&...
by Iximon
Wed Sep 14, 2005 5:23 pm
Forum: PSP Lua Player Development
Topic: help a noob
Replies: 5
Views: 4540

i have made some progres, but i have a problem. my images dont turn invisible. the color i dont want in my game, show up. i have lookt at other games images and i have taken the same color. 255, 0, 255 but it wont disepere. i also wondering hor to make a array. is there any tutorials for the array m...
by Iximon
Thu Sep 08, 2005 6:33 am
Forum: PSP Lua Player Development
Topic: help a noob
Replies: 5
Views: 4540

help a noob

i have just started to play whit lua and have done the hello world. but i cant use it on my psp because i have 1.52 :( so i use the win emu. i have also made the animation tutorial, but i have a problem whit my own program i have started with. ist very simpel. but i cant compile it. here is the code...