Page 2 of 2

Re: How YOU've learned OOP ? Best way to do so. ?

Posted: Mon Oct 17, 2011 10:52 pm
by Taehl
Also, keep in mind that you don't have to (if you'll pardon the expression) go balls-to-the-wall full-on OO if you don't want to. When I do use OO in my games, I've noticed that I tend to gravitate towards having the innermost loops and other critical stuff in procedural style, then drift towards OO as I go "up" from the "ground". Then again, this may be a bad habit on my part, since other languages aren't as wonderfully flexible as Lua...

Re: How YOU've learned OOP ? Best way to do so. ?

Posted: Mon Oct 17, 2011 11:44 pm
by Larsii30
I have to say, that I still trying out things and search for 'my' way to do things.
Atm, all these classes and inherit things are confusing for me. :D

I just want to program more systematic, so that I don't have to copy-paste whole functions or declare variables for any kind of game content.
And thats the point I say, I have to learn OOP.

Re: How YOU've learned OOP ? Best way to do so. ?

Posted: Tue Oct 18, 2011 4:12 pm
by T-Bone
I learned OO in school using Java. Taking a basic course in OO is a good idea, you get a good idea of how to structure a program decently. Still, it really comes with experience.

With lua and LÖVE, you don't need OO very much but it can save a lot of time and frustration. Make sure you at least learn the basics.

Re: How YOU've learned OOP ? Best way to do so. ?

Posted: Sat Nov 12, 2011 5:27 pm
by ZacharySciApps
Start learning java! Its very simple, Think of a Object-Orientated Language like this it has a behavior(Method) and a state(field), get started with graphical user interfaces thand 2d graphics and sound finally networking :)

Re: How YOU've learned OOP ? Best way to do so. ?

Posted: Mon Nov 14, 2011 9:24 pm
by minism
kraftman wrote:Also have a read of this.
After programming for a few years and coming to learn lua, this was actually one of the clearer overviews of OOP. I definitely recommend reading this chapter.