Mercurial > touhou
view data/ST/player00.script @ 772:7492d384d122 default tip
Rust: Add a Glide renderer (2D only for now)
This is an experiment for a Rust renderer, iterating over the Python data using
pyo3. It requires --feature=glide to be passed to cargo build, doesn’t support
NPOT textures, text rendering, the background, or even msg faces, some of that
may come in a future changeset.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 05 Sep 2022 17:53:36 +0200 |
parents | 016f6b937893 |
children |
line wrap: on
line source
ENTRY 0 Name: data/player/player00.png Format: 1 Width: 256 Height: 256 Sprite: 0 15*30+1+1 Sprite: 1 8*8+40+40 Sprite: 2 8*8+40+40 # Player Script: 0 Instruction: 0 0 1 0 Instruction: 0 0 15 Script: 1 Instruction: 0 0 1 0 Instruction: 0 0 15 Script: 2 Instruction: 0 0 1 0 Instruction: 0 0 15 Script: 3 Instruction: 0 0 1 0 Instruction: 0 0 15 Script: 4 Instruction: 0 0 1 0 Instruction: 0 0 15 # Bullet Script: 64 Instruction: 0 0 1 1 Instruction: 0 0 15 # Bullet cancellation Script: 96 Instruction: 0 0 1 1 Instruction: 0 0 15 # Orbs Script: 128 Instruction: 0 0 1 2 Instruction: 0 0 15 Script: 129 Instruction: 0 0 1 2 Instruction: 0 0 15