2018-08-17 03:37:19 +00:00
|
|
|
package balance
|
|
|
|
|
|
|
|
// Numbers.
|
|
|
|
var (
|
2018-10-08 17:38:49 +00:00
|
|
|
// Window dimensions.
|
|
|
|
Width = 1024
|
|
|
|
Height = 768
|
|
|
|
|
2018-08-17 03:37:19 +00:00
|
|
|
// Speed to scroll a canvas with arrow keys in Edit Mode.
|
|
|
|
CanvasScrollSpeed int32 = 8
|
2018-09-23 22:20:45 +00:00
|
|
|
|
2019-04-10 01:28:08 +00:00
|
|
|
// Window scrolling behavior in Play Mode.
|
2019-04-19 05:02:59 +00:00
|
|
|
ScrollboxHoz = 256 // horizontal px from window border to start scrol
|
2019-04-10 01:28:08 +00:00
|
|
|
ScrollboxVert = 128
|
2019-04-14 22:25:03 +00:00
|
|
|
ScrollMaxVelocity = 8 // 24
|
2019-04-10 01:28:08 +00:00
|
|
|
|
|
|
|
// Player speeds
|
2019-04-10 02:17:56 +00:00
|
|
|
PlayerMaxVelocity = 8
|
2019-04-10 01:28:08 +00:00
|
|
|
PlayerAcceleration = 2
|
|
|
|
Gravity = 2
|
|
|
|
|
2018-09-23 22:20:45 +00:00
|
|
|
// Default chunk size for canvases.
|
2018-10-18 06:01:21 +00:00
|
|
|
ChunkSize = 128
|
2018-09-26 17:04:46 +00:00
|
|
|
|
|
|
|
// Default size for a new Doodad.
|
|
|
|
DoodadSize = 100
|
2019-07-03 23:22:30 +00:00
|
|
|
|
|
|
|
// Size of Undo/Redo history for map editor.
|
|
|
|
UndoHistory = 20
|
2018-08-17 03:37:19 +00:00
|
|
|
)
|
2018-10-20 22:42:49 +00:00
|
|
|
|
|
|
|
// Edit Mode Values
|
|
|
|
var (
|
|
|
|
// Number of Doodads per row in the palette.
|
|
|
|
UIDoodadsPerRow = 2
|
|
|
|
)
|