Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

What is the difference between an object and a class?

share|improve this question
Sounds like you're beginning object oriented programming in general. Objects are instances of a class. I suggest you look into some basic programming resources before going too much further. Start very simple and work your way up. – Byte56 Mar 12 at 1:22
Do you have any recommendations resource wise? – AspiringGenius Mar 12 at 1:23
A class is just a blueprint for creating objects. – Luis Estrada Mar 12 at 1:24

closed as off topic by Trevor Powell, Byte56, Tetrad Mar 12 at 1:34

Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

up vote 0 down vote accepted

A class is a blueprint or prototype from which objects are created. There's some documentation you should read:

Who Should Read This Document

For those who have never used object-oriented programming to create applications, this document is designed to help you become familiar with object-oriented development. It spells out some of the implications of object-oriented design and gives you a flavor of what writing an object-oriented program is really like.

I know you want to get right in there and make games already, but you really should start with something more basic first.

Start with tutorials on programming in general. Then move on to game related tutorials.

You can learn object oriented programming in any OO language. So don't be afraid to try out some Java or C++. Video lectures are helpful too.

share|improve this answer
I really understand that, I am following a course online (mobile.tutsplus.com/tutorials/iphone/learn-objective-c-day-3) and it recommended to understand the basic difference as well as some other things. Thanks – AspiringGenius Mar 12 at 1:27
thank you for all your help, great community here – AspiringGenius Mar 12 at 1:32
Yes, i agree with the video aspect, it really helps to hear someones voice, rather than reading a page. – AspiringGenius Mar 12 at 1:32
@AspiringGenius Do remember to keep the game development questions here and the basic programming questions on stackoverflow.com. Since this question is mostly off topic for this site as it's not game development related. (which is why you're getting down votes and it's being voted on to close) – Byte56 Mar 12 at 1:35
alright my bad! – AspiringGenius Mar 12 at 1:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.