mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-21 16:04:05 +09:00
lightning bolt WIP, player sprite declaration macro
Former-commit-id: d4999cda37bff2aa27615183aa125bfbc8cfa975 Former-commit-id: 224aee51d4fb7e5fe9d11bf3c0cc758a5604251d
This commit is contained in:
@@ -17,8 +17,7 @@ object PlayerBuilderCynthia {
|
||||
p.actorValue["__selectedtile"] = 16
|
||||
|
||||
|
||||
p.sprite = SpriteAnimation()
|
||||
p.sprite!!.setDimension(26, 42)
|
||||
p.makeNewSprite(26, 42)
|
||||
p.sprite!!.setSpriteImage("assets/graphics/sprites/test_player_2.png")
|
||||
p.sprite!!.setDelay(200)
|
||||
p.sprite!!.setRowsAndFrames(1, 1)
|
||||
|
||||
Reference in New Issue
Block a user