game code

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.

game code

Postby darksmaster923 » Fri Nov 11, 2011 10:15 pm

This is my tactical space game code
It doesn't really play like most other space sims. If you've played starshatter before thats kind of how it plays out like.
I wanted it make it like a tactical rts/rpg where you can control a ship, upgrade it, manage the crew.
Its more of a combat demo right now though.
The code might be useful to someone else, I don't think I'm going to be able to finish it. Would seem like a waste to just keep it on my harddrive.
I do warn you though, my naming conventions were terrible. And its not very organized, but I tried to comment it to the best of my ability.

http://fss.binfire.com:80/serve_file/ee ... c5336cb38f
Programmers are merely tools to convert caffeine into code.
darksmaster923
 
Posts: 44
Joined: Tue Jan 02, 2007 11:04 pm
Location: huntington beach

Re: game code

Postby rubenwardy » Wed May 16, 2012 11:57 am

I will have a look at it.
http://www.multa.bugs3.com/

str = "Ruben is a nerd";
cout << str_replace("nerd", " computer genius", str) << endl;
rubenwardy
 
Posts: 70
Joined: Mon Mar 05, 2012 4:51 pm
Location: SW England

Re: game code

Postby aaammmsterdddam » Fri May 18, 2012 10:19 pm

seems interesting, might peek at it later.... (I would defineteley look if you would have mentioned good naming conventions, good organization and well, I can live with your comment on the comments, there should be enough comments to make sens out of it)
(n^(n-n))-1
aaammmsterdddam
 
Posts: 520
Joined: Mon Oct 24, 2011 10:03 pm

Re: game code

Postby zhengxianfu » Sun Jun 03, 2012 3:11 pm

I am a newbie of irrlicht.Thanks a lot.
zhengxianfu
 
Posts: 16
Joined: Thu Apr 05, 2012 9:33 am


Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest