mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2025-01-30 14:50:13 -05:00
Continue level
This commit is contained in:
parent
f210113f4f
commit
2ccabcc6f6
@ -23,7 +23,10 @@ elementTypes = [
|
||||
"CARD0",
|
||||
"CARD1",
|
||||
"CARD2",
|
||||
"LOCK0"
|
||||
"LOCK0",
|
||||
"LOCK1",
|
||||
"LOCK2",
|
||||
"BLOCKER"
|
||||
]
|
||||
|
||||
propertyTypes = [
|
||||
|
BIN
assets/levelX.gif
Normal file
BIN
assets/levelX.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
7
main.c
7
main.c
@ -1023,9 +1023,12 @@ RCL_Unit SFG_floorHeightAt(int16_t x, int16_t y)
|
||||
}
|
||||
else if (properties == SFG_TILE_PROPERTY_ELEVATOR)
|
||||
{
|
||||
RCL_Unit height =
|
||||
SFG_TILE_FLOOR_HEIGHT(tile) * SFG_WALL_HEIGHT_STEP;
|
||||
|
||||
return SFG_movingWallHeight(
|
||||
SFG_TILE_FLOOR_HEIGHT(tile) * SFG_WALL_HEIGHT_STEP,
|
||||
SFG_TILE_CEILING_HEIGHT(tile) * SFG_WALL_HEIGHT_STEP,
|
||||
height,
|
||||
height + SFG_TILE_CEILING_HEIGHT(tile) * SFG_WALL_HEIGHT_STEP,
|
||||
SFG_game.frameTime - SFG_currentLevel.timeStart);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user