"Blue Wings"
2D PC & XBox360 game
About...
This game is a tribute to Bizarre Creations Geometry Wars . You play as young dragon-ling who has to fight against a horde of evil dragons. Race the clock to survive.
Features
Challenges...
Creating my own a 2D flip algorithm and then extending it by reading more complex sprite sheets. I had problems with collision not being accurate so drew a debug box that encapsulated the player to visually show the collision box while I was testing.
Problem: Analog stick input sync to the animation
Resolve: Dividing a circle by 8 parts then offsetting the slices by a fixed amount.
Sample Project & Sample Code
This game is a tribute to Bizarre Creations Geometry Wars . You play as young dragon-ling who has to fight against a horde of evil dragons. Race the clock to survive.
Features
- Intense Action
- Race against the clock
- Fast paced
- several different enemies
- 3 different fire attacks; Single, Rapid, Tri- shot
- Independent console coding project
- 360 controller support, Both Analog joy sticks, rumble support
- Difficulty increases as long you play
- responsible for All animations
- health regeneration
- AI behaviors
Challenges...
Creating my own a 2D flip algorithm and then extending it by reading more complex sprite sheets. I had problems with collision not being accurate so drew a debug box that encapsulated the player to visually show the collision box while I was testing.
Problem: Analog stick input sync to the animation
Resolve: Dividing a circle by 8 parts then offsetting the slices by a fixed amount.
- Reading the joystick to determine which dragon sprite animations ( 8 direction sprite animations) I should use. I resolved it by using the function Atan2(), to get the raid-ans of the input and then converting the angle to degrees , then subtracting it by a range over 45 degrees. angle = angle - 22.5f / 45. And finally comparing it to all 8th s of 360 degrees then subtracting or adding the 22.5f offset... Its like 22.f degree cone inside a 45 degree cone. making a circle out of 8 of them. IE: angle < 45 + 22.5.
Sample Project & Sample Code