summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_brawlers/load/character.lua
blob: 5d2a6a4cfc2830a2d86941b288a3db3c07120aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--[[ Contains parameters about the game characters ]]--

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 = images.bola.x / 2,
      y = images.bola.y / 2,
    },
    stand        = require 'meta_sprites/bola/stand',
    walk         = require 'meta_sprites/bola/walk',
    jump         = require 'meta_sprites/bola/jump',
    actionLeft   = false,
    actionRight  = false,
    actionUp     = false,
    actionDown   = false,
    actionA      = false,
    actionB      = false,
  },
}