Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a structure where contributors can easily add new characters #8

Open
Tracked by #7
binary-sequence opened this issue May 5, 2019 · 0 comments
Open
Tracked by #7

Comments

@binary-sequence
Copy link
Member

binary-sequence commented May 5, 2019

Ideas

The assets are placed in the following structure:

assets/
|--- characters/
|     |--- dragon_ball_goku/
|     |     |--- hurt/
|     |     |     `--- gruntsound.wav
|     |     |--- shot/
|     |     |     `--- skweak3.ogg
|     |     `--- sprites/
|     |          |--- down.png
|     |          |--- left.png
|     |          |--- right.png
|     |          |--- shot.png
|     |          |--- shooting.png
|     |          |--- standing.png
|     |          `--- up.png
|     |--- dragon_ball_minicell/
|     |     |--- hurt/
|     |     |     `--- cut_grunt2.wav
|     |     |--- shot/
|     |     |     `--- skweak2.ogg
|     |     `--- sprites/
|     |          |--- down.png
|     |          |--- left.png
|     |          |--- right.png
|     |          |--- shot.png
|     |          |--- shooting.png
|     |          |--- standing.png
|     |          `--- up.png
|     |--- other/
|     |     |--- hurt/
|     |     |     |--- sound1.wav
|     |     |     `--- sound2.wav
|     |     `--- shot/
|     |           |--- sound1.ogg
|     |           `--- sound2.ogg
|     |     `--- sprites/
|     |          |--- down.png
|     |          |--- left.png
|     |          |--- right.png
|     |          |--- shot.png
|     |          |--- shooting.png
|     |          |--- standing.png
|     |          `--- up.png
|--- background_music/
|     |--- FoxSynergy - Chaos Lily.mp3
|     `--- other.mp3
|--- life_boxes/
|     |--- default_left/
|     |     |--- lifebar.png
|     |     `--- life_box.png
|     `--- default_right/
|           |--- lifebar.png
|           `--- life_box.png
|--- messages/
|     |--- default_user_wins_es.png
|     `--- default_user_loses_es.png
`--- scenarios/
      |--- dragon_ball_namek.jpg
      `--- other.jpg

Scenarios and background music can simply be added on their respective directories.

Characters consist of three groups of assets: hurt sounds, shot sounds and sprites.

A character can contain more than one sound for group hurt and shot. The game will cycle through them in secuential order.

Each character has exactly 7 sprites. Four sprites for movement: down, left, right, up. One sprite for standby: standing. One for shooting: shooting. One for the shot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant