![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on C or LUA within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; ok well i tried to start learning C but i was learning the wrong thing first and its a lot ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
ok well i tried to start learning C but i was learning the wrong thing first and its a lot harder than i expected, now somewhere i heard LUA is easier than C so should i stick with C or go to LUA
__________________
CuRrEnT fIrMwArE [SIZE="3"][FONT="Times New Roman"][COLOR="Red"][B][I][U]3.90 M33-2 SLIM TA-085V2 with TimeMachine 0.1[/U][/I][/B][/COLOR][/FONT][/SIZE] [WIP] Trogdor! (ON HOLD converting to LUA, but almost caught up) |
|
|
|
|
|
#4 | |
![]() Enter Custom Title
|
Quote:
Aleph One Company of Heroes Crysis Garry's Mod Grim Fandango PlayStation Home Ragnarok Online Star Wars: Empire at War and Universe at War: Earth Assault The Guild 2 World of Warcraft |
|
|
|
|
|
|
#6 |
![]() |
o sorry i forgot to mention i am planning on making games, simple ones
and if you decide why i should choose that give me reasons please
__________________
CuRrEnT fIrMwArE [SIZE="3"][FONT="Times New Roman"][COLOR="Red"][B][I][U]3.90 M33-2 SLIM TA-085V2 with TimeMachine 0.1[/U][/I][/B][/COLOR][/FONT][/SIZE] [WIP] Trogdor! (ON HOLD converting to LUA, but almost caught up) |
|
|
|
|
|
#7 |
![]() ![]() Developer
|
lol, both are used for making games and applications, it's whatever the programmer wants to make, i'd say stick with c, but just slow down, learn some more of the basics(http://forums.qj.net/showpost.php?p=...5&postcount=32), you'll be fine
__________________
1. Failed....again... 2. http://slicer.gibbocool.com/ stay updated on all my projects |
|
|
|
|
|
#8 | |
![]() Join Date: Jan 2007
Real First Name: mohaas05
Location: Land of honey
Just Played: San Andreas
Posts: 4,255
Trader Feedback: 0
|
Quote:
__________________
www.mohaas05.co.cc |
|
|
|
|
|
|
#9 |
![]() Enter Custom Title
|
|
|
|
|
|
|
#10 |
![]() |
"Lua is only used for certain scripts like missions, etc. Its not used in the actual game programming."
Tell that to the people who made Psychonauts. Lua is responsible for doing 2/3 of what happens in that game, C++ is used for the graphics and the very lowlevel engine. |
|
|
|
|
|
#11 |
![]() |
it depends on how much effort you are going to put into acctually coding. if you just want to do this for like 6 months, and then your going to quit or get bored with it, then do LUA if you think you might do this for alittle longer, then mabey like C. Although I do suggest Python, more powerful than lua, but it's still a scripting language and is pretty easy to learn.
|
|
|
|
|
|
#12 |
![]() |
i will be doing this for much longer than 6 months haha i am taking computer programming, web design, and classes like that this upcoming year in school so hopefully as school goes on this stuff will become much easier but im gonna stick with C i suppose
__________________
CuRrEnT fIrMwArE [SIZE="3"][FONT="Times New Roman"][COLOR="Red"][B][I][U]3.90 M33-2 SLIM TA-085V2 with TimeMachine 0.1[/U][/I][/B][/COLOR][/FONT][/SIZE] [WIP] Trogdor! (ON HOLD converting to LUA, but almost caught up) |
|
|
|
|
|
#13 | |
![]() ![]() Developer
|
Do yourself a favor and learn both
__________________
![]() Check out my homebrew & C tutorials at http://insomniac.0x89.org/ Coder formerly known as Insomniac197 Quote:
|
|
|
|
|
|
|
#14 |
![]() Join Date: Jan 2007
Real First Name: mohaas05
Location: Land of honey
Just Played: San Andreas
Posts: 4,255
Trader Feedback: 0
|
Lua is good for some things, like more simple applications. But it is not nearly as flexible as C for more specific tasks.
__________________
www.mohaas05.co.cc |
|
|
|
|
|
#15 |
![]() ![]() Developer
|
For a new programmer and out of the two languages you listed, Lua. However, it doesn't change the fact you STILL need to learn the basics thoroughly before jumping into any non-trivial development.
Personally, I would forget about PSP development for moment and work purely on the PC with Python which is a great language and is simple enough for beginners to great to grips with.
__________________
[Blog] [Portfolio] [Homebrew Illuminati - Serious Homebrew Development Forums] [I want to make Homebrew FAQ] [How I broke into the Games Industry] [Programming Book List] [Programming Article List] |
|
|
|
|
|
#16 |
![]() Join Date: Jan 2007
Real First Name: mohaas05
Location: Land of honey
Just Played: San Andreas
Posts: 4,255
Trader Feedback: 0
|
Or if you want to do C, you can start with Java. It has a very similar structure to C. This program is great at teaching it:
http://home.cc.gatech.edu/dorn/jeroo
__________________
www.mohaas05.co.cc |
|
|
|
|
|
#17 |
|
If you are having trouble learning C then you need a better book (or better tutorials). Don't use PSP tutorials to learn C because quite frankly, most are rubbish. You won't learn C from them, they only teach you the 'how', not the 'why'. So people end up copypasting code thinking they 'know' how to do something but don't understand the logic behind it.
Sure you learn some code that draws some graphics and plays some sounds but you won't understand why a piece of code was written the way it was or how it really works. They also focus too heavily on how to use particular libraries & api's. You won't learn C programming this way. Just stick with C, grab some good books and go through it step-by-step. Don't skip stuff and go straight to "i wanna create a game". Make sure you fully & completely understand one step before moving on to the next step. Learning C shouldn't be hard, it is only hard when you are learning from crappy material. |
|
|
|
|
|
|
#19 |
![]() Raining
My Mood:
Join Date: Jun 2005
Real First Name: Daniel
Location: In The Fog...
Just Played: Persona 4
Posts: 545
Trader Feedback: 0
|
Well, speaking as a beginner myself I started learning Lua first. I am also undertaking Python alongside of Lua and am going to take a course on C++ programming in school. For me this is pretty easy because I can learn some basic programming for the PSP which has helped me with learning Python. And Python is, in my opinion, a little bit more in line with some of the more powerful programming languages so it(from what I have seen of C++ from Herbert Shildt's "C++ From the Ground Up") helps me figure out C++ a little bit.
I am just a beginner but I just wanted to show you the way I see things and am learning currently.
__________________
Last edited by wicked_fable; 08-03-2008 at 12:58 AM.. |
|
|
|
|
|
#22 |
![]() ![]() I'm Baaaack!
|
C.
-=Double Post Merge =- Wrong. Since Lua is based on C, Lua can do everything C can do.
__________________
Last edited by Access_Denied; 08-03-2008 at 11:55 AM.. Reason: Automerged Doublepost |
|
|
|
|
|
#24 |
![]() |
im gonna stick with c since ive been already learning about it, i will keep reading tutorials on C/++ and will add onto my game every once in a while, i am gonna take classes on computer programming (a general class on languages which will help me in all the languages) and might release a first version of my game (no guarantee when it will be released or how good it will be)
__________________
CuRrEnT fIrMwArE [SIZE="3"][FONT="Times New Roman"][COLOR="Red"][B][I][U]3.90 M33-2 SLIM TA-085V2 with TimeMachine 0.1[/U][/I][/B][/COLOR][/FONT][/SIZE] [WIP] Trogdor! (ON HOLD converting to LUA, but almost caught up) |
|
|
|
|
|
#25 | |
![]() ![]() I'm Baaaack!
|
Quote:
Also, right choice with C, as it's much more versatile, since it's been ported to many different systems.
__________________
|
|
|
|
|
|
|
#27 |
![]() ![]() Developer
|
C is not the same as C++. Learn one, not both.
__________________
[Blog] [Portfolio] [Homebrew Illuminati - Serious Homebrew Development Forums] [I want to make Homebrew FAQ] [How I broke into the Games Industry] [Programming Book List] [Programming Article List] |
|
|
|
|
|
#28 |
![]() No longer a community member.
|
Yaustar, *Learn one then both.*
![]() Much better plan. But yeah i believe C is more essential. And most definately learn on the computer, makes the learning process 100% easier. Also there is tons of documentation for what ever you plan to do on the pc but for the psp, there is less documentation and less support, remember the psp sdk is not official but rather a collection of stubbed Official functions, IE we found where they reside in memory and call them. |
|
|
|
|
|
#29 |
![]() |
personallyi think that everybody who has posted here has good reason for what they have said but ye c might be more versatile etc and lua may be low level but its down to you have how quickly you grasp information, if you do grasp thing quickly then id say start with c but then again when i started i did not have a clue where to start so i decided to go with lua and i actually picked it up quite fast made few little progs then decided to go for c and because i did that im picking c up faster than i expected lol
If you have started coding with C which i think you have then stick with C and dont rush it, take it all in and think logical its not the language thats good its the coder, the language does not make the game the coder does, the language is an essential part but itdoes not matter you can still do alot of things in lua which you can do in C it just takes time. lol now ive finished my rant of crap ill leave you to rack your brain lol Luke |
|
|
|
|
|
#30 | |
![]() |
Quote:
Lua is a higher level language than C, not lower level.
__________________
[I][U]QJ took away my sig. :([/U][/I] |
|
|
|
|
![]() |
| Tags |
| lua |
| Thread Tools | |
|
|