Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Cho committed Jan 1, 2024
1 parent 687d858 commit c64c4c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions game/levels/02-space.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ void SpaceInit() {
GameGlobals *globals = (GameGlobals *)DynospriteGlobalsPtr;
globals->gameState = GameStateOver;
globals->counter = 0;
globals->numShips = 3;

SpaceCalculateBkgrndNewXY();
}
Expand Down
20 changes: 10 additions & 10 deletions game/levels/02-space.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
},

"Objects": [
{
"_comment": "***** Shipx Object",
"GroupID": 12,
"ObjectID": 0,
"Active": 3,
"globalX": 80,
"globalY": 95,
"InitData": [0, 1, 248, 248, 8, 8, 0, 160, 0, 100]
},

{
"_comment": "***** Game Over",
"GroupID": 6,
Expand Down Expand Up @@ -88,16 +98,6 @@
"globalX": 20,
"globalY": 100,
"InitData": [0, 2, 248, 248, 8, 8, 0, 245, 0, 150, 0, 0, 0, 0]
},

{
"_comment": "***** Shipx Object",
"GroupID": 12,
"ObjectID": 0,
"Active": 3,
"globalX": 80,
"globalY": 95,
"InitData": [0, 1, 248, 248, 8, 8, 0, 160, 0, 100]
}
]
}
Expand Down

0 comments on commit c64c4c9

Please sign in to comment.