diff options
author | Jorge Lopez Seijas <jorginho@riseup.net> | 2016-12-14 23:22:19 +0100 |
---|---|---|
committer | Jorge Lopez Seijas <jorginho@riseup.net> | 2016-12-14 23:22:19 +0100 |
commit | 2ad018f3f77e7a0ddde9dfa3aa92bc151e9ea9a5 (patch) | |
tree | e8100ebbabb2eadd27161c7cd5b7e9db3ec8145e /src/gnu_and_bola_brawlers/load/character.lua | |
parent | 49bc7c67d38ee6f474465423f85089c3d4d47de3 (diff) |
Keep the code KISS
Diffstat (limited to 'src/gnu_and_bola_brawlers/load/character.lua')
-rw-r--r-- | src/gnu_and_bola_brawlers/load/character.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gnu_and_bola_brawlers/load/character.lua b/src/gnu_and_bola_brawlers/load/character.lua new file mode 100644 index 0000000..6ee15c7 --- /dev/null +++ b/src/gnu_and_bola_brawlers/load/character.lua @@ -0,0 +1,29 @@ +return { + bola = { + orientation = 0, + acceleration = 0, + velocity = 125, + gravity = -500, + position = { + x = windowProfile.mode.width / 2, + y = windowProfile.mode.height / 2, + }, + scale = { + x = 1, + y = 1, + }, + origin = { + x = metaSprites.bola.x / 2, + y = metaSprites.bola.y / 2, + }, + stand = require 'stand', + walk = require 'walk', + jump = require 'jump', + actionLeft = false, + actionRight = false, + actionUp = false, + actionDown = false, + actionA = false, + actionB = false, + }, +} |