-
Notifications
You must be signed in to change notification settings - Fork 57
Stadium (.hbs) File Changelog
Mario Carbajal edited this page Jul 12, 2021
·
4 revisions
- Added
StadiumObject.redSpawnPointsandStadiumObject.blueSpawnPointswhich let you configure where players will spawn during kickoff and when added to the game. - Added
StadiumObject.kickOffResetwhich lets you configure the kickoff reset behaviour to reset all discs instead of just the ball and players. - Disc.color can now be set to "transparent".
-
StadiumObject.ballPhysicscan now be set to "disc0" which makes the game consider the first disc in theStadiumObject.discslist as the ball. The discs list must not be empty. - Added 6 new collision flags:
"kick","score","c0","c1","c2"and"c3". If a disc has"kick"in theircGrouplist they will become kickable like the ball. If a disc has"score"in theircGrouplist they will score goals when crossing a goal line. "c0", "c1", "c2" and "c3" don't have any special meaning and can be used for any purpose. - Added
StadiumObject.jointswhich lets you join discs together with sticks or springs. - Added
PlayerPhysics.cGroupandPlayerPhysics.radius - Added
PlayerPhysics.kickback, which is a force applied back to the player when he kicks. - Added
Disc.gravityandPlayerPhysics.gravity - Added
StadiumObject.canBeStored, if set to false the stadium can't be stored with the /store command.
- Added a Background color property.
- Added a cameraFollow property that now lets you make stadiums where the camera will center on the player and ignore the ball. Probably useful for obstacle courses or racing maps.
- Added a bias property to segments that lets you make one-way walls with configurable thickness. Useful for making bounds of maps with small and fast moving balls that would usually go through normal thin segments.