![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Lua Player Game/App Help within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi i wanna make a lua program (Unsure about game) And i successfully made my first SUPER HELLO WORLD Here's ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
11th Squad Captain
|
Hi i wanna make a lua program (Unsure about game)
And i successfully made my first SUPER HELLO WORLD Here's the code to the super hello world. PHP Code:
What it doe's is make's a Window's XP Feeling to your PSP But i cannot get it to run so here's the code if anyone can help. PHP Code:
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING! ![]() 開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋 Currently Working On: - Flashmod V2.50 - Flashmod V2.60 Currently Drinking: Coffee! - 私はコーヒーを飲む Chao Garden: DEMO v0.6 Chao Garden V0.5b Review! |
|
|
|
|
|
#4 |
![]() |
Well one thing that is wrong is that you're attempting to call functions that don't exist in your script.
Code:
if targetControl() == "menu" then
mainmenu()
end
if didShotHit() == "hit" then
|
|
|
|
|
|
#5 | |
|
11th Squad Captain
|
Quote:
But nothing else. I Cant find i site thst has all the wright meaning's. Is all i wanna create is a moving mouse. and the app wont startup. If anyone could modify my code i would be truley gratefull.
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING! ![]() 開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋 Currently Working On: - Flashmod V2.50 - Flashmod V2.60 Currently Drinking: Coffee! - 私はコーヒーを飲む Chao Garden: DEMO v0.6 Chao Garden V0.5b Review! |
|
|
|
|
|
|
#6 |
![]() ![]() OMFG
|
try something similar to this
you can edit the sensitivity by fooling with the "/ 64" partCode:
System.usbDiskModeActivate()
red = Color.new(255, 0, 0)
blue = Color.new(0, 0, 255)
black = Color.new(0, 0, 0)
white = Color.new(255, 255, 255)
green = Color.new(0, 255, 0)
cursor = Image.load("images/cursor.png")
background = Image.load("images/background2.png")
start = Image.load("images/start.png")
bar = Image.load("images/bar.png")
taskmanager = Image.load("images/taskmanager.png")
x0 = 0
y0 = 0
x1 = 0
y1 = 0
while true do
screen:clear()
screen:blit(0, 0, background, 0, 0, background:width(), background:height(), false)
screen:blit(0, 242, start)
screen:blit(100, 242, bar)
screen:blit(370, 242, taskmanager)
screen:print(200, 50, "By Slasher", white)
pad = Controls.read()
dx = pad:analogX()
if math.abs(dx) > 32 then
x0 = x0 + dx / 64
end
dy = pad:analogY()
if math.abs(dy) > 32 then
y0 = y0 + dy / 64
end
x1 = x0
y1 = y0
if pad:start() then
break
end
if x0 < 0 then
x0 = 0
end
if x0 > 470 then
x0 = 470
end
if y0 < 0 then
y0 = 0
end
if y0 > 258 then
y0 = 258
end
screen:blit(x0, y0, cursor)
screen.waitVblankStart()
screen.flip()
end
|
|
|
|
|
|
#7 |
![]() ![]() OMFG
|
^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^
http://www.megaupload.com/?d=9VN8MM55 (that windows thing in a convenient package) |
|
|
|
|
|
#8 |
|
11th Squad Captain
|
Thank's Slasher!!!
That has really made this program usefull ALOT So the only thing is now.. How can i get the mouse to click something and load a function?? Sorry but i need some serious lua coding help.
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING! ![]() 開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋 Currently Working On: - Flashmod V2.50 - Flashmod V2.60 Currently Drinking: Coffee! - 私はコーヒーを飲む Chao Garden: DEMO v0.6 Chao Garden V0.5b Review! |
|
|
|
|
|
#9 |
![]() ![]() OMFG
|
Yea...I was trying to figure that out but I can't seem to get it working I've got as far as clicking something then it pops out but once I stop holding down X it goes away
i'm trying to get it to work if I do i'll let you know
|
|
|
|
|
|
#10 | |
|
11th Squad Captain
|
Quote:
But the drag button doesnt work. I need a designer (If anyone want's to help Please PM me) I Might be hosting it tomorrow. P.S Do i become a Premuin member if i make a new O.S in lua??? Just bored so i thought i may aswell ask.
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING! ![]() 開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋 Currently Working On: - Flashmod V2.50 - Flashmod V2.60 Currently Drinking: Coffee! - 私はコーヒーを飲む Chao Garden: DEMO v0.6 Chao Garden V0.5b Review! |
|
|
|
|
|
|
#12 | |
|
11th Squad Captain
|
Quote:
Do you have GTalk??? If so PM me you address and i will send you the beta. Your a good and promising member so i think that i can trust you. P.S It aint NOWHERE near finished yet so it might be abit crud lol. But i wanted to create something that someone hasnt tried on lua.
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING! ![]() 開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋 Currently Working On: - Flashmod V2.50 - Flashmod V2.60 Currently Drinking: Coffee! - 私はコーヒーを飲む Chao Garden: DEMO v0.6 Chao Garden V0.5b Review! |
|
|
|
|
|
|
#13 |
|
11th Squad Captain
|
Here's the file
http://rapidshare.de/files/5413169/P..._V0.1.zip.html It's a contribute to fluff's Psix. And it's my first lua app YAY!!! lol :clap: I Hope you all like becuase i aint coding this baby anymore. It was just to get me started lol. But hey dont worry becuase i am making some game's instead.
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING! ![]() 開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋 Currently Working On: - Flashmod V2.50 - Flashmod V2.60 Currently Drinking: Coffee! - 私はコーヒーを飲む Chao Garden: DEMO v0.6 Chao Garden V0.5b Review! |
|
|
|
|
|
#14 | ||
![]() I think I ripped my pants
Join Date: Jul 2005
Real First Name: Matt
Location: Toronto
Just Played: Trials HD
Posts: 6,485
Trader Feedback: 0
|
Quote:
![]() Oh and check the tutorials on luaplayer.org
__________________
![]() |
||
|
|
|
|
|
#16 | |
|
11th Squad Captain
|
Quote:
I hace stopped working on it. I Am now going onto bigger stuff like game's. But i will code a new PSP XMB Soon enough :angel:
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING! ![]() 開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋 Currently Working On: - Flashmod V2.50 - Flashmod V2.60 Currently Drinking: Coffee! - 私はコーヒーを飲む Chao Garden: DEMO v0.6 Chao Garden V0.5b Review! |
|
|
|
|
![]() |
| Tags |
| game or app , lua , player |
| Thread Tools | |
|
|