Game Engine Test Features:
_________________________
* Rectangular Collision Detection - ( I will implement other methods once I learn more about collision detection)
* Constructor for Entity Class that takes in the type the entity is created with and uses a switch block to handle the different types of behaviors -(for instance, the enemy bounces around the screen and if it hits a player it bounces away)
* Animated Sprites drawn by myself
* F2 toggles rectangles that outline the collision box to show where it is - ( makes use of the SDL_gfx library check it out its cool )
* Awesome Gradient Background ftw
* Player can move with arrow keys and can't go off screen boundaries
* Enemy Bounces Around aimlessly, changing speed on impact
* A sound is played when the player and enemy collide
* A sound is played when you pick up a stick
* The stick randomly regenerates
* Every object is dynamically allocated in the memory and uses png images for lossless compression and speed
* There is awesome music that I did not make
Goal:
_____
* To Endlessly Pick up sticks! (All credit for the concept goes to LusikkaMage aka Rachel J. Morris)
Controls:
_________
* Arrow Keys move the player around
* F1 toggles fullscreen mode
* F2 toggles an outline of the collision boxes of the player and enemy
* F3 toggles music - if pressed once, it will start the music that will loop endlessly - if pressed again, it will pause the music - if pressed once more, it will resume the music
* F4 stops the music if it is playing
The program itself is kind of pointless but was fun to code
I also used it to set myself up a game engine so I have reusable code for the future.
I am in no way, shape, or form making any money off of this whatsoever.
I did this for fun.
:) MATT!!! LOVE IT LOL
FlipViva 2 years ago 3