Page 1 of 3

My first try at a game [UPDATE] 1.1 with some .bmp added.

Posted: December 14th, 2012, 6:40 pm
by Zionich
For those that care, I had the pleasure of taking a C++ class about 8 years ago. While I loved working with it I never really applied it to anything. My buddy , last year, inspired me to use my like of programming to try to make games.

All that to say thanks Chili for your videos and forum community. It has been inspiring and alot of fun.

Re: My first try at a game (I think im through begin lesson

Posted: December 14th, 2012, 6:44 pm
by Zionich
Sorry,
Enter at title screen

<- -> spacebar fires

Re: My first try at a game (I think im through begin lesson

Posted: December 14th, 2012, 7:20 pm
by HippoSocks
That's some sweet work, play's like a charm.
I noticed the stars move like they are different velocity's and got so distracted I died.. :lol:

I love how it feels like a old arcade game as well.

I think it would be good if you brought in more ships..
With different weapon types, just to keep people's interest a little longer.

The code is clean as well, and i especially like your use of functions..
It's never crossed my mind to put collision into a function of its own before.. :lol:

This is sure to inspire a few people to continue or start chilli's tutorials.. ;)

Re: My first try at a game (I think im through begin lesson

Posted: December 14th, 2012, 8:17 pm
by Zionich
Thanks for your kind comments . Ill eventually add some code for different movement and beams.

Re: My first try at a game (I think im through begin lesson

Posted: December 14th, 2012, 11:26 pm
by HippoSocks
I just got an idea, that you might be able to add to your game, its only a small thing for a player to notice but could make all the difference to the playing experiences, and that would be adding some sort of "friction" or "resistance" that would make the players ship slide to a stop once the key is released.

I found a java applet as it will make more sense if you see an example..
http://www.play.vg/games/4-Asteroids.html
You should be able to get that floating around in space feel that this game brings when you release the keys..

-----
PS:For those who might think "Is there even friction in space? surely you would just keep going?"
I believe the answer is that there are tiny particles and solar winds that create resistance..
But please.. Don't take my word for it.. :lol:

Yes, I did all of that up.. :lol:

Re: My first try at a game (I think im through begin lesson

Posted: December 15th, 2012, 12:15 am
by thetoddfather
Nice work!
Makes me want to go play a game from my youth called Space Firebird. Was done by Nintendo and Sega before they even had consoles out lol. Great game though.

Re: My first try at a game (I think im through begin lesson

Posted: December 15th, 2012, 12:20 am
by NaturalDemon
remove the "intellisense"Chili DirectX Framework.sdf file from the zip file or chili ges mad and you don´t want that
: )

Re: My first try at a game (I think im through begin lesson

Posted: December 15th, 2012, 12:34 am
by NaturalDemon
nice job,
i see you use a old version of the framework, you din´t use the swap method, font image ... but cool result anyway ....

Re: My first try at a game (I think im through begin lesson

Posted: December 15th, 2012, 3:37 am
by Zionich
Not sure I was that far in the tutorials to where he mentioned a new framework , though I did see it on home page. Trying not to get to far ahead of myself.


Ill look into that Socks, intresting idea.

Re: My first try at a game (I think im through begin lesson

Posted: December 15th, 2012, 4:46 am
by Zionich
Thanks thetoddfather and NaturalDemon.

Glossed over the intelesense file. Should be fixed =)