ser-215-asteroids's People
ser-215-asteroids's Issues
screenwrap
player's ship does not wrap correctly after collision bugfix. duplicate images calculated incorrectly.
Bosses
The third level of each of the 5 stages needs to have a special boss appear. Jumping into this task, make sure that we're handling level transitions properly first before starting work on this (i.e. make sure that when we clear the screen in a level, the next level is properly initialized). This is because bosses will have to interrupt that process. Also, special AI is going to be required for bosses. This task can probably be divvied up by stage.
Add sound
Entity classes (ships, asteroids, enemies) are going to need sounds tied to their action methods (shoot, hit, etc). I've pushed up some simple .wav sound files to use, with descriptive names for their use. Since they're wav files, Java's sound library natively supports them, so we just need to get them in and playing.
May be best implemented with a class or construct that can be accessed when a resource needs to be played.
Player spawning
Player spawning is messed up a bit at the moment. The goal is to have the player's ship "flash" (be drawn or not drawn) for about 3 or so seconds after they spawn in the center of the level and also be invulnerable during that time.
Animations
It would be nice to have some additional animations for actions. Dallin has provided some images we can use to create "breaking" animations for asteroids that get hit. Let's add any other animations you can think of. (Alien explosion? missile explosion?)
Levels/Transitions
We need to create the level states for the remaining 4 stages (level2state, level3state, etc). These should each inherit from the LevelState parent class, which will set up the state with the majority of properties/functions it needs. We also need to add our transitions between sublevels and transitions between stages (i.e. recognizing when the player has won and loading the correct state).
Two Player
We need to go through the code and accommodate a second player. The PlayerShip object will keep track of each player's information (lives, score, etc), but we need to be sure when one player dies, the next one gets a turn, until both players have run out of lives. This also may require additional states or options in the menustate for selecting a two-player option.
Ship selection
We need a ship selection state between the menu state and the level1state.
Back functionality in each of the menus
We need to allow the user to go back a menu so that functionality should be added to each of the menus
Game Over
We need to handle when the player runs out of lives in a game. Major functions needed here are to get player's initials and show the high scores, and pass the game state back to the main menu, clearing out the player list in the game state manager if there are no other active players.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.