Author |
Message |
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
|
A little game I made(updated 22/06/2012)
Hi, I'm trying to learn how to use opengl using c++, so I made a little 2d game that uses it, it is still quite buggy but it can be fun(if you like crazy bouncing ducks of death). So here it is: Attachment:
File comment: more optimizations crushed some bugs
gl3.rar [261.32 KiB]
Downloaded 329 times
You can control the guy with the arrow keys, shoot with down and throw a bomb with space, and the duck with jlik and enter.
Last edited by Mehman on Fri Jun 22, 2012 2:21 pm, edited 10 times in total.
|
Sat May 12, 2012 1:52 pm |
|
|
Sims_Doc
Joined: Fri Aug 20, 2010 4:45 am Posts: 911 Location: No Comment.
|
Re: A little game I made
Rather decent I've never been able to work with OpenGL, So what you've got there is decent enough sure its simple but its something.
|
Tue May 15, 2012 1:02 pm |
|
|
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
|
Re: A little game I made(updated)
Updated, now the terrain blocks are 1 px wide, like in CC. Also it now uses the GPU to display the terrain, so it should not be too laggy.
|
Sat Jun 02, 2012 3:59 pm |
|
|
trystanr
Joined: Sat Oct 09, 2010 10:01 am Posts: 303 Location: Afrique d' Sud
|
Re: A little game I made(updated)
I like it!
|
Sat Jun 02, 2012 5:08 pm |
|
|
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
|
Re: A little game I made(updated)
Glad you do.
|
Sun Jun 03, 2012 9:44 pm |
|
|
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
|
Re: A little game I made(updated 06/06/2012)
Updated again, could some of you please tell me what framerate they are getting?(that's the things written in the console window)
|
Wed Jun 06, 2012 3:17 pm |
|
|
Wonkyth
Joined: Thu Aug 12, 2010 11:01 am Posts: 142 Location: Somewhere in Australia
|
Re: A little game I made(updated 06/06/2012)
I'm getting just below 25 FPS, but it crashes very often, sometimes badly. Looking awesome so far!
|
Wed Jun 06, 2012 4:52 pm |
|
|
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
|
Re: A little game I made(updated 06/06/2012)
Thanks, I'm still working on these crashes, but have made no progress so far, there's also a benine memory leak when bombs are in the game I haven't been able to fix.
The development of this game will be on hold for about a week since I must work my math for the exam next wednesday(horrible partial differential equations, among other things, plus I have 3 other exams this same week).
|
Fri Jun 08, 2012 11:51 am |
|
|
Wonkyth
Joined: Thu Aug 12, 2010 11:01 am Posts: 142 Location: Somewhere in Australia
|
Re: A little game I made(updated 06/06/2012)
Good luck on the exam.
|
Fri Jun 08, 2012 11:56 am |
|
|
Wonkyth
Joined: Thu Aug 12, 2010 11:01 am Posts: 142 Location: Somewhere in Australia
|
Re: A little game I made(updated 06/06/2012)
Good luck on the exam.
|
Fri Jun 08, 2012 11:56 am |
|
|
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
|
Re: A little game I made(updated 06/06/2012)
Thanks, the good thing is that programming this game has made me more than ready for the C++ exam, now math will be the hardest of all since I'm very bad at this. Classical mecanics should be ok and I'm quite confident I can perform well in electromagnetism.
|
Fri Jun 08, 2012 12:00 pm |
|
|
Gotcha!
Joined: Tue Apr 01, 2008 4:49 pm Posts: 1972 Location: The Netherlands
|
Re: A little game I made(updated 06/06/2012)
Good luck on your exams! Affichage: ~25 hz Lumiere: ~35hz Soleil: ~2.1 Edit: Display, light and sun? No framerate anywhere.
|
Fri Jun 08, 2012 12:01 pm |
|
|
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
|
Re: A little game I made(updated 06/06/2012)
Thanks, affichage is the display frequency(1Hz = 1 frame per second), lumière is the light cumputation frequency, and well soleil has nothing to do with all that, it's just the relative position of the sun(its angle in radians).
|
Fri Jun 08, 2012 12:04 pm |
|
|
Mehman
Joined: Tue Nov 17, 2009 7:38 pm Posts: 909 Location: France
|
Re: A little game I made(updated 22/06/2012)
Updated again: crushed some bugs and optimized it a bit.
|
Fri Jun 22, 2012 2:21 pm |
|
|
Sothe
Joined: Thu Jul 21, 2011 4:34 am Posts: 2034
|
Re: A little game I made(updated 22/06/2012)
I have Intel HD, so I can't see this.
|
Fri Jun 22, 2012 11:18 pm |
|
|
|