summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_brawlers/load/character.lua
blob: a56999493f4da1a826b4c6a495b3cb8df6df36a4 (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
32
--[[ 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',
    fall         = require 'meta_sprites/bola/fall',
    actionLeft   = false,
    actionRight  = false,
    actionUp     = false,
    actionDown   = false,
    actionA      = false,
    actionB      = false,
  },
}