summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_brawlers/load/character.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnu_and_bola_brawlers/load/character.lua')
-rw-r--r--src/gnu_and_bola_brawlers/load/character.lua29
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,
+ },
+}