Search found 13 matches

by haxx_blaster
Wed Feb 22, 2006 9:45 pm
Forum: PSP Lua Player Development
Topic: The mouse allways ontop?
Replies: 6
Views: 3098

I dont really recognize that kind of code.
But, you know in the beginning of the code you can have "do while true" and blit pictures there, it all transparent.
Can't i redo that later down the code? Why is it so special?
by haxx_blaster
Wed Feb 22, 2006 6:05 am
Forum: PSP Lua Player Development
Topic: The mouse allways ontop?
Replies: 6
Views: 3098

Is that the only way to do it?
It will be fucking hard to make it like that because i have to remake everything.

Edit: I tryed it, and it makes everything go slower then a turtle. ;P
by haxx_blaster
Wed Feb 22, 2006 3:15 am
Forum: PSP Lua Player Development
Topic: The mouse allways ontop?
Replies: 6
Views: 3098

If i do "screen:clear()" a huge black hole appears, can't i get it transparent in some way?
by haxx_blaster
Tue Feb 21, 2006 8:18 pm
Forum: PSP Lua Player Development
Topic: The mouse allways ontop?
Replies: 6
Views: 3098

The mouse allways ontop?

How do i do that if i want to blit: lets say a window which is a picture. The window will be over the mouse because its further down the code, but if i set the mouse blit after that it blits forever, you know when it blits over and over again, and when i move the mouse there is blits all over the pl...
by haxx_blaster
Wed Feb 08, 2006 4:23 am
Forum: PSP Lua Player Development
Topic: Using 2 .Lua's together
Replies: 5
Views: 2809

I got it to work with another lua file, i will do it throught 3 lua files then.
by haxx_blaster
Wed Feb 08, 2006 12:16 am
Forum: PSP Lua Player Development
Topic: Using 2 .Lua's together
Replies: 5
Views: 2809

How hard would that be to find out ?? You might need a startup program that is never revisited to set initial values of variables, load pics, etc so they don't happen again, but after that I don't see why you can't jump from one file to another. The only problem I have found is that the file is loa...
by haxx_blaster
Tue Feb 07, 2006 6:17 pm
Forum: PSP Lua Player Development
Topic: Using 2 .Lua's together
Replies: 5
Views: 2809

Using 2 .Lua's together

If i do a (dofile "game.lua") can i from that Game.Lua get etc "Base" from the lua i came from?
Between index.lua and game.lua

I really need help with this, either i am stuck. :P
by haxx_blaster
Thu Feb 02, 2006 4:24 am
Forum: PSP Lua Player Development
Topic: I get stuck on a "Jump Function".
Replies: 6
Views: 3146

I got it to work in my code, but the picture is at yP = 0 from the beginning, so thats strange..

Could you tell me how stuff like "yP=2*height-ytime" works?
by haxx_blaster
Wed Feb 01, 2006 3:48 pm
Forum: PSP Lua Player Development
Topic: I get stuck on a "Jump Function".
Replies: 6
Views: 3146

It did not work.
What happened on the screen was kind of like this.

Code: Select all

if pad:cross() then
yP == 0
end
Thanks anyway.
by haxx_blaster
Wed Feb 01, 2006 6:39 am
Forum: PSP Lua Player Development
Topic: I get stuck on a "Jump Function".
Replies: 6
Views: 3146

I just wrote what i remember of my code, i haden't my PSP plugged in at the time.
I did not get any errors, but i will try your method, thanks. :)
by haxx_blaster
Mon Jan 30, 2006 6:43 pm
Forum: PSP Lua Player Development
Topic: I get stuck on a "Jump Function".
Replies: 6
Views: 3146

I get stuck on a "Jump Function".

I get stuck on a "Jump Function", i have been trying to get it to work all day, i get freaking nuts.. I simply want my character to jump up and down on a button release. Please help me out guys, so i can continue with my game. And if it turn out good i may be release it in public. My code ...
by haxx_blaster
Fri Jan 20, 2006 9:21 pm
Forum: PSP Lua Player Development
Topic: Where does this go wrong?
Replies: 2
Views: 1482

Thank you very much. :)
by haxx_blaster
Fri Jan 20, 2006 4:26 pm
Forum: PSP Lua Player Development
Topic: Where does this go wrong?
Replies: 2
Views: 1482

Where does this go wrong?

I want to regulate my speed settings so it can't go past 20 or 1, but it ends up that i can't change the speed during the game.
Please help me out.

Code: Select all

         if speed >= 0 then
         speed = 1
         end

         if speed >= 21 then
         speed = 20
         end