Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 15, 2011, 01:55 AM   #1
chrono1081
macrumors 604
 
chrono1081's Avatar
 
Join Date: Jan 2008
Location: Isla Nublar
Anyone able to point me to some descent examples of basic game engines?

Hi guys,

As you may know from other threads I am in a class where we have to write a game engine as an entire class (we are split into teams). This has failure written all over it since only three of us know what we are doing since no one else seems to study outside of class (and the three of us who are familiar with engines are obviously not experts). I have only made a basic one in SDL.

Anyway I am wondering if anyone has any articles or really basic flowcharts of a really basic game engine built on a singleton design pattern that I can pass around my group for them to read while I work on coding. I was looking for some but didn't come up with much.

Right now I am the only coder since the others in the group are completely lost. They are confused by our book (even though the book is great) and its putting quite the strain on me. If anyone had a "game engine for super beginners" type article or even flow chart that would be super great
__________________
Mac Pro (2010): 3.33Ghz Intel Xeon (6 core) - 24 GB RAM - NVidia Quadro k5000
Macbook Air (2010): 2.13 Ghz Intel Core 2 Duo - 4GB RAM
chrono1081 is offline   0 Reply With Quote
Old May 15, 2011, 06:46 AM   #2
MrFusion
macrumors 6502a
 
Join Date: Jun 2005
Location: West-Europe
Quote:
Originally Posted by chrono1081 View Post
Hi guys,

As you may know from other threads I am in a class where we have to write a game engine as an entire class (we are split into teams). This has failure written all over it since only three of us know what we are doing since no one else seems to study outside of class (and the three of us who are familiar with engines are obviously not experts). I have only made a basic one in SDL.

Anyway I am wondering if anyone has any articles or really basic flowcharts of a really basic game engine built on a singleton design pattern that I can pass around my group for them to read while I work on coding. I was looking for some but didn't come up with much.

Right now I am the only coder since the others in the group are completely lost. They are confused by our book (even though the book is great) and its putting quite the strain on me. If anyone had a "game engine for super
beginners" type article or even flow chart that would be super great
Some links I collected for later projects. Don't know if they will help you.
http://codehowtos.blogspot.com/2011/...ding-maze.html
http://weblog.jamisbuck.org/2011/1/3...al-s-algorithm
http://www.wildbunny.co.uk/blog/2011...s-for-dummies/
http://www.helixsoft.nl/articles/circle/sincos.htm
http://www.puremango.co.uk/2010/12/g...r-hello-world/

If you find the know-all link of game engines, let me know as well. Thanks.

What kind of game engine are you making? Physics, genetics, math, etc.
__________________
24" iMac, 13" MacBook, iPod Touch. iPod mini and PowerPC Mac Mini gathering dust somewhere.
MrFusion is offline   0 Reply With Quote
Old May 15, 2011, 05:27 PM   #3
chrono1081
Thread Starter
macrumors 604
 
chrono1081's Avatar
 
Join Date: Jan 2008
Location: Isla Nublar
Thanks for the links

I actually ended up just giving up and writing it all myself. It works high level but I haven't implemented any low level details so I'm sure I will run into something. What sad is our section is only 5 classes and my fellow team mates are confused

Oh well more programming practice for me since I graduate in October

The engine is just a basic one for games, nothing fancy. We have a main core (my teams section) a physics core, AI core, scripting core (not a good idea IMO since now we have no sound core), UI core, and graphics core.

I wanted on the graphics team but got stuck on main We have 8 weeks to build it.
__________________
Mac Pro (2010): 3.33Ghz Intel Xeon (6 core) - 24 GB RAM - NVidia Quadro k5000
Macbook Air (2010): 2.13 Ghz Intel Core 2 Duo - 4GB RAM
chrono1081 is offline   0 Reply With Quote
Old May 16, 2011, 01:03 PM   #4
MrFusion
macrumors 6502a
 
Join Date: Jun 2005
Location: West-Europe
Quote:
Originally Posted by chrono1081 View Post
Thanks for the links

I actually ended up just giving up and writing it all myself. It works high level but I haven't implemented any low level details so I'm sure I will run into something. What sad is our section is only 5 classes and my fellow team mates are confused

Oh well more programming practice for me since I graduate in October

The engine is just a basic one for games, nothing fancy. We have a main core (my teams section) a physics core, AI core, scripting core (not a good idea IMO since now we have no sound core), UI core, and graphics core.

