rust-community/rustbridge

Video game workshop

milibopp opened this issue · 5 comments

Idea

Workshop participants can build a game by composing simple geometric shapes and events into their own game logic.

Technical requirements

  • An easy-to-use graphics package
    • Maintain this by ourselves to guarantee stability
    • Support only a few simple shapes
    • The actual work can be done by a more complex backend system, e.g. Glium, Glutin, some part of Piston, gfx or whatever… Need to make sure to depend on a fixed version.
  • A mechanism for event handling

Personally, I would like to replicate a simplified variant of the Elm architecture for event handling. In its most recent iteration this would even mean not exposing FRP primitives, if they are even used at all.

I am working on some building blocks for this, which I want to consolidate a bit over the weekend.

@aepsil0n: Interesting. Can you post some good reference material on the Elm architecture?

Here you go. Replace HTML by our hypothetical graphics API.

Oh, and this is where I'm at. It still depends on Elmesque at the moment, which I intend to replace, as it is not super-maintained and the Elm graphics API, after which it is modelled has been deprecated. And we started to build a pacman-clone with it for testing.

skade commented

Has anyone seen https://scalatron.github.io/? That seems like it could be an interesting source of inspiration.