Colin McMillen
|
3d1de388b8
|
remove jumpTime / jumpElapsed
|
4 years ago |
Colin McMillen
|
127693e2af
|
make Camera & NPC fields readonly
|
4 years ago |
Colin McMillen
|
8f79bb8680
|
add a little screen-shake
|
4 years ago |
Colin McMillen
|
37c679b704
|
move Camera into World
|
4 years ago |
Colin McMillen
|
536af82beb
|
make NPCs stop at the edge of platforms
|
4 years ago |
Colin McMillen
|
275e535eac
|
LinesOfSight: draw outlines around the vision cones.
|
4 years ago |
Colin McMillen
|
06eac128c2
|
LinesOfSight: make vision cones red
|
4 years ago |
Colin McMillen
|
437130ab55
|
Scene: always draw LinesOfSight
|
4 years ago |
Colin McMillen
|
9504c2236c
|
LinesOfSight: support multiple NPCs
|
4 years ago |
Colin McMillen
|
473256d105
|
make some classes static and some fields readonly
|
4 years ago |
Colin McMillen
|
8f2fec053d
|
Pull out the "Paused" string into a file.
|
4 years ago |
Colin McMillen
|
4870964cc5
|
attach LinesOfSight to the first NPC
|
4 years ago |
Colin McMillen
|
8720896e87
|
make top-level classes public
|
4 years ago |
Colin McMillen
|
66ce866b12
|
move LinesOfSight into World
|
4 years ago |
Colin McMillen
|
3fc8b49636
|
World: move Tile to bottom of file
|
4 years ago |
Colin McMillen
|
bb910fbe58
|
World: rearrange a bunch of code to be in a more sensible order
|
4 years ago |
Colin McMillen
|
36e70989af
|
rename "tiles" to "obstacles"
|
4 years ago |
Colin McMillen
|
fa4784fc49
|
IsHarmful -> IsHazard
|
4 years ago |
Colin McMillen
|
299ab41ec2
|
add hazards layer
|
4 years ago |
Colin McMillen
|
9aa0d05eb2
|
add the background layer
|
4 years ago |
Colin McMillen
|
983a02b364
|
remove old Levels file
|
4 years ago |
Colin McMillen
|
5121f6d775
|
World: load levels by parsing a JSON level description.
|
4 years ago |
Colin McMillen
|
28ef337691
|
make field readonly
|
4 years ago |
Colin McMillen
|
0a37453dbd
|
switch to sourcing all tiles from Grassland
|
4 years ago |
Colin McMillen
|
392495a61e
|
remove unneeded timeInState calc & redundant "string?" annotation
|
4 years ago |
Colin McMillen
|
0f8d9c2814
|
FSM / Player / NPCs now get World as an argument to Update()
|
4 years ago |
Colin McMillen
|
1b124f84df
|
FSM now takes a type parameter so that we can use FSM with other classes.
|
4 years ago |
Colin McMillen
|
08091106ea
|
Terrain: use optional arguments for IsObstacle / IsHarmful
|
4 years ago |
Colin McMillen
|
b2583677bf
|
Terrain now takes an IsHarmful param in constructor.
|
4 years ago |
Colin McMillen
|
f756780660
|
NPCs should start in "run" state.
|
4 years ago |
Colin McMillen
|
b574a5a702
|
change Sprite / Animation times to double (sec) instead of int (ms).
|
4 years ago |
Colin McMillen
|
53083818c0
|
Add a TODO and fix a smol cleanup.
|
4 years ago |
Colin McMillen
|
3c4e63ada0
|
Add basic FSM & use it from NPC.
|
4 years ago |
Colin McMillen
|
53c6d8483f
|
include multiple NPCs, have them turn around based on platforms.
|
4 years ago |
Colin McMillen
|
5b82f4d646
|
handle PingPong animations
|
4 years ago |
Colin McMillen
|
0b8eb3e3f1
|
Player: start using Sprite data to calculate texture source / animations.
|
4 years ago |
Colin McMillen
|
77f1d73097
|
remove convert_sprite_json (no longer needed)
|
4 years ago |
Colin McMillen
|
654bb7fe97
|
load JSON files directly instead of embedding in XML.
|
4 years ago |
Colin McMillen
|
4bcb0d9b95
|
fix SharedTests references to JSON library.
|
4 years ago |
Colin McMillen
|
bc369fcbc4
|
add convert_sprite_json script
|
4 years ago |
Colin McMillen
|
9672fabcfd
|
Add Sprite class & load sprite metadata from JSON.
|
4 years ago |
Colin McMillen
|
4299a009b7
|
use auto property
|
4 years ago |
Colin McMillen
|
d270efe643
|
move Player into World
|
4 years ago |
Colin McMillen
|
602a8297e6
|
add .gitattributes
|
4 years ago |
Colin McMillen
|
9633bcca35
|
lint.py: one more .. to find sneak_root
|
4 years ago |
Colin McMillen
|
f801f95551
|
move to a root LICENSE.txt
|
4 years ago |
Colin McMillen
|
e5c6811ef9
|
remove copybara (no longer needed)
|
4 years ago |
Colin McMillen
|
9e33207850
|
add .gitignore
|
4 years ago |
Colin McMillen
|
65fe870a9a
|
let Scene decide when to draw itself & when to play music
GitOrigin-RevId: 0eac6682b0
|
4 years ago |
Colin McMillen
|
29cf5eb0c9
|
add short music loop to demo stage
GitOrigin-RevId: 7ea3d773b1
|
4 years ago |