actually there's just 5 bullets, and when one of them goes off screen it's re-used.. I used an array of Bullets (Bullets is a class I made for that game.. pretty simple..)
hey nice game, I'm looking to put a dev team together and was wondering if you'ld like to join. we'ld be using c++ and win32 but not allegro or sdl. send me a message if you're interested!
that's awesome man! I've been thinking about doing a game like this except i started allegro a bit to early lol so once i learn a little more C++ i hope to make a game as good as this :P
Pretty good, one thing I would say is try to implement pointers. Basically they are alot faster and more efficient, the way your doing is just using a . for instance "ship.MovePlayer();" the reason thats bad is when ever you pass any parameters through it creates a copy of them, pointers send the address of the object therefore not creating a copy. Making a copy of alot of objects slows down the game.
Hey thanks for the comment! yeah I know about pointers!
A lot of my functions use Reference instead...!
Yeah the game ran slowly! But it's because I'm working on Parallels on a Mac, so I just have 368 MB of Ram, and also, using the hyper cam makes it a lot laggy, it runs really smooth heh!
But well! I'll take your advice on a next project!
Thanks for the comment again! I'll check your stuff!
Well I lost all the code and the game... My computer lost all the information while trying to make a windows partition... XD so well... I'm learning DirectX so I'll wait to make a better one with it! heh!
How do you handle multiple shots? 5*
DoNotHackMyAccount 2 years ago
actually there's just 5 bullets, and when one of them goes off screen it's re-used.. I used an array of Bullets (Bullets is a class I made for that game.. pretty simple..)
aldex123 2 years ago
@aldex123
Could i see this class?
(I can prog. but i don't check this )
DoNotHackMyAccount 2 years ago
I don't have that project anymore.. I think it was two ints with positions, (x and y) and a boolean (onScreen)
aldex123 2 years ago
hey nice game, I'm looking to put a dev team together and was wondering if you'ld like to join. we'ld be using c++ and win32 but not allegro or sdl. send me a message if you're interested!
TheGtrMaster 3 years ago
Hey... Well what will you use? OpenGL or DirectX?
You should check y others videos XD this is totally pathetic XD
aldex123 3 years ago
that's awesome man! I've been thinking about doing a game like this except i started allegro a bit to early lol so once i learn a little more C++ i hope to make a game as good as this :P
soccergod561234 3 years ago
Thanks man =) you should check my other vids =D my platform games, they are way better than this one!
If you have any question just ask!
;)
aldex123 3 years ago
Pretty good, one thing I would say is try to implement pointers. Basically they are alot faster and more efficient, the way your doing is just using a . for instance "ship.MovePlayer();" the reason thats bad is when ever you pass any parameters through it creates a copy of them, pointers send the address of the object therefore not creating a copy. Making a copy of alot of objects slows down the game.
Check out my stuff :)
limited06 3 years ago
Hey thanks for the comment! yeah I know about pointers!
A lot of my functions use Reference instead...!
Yeah the game ran slowly! But it's because I'm working on Parallels on a Mac, so I just have 368 MB of Ram, and also, using the hyper cam makes it a lot laggy, it runs really smooth heh!
But well! I'll take your advice on a next project!
Thanks for the comment again! I'll check your stuff!
aldex123 3 years ago
In a game of that scale, don't expect any performance increase whatsoever.
UnresolvedExternal 3 years ago
Well thats true, however he may wish to expand on it a bit. Its also good to get into a good habit straight away.
limited06 3 years ago
Well I lost all the code and the game... My computer lost all the information while trying to make a windows partition... XD so well... I'm learning DirectX so I'll wait to make a better one with it! heh!
aldex123 3 years ago