Skip to content

Latest commit

 

History

History
89 lines (69 loc) · 4.08 KB

README.md

File metadata and controls

89 lines (69 loc) · 4.08 KB

pyxel-prelection

gameplay

Web version

click

Install

Requires libsdl2-dev and pipx.

In this directory:

pipx install -e .
pyxel-prelection-game

Why Pyxel?

  1. It's very simple to learn (for pro & newbies) (I've made the game in 4 hours! in pure python!)
  2. Has many simple examples to copy&edit
  3. Has a nice ascii font
  4. 8bit sound generator is amazing
  5. It's fast (using sdl2 in rust)
  6. Nice to learn a programming in python
  7. It allows to build standalone web/exe games.

Advantages

  • Very simple API - you can learn it in one day
  • Documentation is a single file (README file in github)
  • sprites support
  • basic shapes drawing support
  • 8 bit music / sound
  • tilemaps
  • built in sprite / map / music editor (But I haven't used it)

Limitations (by design or not)

  • Documentation doesn't have examples directly
  • Documentation doesn't describe arguments and what functions/methods do.
  • Supports only 16 colors (image assets too!).
  • Has limited banks with sounds and images.
  • Doesn't have a collision system.
  • 256×256 screen size (with autoscalling so don't worry).
  • No rotating / mirroring sprites.
  • No particles system.
  • Random bugs like segmentation fault or floating point error :-(

Items

Stages

  1. init game
  2. change assets and draw sprites
  3. add player object
  4. add player moving
  5. add rotating
  6. add bullets
  7. compute better cords of bullet
  8. add enemies
  9. add collision with enemy and bullets
  10. add spawning enemies
  11. add music (OMG!)
  12. support game over
  13. add animations
  14. add background
  15. support gamepad
  16. improving gameplay
  17. MY PRECIOUS!
  18. MY BOOM PRECIOUS!
  19. spawn enemy group with turning action
  20. add moving background

Conclusion

  • It's not unreal or unity engine
  • It's not game maker too (But is very similar to first versions of game maker)
  • It's a lot of fun!
  • In short time we can make a nice, simple game
  • I love 8 bit so much <3
  • A good way to learn python and programming