My Game
Posted: September 15th, 2012, 1:34 pm
Hello guys,
like a month ago I made this "game" and now I want to share it with you. It's quite unfinished as you will see but it works just fine ( no errors and such ( maybe with an exception for sounds asserts, so it's better to run it in release mode ) ). I would really appreciate if you could spend some of your time a have a quick look at my code and check on some things:
1. Firstly, I'm not quite satisfied with my collision code ( it's located in the Platform.cpp file ) so maybe you can give me some advice to improve it.
2. Please, take a look onto my classes. Until now I didn't do much in object-oriented languages, so I'm a little rusty in their organisation.
I made this "game" mainly to test if I remember something from Chili's videos , so I used almost everything I've learned so far : animations, font, linked lists, arrays and so on. I my opinion it's not even a game because it lacks any point ( it's just meaningless running around and shooting ), but as I've said I made it to test my skills.
It has also a tool to quick level creation so here's a little guide on how to use it.
1. Use your mouse to move cursor to position where you want to place something.
2. Press space to begin drawing a platform, press again to place it. While drawing press Esc to exit platform creation.
3. Press Enter to create player, if you press it more than just once it will replace the old one.
4. Press Insert to create exit. ( also replaceable )
5. Press Shift to place enemy, but be aware that it cannot be replaced ( mainly of the fact that the enemies are made with linked list and I didn't want to spend eternity thinking how to implement it ),
also don't place them into platforms because they won't move. Place them above platforms and they will slowly fall down onto them.
6. Once done press Esc to save the level, and press play in menu to test it.
When in game use arrows to jump and move, shift to shoot.
So have fun with my "game" feel free to comment on how boring it is , and if you know any way to improve it ( and I'm sure there are lots of way ) just let me know .
Thanks in advance.
P.S. : I did not use deconstructors, because I'm not very familiar with using them yet.
P.P.S. : Sorry for all those assert errors ( mainly caused by different sample rates, which also makes some sounds sound dull ), but I didn't want to remove assertion from sounds and I was too lazy to find any audio converter.
P.P.P.S : Thank you Chili for such great tutorials .
like a month ago I made this "game" and now I want to share it with you. It's quite unfinished as you will see but it works just fine ( no errors and such ( maybe with an exception for sounds asserts, so it's better to run it in release mode ) ). I would really appreciate if you could spend some of your time a have a quick look at my code and check on some things:
1. Firstly, I'm not quite satisfied with my collision code ( it's located in the Platform.cpp file ) so maybe you can give me some advice to improve it.
2. Please, take a look onto my classes. Until now I didn't do much in object-oriented languages, so I'm a little rusty in their organisation.
I made this "game" mainly to test if I remember something from Chili's videos , so I used almost everything I've learned so far : animations, font, linked lists, arrays and so on. I my opinion it's not even a game because it lacks any point ( it's just meaningless running around and shooting ), but as I've said I made it to test my skills.
It has also a tool to quick level creation so here's a little guide on how to use it.
1. Use your mouse to move cursor to position where you want to place something.
2. Press space to begin drawing a platform, press again to place it. While drawing press Esc to exit platform creation.
3. Press Enter to create player, if you press it more than just once it will replace the old one.
4. Press Insert to create exit. ( also replaceable )
5. Press Shift to place enemy, but be aware that it cannot be replaced ( mainly of the fact that the enemies are made with linked list and I didn't want to spend eternity thinking how to implement it ),
also don't place them into platforms because they won't move. Place them above platforms and they will slowly fall down onto them.
6. Once done press Esc to save the level, and press play in menu to test it.
When in game use arrows to jump and move, shift to shoot.
So have fun with my "game" feel free to comment on how boring it is , and if you know any way to improve it ( and I'm sure there are lots of way ) just let me know .
Thanks in advance.
P.S. : I did not use deconstructors, because I'm not very familiar with using them yet.
P.P.S. : Sorry for all those assert errors ( mainly caused by different sample rates, which also makes some sounds sound dull ), but I didn't want to remove assertion from sounds and I was too lazy to find any audio converter.
P.P.P.S : Thank you Chili for such great tutorials .