aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-client/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rstnode: refactoring server and client components into rst-coreHEADmasterKatharina Fey2021-02-141-1/+5
| | | | | | * Add an inbox/ outbox system to server components * Define a data flow from Request -> computation -> Update * Create simple handlers to call server or client code for requests
* rstnode: implement viewport shiftingKatharina Fey2021-02-071-1/+8
| | | | | | | | | | | | | | | A bit of a rant: it's fucking ridiculous how much work it is to subtract two points from each other with mint + nalgebra. I ended up adding a complete `Vector2` implementation in this commit because I got fed up with it. Consider this the unofficial start of librgx (rust graphics x), which will basically become a libgdx in Rust, and the basis for the little game engine. Not to mention that ggez probably won't be maintained past version 0.6.0 unless some other maintainer takes over (I guess that could always happen). Anyway, I'm annoyed!
* rstnode: basic mouse input handlingKatharina Fey2021-02-071-0/+1
|
* rstnode: some client cleanups and better colour handlingKatharina Fey2021-02-071-0/+1
|
* rstnode: basic asset loading and prototype sprite renderingKatharina Fey2021-02-071-3/+22
| | | | | | | | | * restructure assets directory * implement asset loading and dynamic conversion to sprites * reload sprites with unique URIs to load at runtime * provide an updated renderer API to give access to client state * use new APIs to draw a single node frame on screen * use colour APIs to dynamically change node frame colour
* rstnode: add basic node assetsKatharina Fey2021-02-071-7/+6
|
* rstnode: create small graphics exampleKatharina Fey2021-02-061-1/+20
|
* rstnode: restructure project into workspace and sub-cratesKatharina Fey2021-02-061-0/+3