![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on is LUA hard to learn? within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; im so noobish at programing. is it super hard to learn LUA? is that the thing i should start with ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#2 |
![]() ![]() Developer
|
I have experience in HTML and PHP but never actually tried this type of Programming. Its relativatly easy to learn. Ive been doing it for about three weeks now and ive learnt a hella of lot. Take a look at these tuts. These are where I learnt from:
http://www.evilmana.com http://www.scriptscribbler.com/psp/lua/lesson01.htm http://www.scriptscribbler.com/psp/lua/lesson02.htm Hope this helps
|
|
|
|
|
|
#5 |
![]() |
need help! im going through the second tutorial and i have a problem. ive done exactly as it says:
System.usbDiskModeActivat e() pink = Color.new(255, 0 , 153) blue = Color.new(0 , 153, 255) orange = Color.new(255, 102, 0) gray = Color.new(153, 153, 153) black = Color.new(0 , 0 , 0) screen rint(194, 136, "Loading: 0%", pink)screen.flip() background = Image.load("images/background.jpg") screen:clear() screen rint(194, 136, "Loading: 20%", pink)screen.flip() circle = Image.load("images/buttons/circle_button.png") down = Image.load("images/buttons/down_arrow.png") screen:clear() screen rint(194, 136, "Loading: 40%", pink)screen.flip() l = Image.load("images/buttons/left_trigger.png") left = Image.load("images/buttons/left_arrow.png") screen:clear() screen rint(194, 136, "Loading: 60%", pink)screen.flip() r = Image.load("images/buttons/right_trigger.png") right = Image.load("images/buttons/right_arrow.png") boltsnd = Sound.load("music/comp.wav") screen:clear() screen rint(194, 136, "Loading: 80%", pink)screen.flip() square = Image.load("images/buttons/square_button.png") triangle = Image.load("images/buttons/triangle_button.png") screen:clear() screen rint(194, 136, "Loading: 91%", pink)screen.flip() up = Image.load("images/buttons/up_arrow.png") x = Image.load("images/buttons/cross_button.png") splash = Image.load("images/lua.gif") screen:clear() screen rint(194, 136, "Loading: 100%", pink)screen.flip() screen.waitVblankStart(60 ) screen:blit(0, 0, splash, false) screen.waitVblankStart() screen.flip() boltsnd lay()screen.waitVblankStart(24 0) Music.volume(128) screen.flip() ------------- the psp freezez at 90%! what am i doing wrong?
|
|
|
|
|
|
#8 |
|
11th Squad Captain
|
You wanna know how i started learning lua??
I used no tutorials... BUT there was a game called GORED awhile back, i thought that it may be a good idea to have a small look around, then boom (I got so caught up in lua i basically learnt it..) But all fun ended when i tried to create a game with no help etc... Just when Virtue said to me online AIM "Do you even know lua?" i started thinking.. then i got serious about it and boom, i learnt everything i needed again and more. The best thing was, I created a Lua OS before i actually properly knew lua... Thats my life story, and try drinking coffee while coding as it helps alot!
__________________
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! |
|
|
|
|
|
#10 | |
![]() |
Quote:
btw, im a coffee adaict so that should not be a problem. il try as hard as i can on this. i want to make my dark flower game more playble! i have 1.50 btw so i dont see the problem that happends! :P
|
|
|
|
|
|
|
#12 | |
![]() ![]() is not posting very often
|
I like your attitude - reminds me of me.
But its a bit ni-ive however thats spelt, you can't just go - oooo this looks quite easy lets make a game, it'll take time. Good luck though and even when ur situationseems hopeless keep trying, It took me 7 hours to get ONE thing to work in one of my apps
__________________
Quote:
|
|
|
|
|
|
|
#14 | |
![]() |
Quote:
__________________
[CENTER][IMG]http://img148.imageshack.us/img148/6985/siglw8.jpg[/IMG][/CENTER] |
|
|
|
|
|
|
#15 | |
![]() ![]() AKA Homer
|
Quote:
Anyway, I first started with some coding for lua yesterday. And that was to help Kozine. So I'm not that experienced, but I learn fast
|
|
|
|
|
|
|
#17 |
![]() ![]() Developer
|
Yea and homer was a great help
|
|
|
|
|
|
#18 |
![]() |
hmm i thought it was pretty similar to basic, or well that version you have on the TI-83. Thats how i learned coding, lol. I also know html and javascript. Also i learned to read a couple more, because i needed that to complete hack challenges. I think all languages are a bit alike. That is except for C and assembly ofcourse. Ofcourse there are different commands, but the way of coding is the same.
__________________
LUA manual: [url]http://www.lua.org/manual/5.0/manual.html[/url] LUA Wiki: [url]http://wiki.ps2dev.org/psp:lua_player[/url] |
|
|
|
|
|
#22 |
![]() |
I need help it tells me make a script.cmd file with notepad but when I do it it still is with the .txt extension what do i do?
__________________
I own a Playstation 3,PSP and a Wii add me on psn: azazin, [QUOTE=TheMasterChef]Who gives a rat's ass about the size anyway?? It is not like you carry it around every day.[/QUOTE] |
|
|
|
|
|
#24 |
![]() |
ok thanks
__________________
I own a Playstation 3,PSP and a Wii add me on psn: azazin, [QUOTE=TheMasterChef]Who gives a rat's ass about the size anyway?? It is not like you carry it around every day.[/QUOTE] |
|
|
|
![]() |
| Tags |
| hard , learn , lua |
| Thread Tools | |
|
|