nsmryan / RustRoguelike

This Rust Roguelike is a Roguelike written in Rust.
17 stars 3 forks source link

Unity Roadmap #366

Open MicroChasm opened 3 years ago

MicroChasm commented 3 years ago

A full Unity version of the game would include:

Spawn and remove tiles surfaces, walls, and intertile walls. Attack and movement overlays Use-mode overlays

Full sets of 3D models and animations Toon shader using Shader Graph UI in Unity

nsmryan commented 3 years ago

We need to determine the current state of the Unity3D/Rust integration part of the Unity project. Some questions are: Command processing is asynchronous. Many messages are not handled. The Rust code is being updated to accommodate frontends.

nsmryan commented 2 years ago

The rust code has been updated to emit all information needed by Unity. The Rust SDL2 display is now driven by these messages, with a handful of configuration items from config.yaml which would have to be redone in unity either way (colors, toggling debug stuff, toggling overlays).

The rust code also emits a description of the map as we discussed.

I have started to updated Unity to match the new messages. So far the map is spawned from the given description, and the player and other entities are spawned and can move around.

Messages that we will likely have to implement at some point:

Other messages which involve displaying information to the player:

nsmryan commented 2 years ago

Some other notes: We talked about using materials for fov, and possibly creating materials at runtime to darken colors. The objects then need their material set based on FoV. We talked about throwing stones, and how they need to end up in the center of a tile. One solution is gamey and just puts a stone in the right place without it really getting there.