view data/ST/stg1enm.script @ 222:5cac48b328ad

Refactor rendering code a bit. Move duplicated camera setup code to a new “setup_camera” method, and move common methods to a new “Renderer” module in order to make individual sprite rendering easier.
author Thibaut Girka <thib@sitedethib.com>
date Sun, 18 Dec 2011 20:47:48 +0100
parents f0e6ae22d29a
children
line wrap: on
line source

ENTRY 0
Name: data/stg1enm/stg1enm.png
Format: 1
Width: 256
Height: 256

Sprite: 0 56*56+1+1
Sprite: 1 15*30+1+226

Script: 0
Instruction: 0 0 1 0
Instruction: 0 0 10 0.0f 0.0f 0.2f
Instruction: 1000 0 15

Script: 3
Instruction: 0 0 1 1
Instruction: 0 0 15