Advertising (This ad goes away for registered users. You can Login or Register)

Search found 186 matches

by dragonxtamer596
Mon Nov 19, 2012 4:56 am
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

qwikrazor87 wrote:Yes there is, Windows Lua Player is based on Lua Player 0.20, very outdated but it should get the job done for simple apps and games. Make sure you get the non 1.50 version. I'll look for the link.
Thanks.
by dragonxtamer596
Mon Nov 19, 2012 4:50 am
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

I meant one that was like windows lua player but for psp.
by dragonxtamer596
Mon Nov 19, 2012 4:00 am
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

It would be better to use LuaDEV or PGE Lua, those are better with graphics. It's up to you which one you want to use since they both have different functions, I really suggest LuaDEV though for the graphics. They are both faster than all the other Lua players I've tried. I had problems with luaDEV...
by dragonxtamer596
Mon Nov 19, 2012 3:27 am
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

It would be better to use LuaDEV or PGE Lua, those are better with graphics. It's up to you which one you want to use since they both have different functions, I really suggest LuaDEV though for the graphics. They are both faster than all the other Lua players I've tried. I had problems with luaDEV...
by dragonxtamer596
Mon Nov 19, 2012 3:05 am
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

I usually have an image in the background for those older lua players to fix the screen clearing problem. Example --code here background = Image.createEmpty(480, 272) background:clear(black) while true do oldpad = pad pad = Controls.read() screen:blit(0, 0, background) screen:print(10, 10, "Text", ...
by dragonxtamer596
Mon Nov 19, 2012 2:43 am
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

What error are you getting now? Not an error when I click an option in the menu the menu is still visible same with the numbers I click start again and instead of clearing the previous number it just prints the new one on top, it doesn't happen in luawindowsplayer. -- My Second Lua Program -- Autho...
by dragonxtamer596
Mon Nov 19, 2012 2:27 am
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

This is angering me it worked fine for my windows luaplayer.
by dragonxtamer596
Mon Nov 19, 2012 12:01 am
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

You're gonna have to update the screen:print inside the loop based on your conditions. In your code the screen;print is only called once and then the screen is cleared in the loop after that. You need to place it in the loop and have screen:print with text based on which part of the menu you're on ...
by dragonxtamer596
Sun Nov 18, 2012 6:29 pm
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

Now for the credits When I put this the menu is cleared and nothing appears. red = Color.new(255, 0, 0) function checkcontrols() if pad:start() and not oldpad:start()then dofile("Script.lua") end end screen:print(x, y, "", red) while true do oldpad = pad pad = Controls.read() checkcontrols() screen:...
by dragonxtamer596
Sun Nov 18, 2012 5:45 pm
Forum: Programming and Security
Topic: [LUA] Need help with code plz
Replies: 233
Views: 27187

Re: [LUA] Need help with code plz

you didn't make the function checkcontrols() you need to make it before you call it and I don't see it in your code. Example: function checkcontrols() --code here end while true do checkcontrols() --code here end Also for choice you should change it to choice = math.ceil(math.random(0, 3)) because ...

Go to advanced search