Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ScreenWidth is width of screen in number of pixels ScreenWidth = 320 // ScreenHeight is height of screen in number of pixels ScreenHeight = 240 // MapWidth is width of the map in number of columns MapWidth = ScreenWidth / PlayerWidth // MapHeight is height of the map in number of rows MapHeight = ScreenHeight / PlayerWidth SizeFactor = 1.5 GameTitle = "YasamSim" Gravity = 0.1 JumpSpeed = 2 MovementSpeed = 2 ProjectileSpeed = 2 // LayerCollisionDifference is half the thickness of every object. LayerCollisionDifference = 5 ProjectileLatency = 8 CollisionDistance = 30 KharediWidth = 16 KharediHeight = 24 PlayerWidth = 16 PlayerHeight = 24 ProjectileWidth = 8 ProjectileHeight = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.