mold2d

Crates.iomold2d
lib.rsmold2d
version0.0.2
sourcesrc
created_at2016-06-10 06:22:20.1469
updated_at2016-06-10 06:27:57.820859
descriptionA simple platformer game library in Rust
homepage
repositoryhttps://github.com/DarinM223/mold2d
max_upload_size
id5335
size960,798
Darin Minamoto (DarinM223)

documentation

README

mold2d

A simple 2d platformer game library in Rust

demo

It includes the main game library implemented on top of SDL and a demo game that is used to test the performance and correctness of the library.

The library allows for message passing to handle complex events. Every game object can send messages to either the parent view or to other game objects. It can also process messages sent to it and return a response message. This allows for greater flexibility because the messages sent can be different for different types of games and the core library will still function, and greater simplicity because instead of every object containing mutable references to the other objects, they can just communicate using immutable messages.

The library also has convenient methods for loading levels from text files, animating sprites from a spritesheet, viewport handling, spatial partitioning (only quadtrees right now), collision detection, displaying fonts, raycasting, and managing game objects and the score.

TODO

  • Improve collision detection
  • Add more spatial partitioning types
  • Improve performance
Commit count: 128

cargo fmt