Forum    News    Downloads    Saved Games


[Tutorial] Quick breakdown of Lua coding [COMPLETE}

<<

roxfox64

User avatar

Brew Guru
Brew Guru

Posts: 2287

Joined: June 12 2007

Location: Smyrna, GA Current Status: Its true... I am a fur.

Thanks given: 0

Thanks received: 2 times

Post Mon Jun 23, 2008 10:43 pm

WAIT
I just looked up and realized ANOTHER mistake I made :P
5.00M33-6
Image
Image Veemon
Image
Image
<<

Yumiko

User avatar

Mega Brewer
Mega Brewer

Posts: 892

Joined: May 25 2008

Location: California, US Firmware: 3.90M33-3

Thanks given: 2 times

Thanks received: 2 times

Post Mon Jun 23, 2008 10:45 pm

........Wow.
Haha, how many mistakes so far?
=P
由美子
<<

roxfox64

User avatar

Brew Guru
Brew Guru

Posts: 2287

Joined: June 12 2007

Location: Smyrna, GA Current Status: Its true... I am a fur.

Thanks given: 0

Thanks received: 2 times

Post Mon Jun 23, 2008 10:47 pm

A lot... This is how you can tell I'm sleepy, I'm making mistakes everywhere :P

Its 100% fixed now.

Copy and paste whats there now.
5.00M33-6
Image
Image Veemon
Image
Image
<<

Yumiko

User avatar

Mega Brewer
Mega Brewer

Posts: 892

Joined: May 25 2008

Location: California, US Firmware: 3.90M33-3

Thanks given: 2 times

Thanks received: 2 times

Post Mon Jun 23, 2008 10:49 pm

Noppe.....still nothing T-T
由美子
<<

roxfox64

User avatar

Brew Guru
Brew Guru

Posts: 2287

Joined: June 12 2007

Location: Smyrna, GA Current Status: Its true... I am a fur.

Thanks given: 0

Thanks received: 2 times

Post Mon Jun 23, 2008 10:53 pm

You got something saying 'color' was a nil value correct?

Capitolize the 'C' in color...
5.00M33-6
Image
Image Veemon
Image
Image
<<

AdventWolf

User avatar

Brew Guru
Brew Guru

Posts: 5958

Joined: September 19 2007

Location: Pandora

Thanks given: 5 times

Thanks received: 10 times

Post Tue Jun 24, 2008 5:59 am

I haven't tried Lua Coding, but you can make some cool simple games with it. C++ is a little advanced for just making homebrew games, I think C is a little simpler so you can try that :).
I'm trying to learn C++ atm, but I have been on/off for the past few weeks.
Image
Image
<<

roxfox64

User avatar

Brew Guru
Brew Guru

Posts: 2287

Joined: June 12 2007

Location: Smyrna, GA Current Status: Its true... I am a fur.

Thanks given: 0

Thanks received: 2 times

Post Tue Jun 24, 2008 6:04 am

I'm taking courses here in two weeks :D
5.00M33-6
Image
Image Veemon
Image
Image
<<

Yumiko

User avatar

Mega Brewer
Mega Brewer

Posts: 892

Joined: May 25 2008

Location: California, US Firmware: 3.90M33-3

Thanks given: 2 times

Thanks received: 2 times

Post Tue Jun 24, 2008 8:22 am

Wow, Lua seems pretty complicated. Haha.

I'll try and see if I could understand it, but so far it's not working.
由美子
<<

AdventWolf

User avatar

Brew Guru
Brew Guru

Posts: 5958

Joined: September 19 2007

Location: Pandora

Thanks given: 5 times

Thanks received: 10 times

Post Tue Jun 24, 2008 9:01 am

When you first get it working, its the best feeling lol. I'd suggest looking for actual Lua programs that have the source code and look at the code to see how it works, that helps me a lot. Then just tweak the code little by little and see what it does. Then you can make a similar program to the one you looked at, but with minor differences.
Image
Image
<<

roxfox64

User avatar

Brew Guru
Brew Guru

Posts: 2287

Joined: June 12 2007

Location: Smyrna, GA Current Status: Its true... I am a fur.

Thanks given: 0

Thanks received: 2 times

Post Tue Jun 24, 2008 9:02 am

Like how I fixed YPaint's keyboard. :D
5.00M33-6
Image
Image Veemon
Image
Image
<<

Yumiko

User avatar

Mega Brewer
Mega Brewer

Posts: 892

Joined: May 25 2008

Location: California, US Firmware: 3.90M33-3

Thanks given: 2 times

Thanks received: 2 times

Post Tue Jun 24, 2008 11:06 am

Yaaaaayy!
it worked =D

EDIT: And here it is! My first ever lua code!
Image
由美子
<<

roxfox64

User avatar

Brew Guru
Brew Guru

Posts: 2287

Joined: June 12 2007

Location: Smyrna, GA Current Status: Its true... I am a fur.

Thanks given: 0

Thanks received: 2 times

Post Wed Jul 30, 2008 9:11 pm

MISSION CLEARED

Tutorial Finished!
5.00M33-6
Image
Image Veemon
Image
Image
Previous

Return to PSP Tutorials

Who is online

Users browsing this forum: No registered users and 11 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for blacklist.org.