I wanted on the graphics team but got stuck on main We have 8 weeks to build it.
Can't you talk to a TA? It is supposed to be a team effort. Doing everything yourself might not be feasible and you will end up with a lower great just because you can't finish everything in time.
The others might pass just because you do all the work, while they don't understand jack ****. Their graduation might degrade the value of your degree. Well, maybe not these particular people, but generally speaking.
__________________
24" iMac, 13" MacBook, iPod Touch. iPod mini and PowerPC Mac Mini gathering dust somewhere.
MrFusion is offline   0 Reply With Quote
Old May 16, 2011, 05:23 PM   #5
chrono1081
Thread Starter
macrumors 604
 
chrono1081's Avatar
 
Join Date: Jan 2008
Location: Isla Nublar
Quote:
Originally Posted by MrFusion View Post
Can't you talk to a TA? It is supposed to be a team effort. Doing everything yourself might not be feasible and you will end up with a lower great just because you can't finish everything in time.
The others might pass just because you do all the work, while they don't understand jack ****. Their graduation might degrade the value of your degree. Well, maybe not these particular people, but generally speaking.
I know its bad for me to do the work, its really a catch 22 :/ I'm going to see how it goes after this week and if its still bad I'm going to talk to the professor.

I understand that not everyone would be at my skill level because I do do a lot of studying outside of school and have been a hobby programmer since roughly 1998 and if someone doesn't understand something I have no problem showing them, but being one person (in a very hard degree program) it makes things difficult to be everyones tutor.

Whats worse is the classes always will pair the knowledgable students with the not so knowledgable students. You are asked to rate yourself on a scale of 1 - 10 (1 being someone who knows nothing and shouldn't be in the class and 10 being someone who thinks they are ready for the workforce) and I wrote 3 hoping to get paired with another student who knows what they are doing (in reality I think I'm about a 9 or a 10). Unfortunately in my desperate attempt to sway the class to use OpenGL over DirectX for our graphics API (since I'm on Mac and I also like OGL better) I used my knowledge to back my arguments.

I got a letter from the professor shortly after saying that I greatly underestimated my knowledge and then got stuck on the main core of our engine Two students told me up front they were lost. Ok, at least they're honest and willing to learn what I show them. The third student thinks he knows what he's talking about but its obvious he is clueless.

The whole thing is a mess What sucks is since I have to do everyone elses work that gives me less time to work on my portfolio and I graduate in October. Oh well I will see how this week pans out. I made them all a UML diagram to follow which looks flawless on paper (don't they always? :P ) so hopefully everyone can follow it and make appropriate classes for our section.
__________________
Mac Pro (2010): 3.33Ghz Intel Xeon (6 core) - 24 GB RAM - NVidia Quadro k5000
Macbook Air (2010): 2.13 Ghz Intel Core 2 Duo - 4GB RAM
chrono1081 is offline   0 Reply With Quote
Old May 17, 2011, 05:51 AM   #6
ShortCutMan
macrumors member
 
Join Date: Aug 2005
I was in a similar situation during the first computer science course I did at university. We were doing a team project, and I was the only one with prior programming experience. In the end, I did little work but oversaw what everyone was doing, as luckily most of the people in the team were keen enough to get the work done. We did have one person that didn't participate any further than the initial stages and he ended up getting a fail for the project.

Whilst I don't know the specifics of your situation, I would think it would be best to try and involve your other team mates as much as you can. You might end up second best if they tell your professor you did most of the work without consulting them. Take a step back and try to get them to do most of the programming work but watch over it carefully.

There are plenty of useless programmers in the workforce, so don't think this will be an unlikely scenario in the future either!
__________________
27" iMac 2.66GHz, 15" MBP (Late '07) 2.4GHz, iPhone 3GS 32GB
ShortCutMan is offline   0 Reply With Quote
Old May 17, 2011, 06:42 AM   #7
pilotError
macrumors 68020
 
pilotError's Avatar
 
Join Date: Apr 2006
Location: Long Island
This is a good life lesson for you. Your learning the 80/20 rule the hard way. 80% of the work gets done by 20% of the people. It works that way in the real world a fair amount of the time too...

I wish I could offer you some advice, but gaming was never my thing. Sounds like your on your way though.

Do you guys have a project lead? If not, why not step up and start assigning some of the work. Some people are natural leaders and some are followers. There's a bunch of folks out there that won't try unless you lead them. Not that they are bad coders or workers, just that they are less organized and need guidance.
pilotError is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
The Descent (Universal App by AGaming) Tenb iPhone and iPod touch Apps 0 Feb 7, 2014 09:41 AM
Does this seem like a descent deal? BBuff iMac 2 Aug 26, 2013 03:44 PM
At this point in the game, does anyone still care about iOS or the iPhone? BlueMoonForever iOS 7 21 Jun 4, 2013 11:46 AM
Having issues with Amnesia: The Dark Descent with my 9800 Pro. alexreich PowerPC Macs 10 Jul 30, 2012 04:37 PM

Forum Jump

All times are GMT -5. The time now is 03:51 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC