View unanswered posts | View active topics It is currently Thu Mar 28, 2024 12:55 pm



Reply to topic  [ 15 posts ] 
 A little game I made(updated 22/06/2012) 
Author Message
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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).

Image

So here it is:
Attachment:
File comment: more optimizations
crushed some bugs

gl3.rar [261.32 KiB]
Downloaded 289 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.


Attachments:
gl.rar [191.64 KiB]
Downloaded 280 times
File comment: Updated
gl.rar [256.08 KiB]
Downloaded 305 times
File comment: random maps!
dynamic light!
and some other things I forgot.

gl1.rar [258.82 KiB]
Downloaded 272 times
File comment: Optimizations
Collapsing terrain

gl2.rar [258.58 KiB]
Downloaded 270 times


Last edited by Mehman on Fri Jun 22, 2012 2:21 pm, edited 10 times in total.

Sat May 12, 2012 1:52 pm
Profile
User avatar

Joined: Fri Aug 20, 2010 4:45 am
Posts: 911
Location: No Comment.
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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
Profile
User avatar

Joined: Sat Oct 09, 2010 10:01 am
Posts: 303
Location: Afrique d' Sud
Reply with quote
Post Re: A little game I made(updated)
I like it!


Sat Jun 02, 2012 5:08 pm
Profile YIM WWW
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: A little game I made(updated)
Glad you do.


Sun Jun 03, 2012 9:44 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Aug 12, 2010 11:01 am
Posts: 142
Location: Somewhere in Australia
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Aug 12, 2010 11:01 am
Posts: 142
Location: Somewhere in Australia
Reply with quote
Post Re: A little game I made(updated 06/06/2012)
Good luck on the exam. :grin:


Fri Jun 08, 2012 11:56 am
Profile
User avatar

Joined: Thu Aug 12, 2010 11:01 am
Posts: 142
Location: Somewhere in Australia
Reply with quote
Post Re: A little game I made(updated 06/06/2012)
Good luck on the exam. :grin:


Fri Jun 08, 2012 11:56 am
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Jul 21, 2011 4:34 am
Posts: 2034
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.163s | 16 Queries | GZIP : Off ]