This repository has been archived on 2024-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
node-fftcg/client/scripts/40-test-entities.coffee
2018-10-01 03:39:19 +02:00

21 lines
396 B
CoffeeScript

# Load base scene
Crafty.scene "Battle"
# Testing some entities
Crafty.sprite 480, 670, '//www.fftcgmognet.com/images/cards/hd/1/1/107.jpg',
shantotto: [
0
0
]
Crafty.e 'shantotto, AllyCard, Backup'
.place 0, 0
Crafty.e 'shantotto, AllyCard, Backup'
.place 300, 0
Crafty.e 'shantotto, AllyCard, Backup'
.place 600, 0
Crafty.e 'shantotto, EnemyCard, Backup'
.place 900, 0