mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Centered spineboy.
This commit is contained in:
parent
95c550bc0c
commit
d91ea8d5a5
@ -11,8 +11,8 @@ function skeleton:createImage (attachment)
|
||||
-- Customize where images are loaded.
|
||||
return love.graphics.newImage("data/" .. attachment.name .. ".png")
|
||||
end
|
||||
skeleton.x = 150
|
||||
skeleton.y = 325
|
||||
skeleton.x = love.graphics.getWidth() / 2
|
||||
skeleton.y = love.graphics.getHeight() / 2 + 150
|
||||
skeleton.flipX = false
|
||||
skeleton.flipY = false
|
||||
skeleton.debugBones = true -- Omit or set to false to not draw debug lines on top of the images.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user