Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

ct.js

Create cool 2D games with a free game editor! · By Cosmo Myzrail Gorynych

sprite composer

A topic by qwik06 created Apr 27, 2019 Views: 60 Replies: 1
Viewing posts 1 to 2

as, I'm learning the ins and outs of ct.js I decided to give the catmod SPRITE COMPOSER a try. apparently, I am doing something wrong or I have some code in the wrong place.  nothing happens when I insert 

this.graph ='nameOfAnimation';

[code inside catmods settings]

ct.sprite(

'textureName', 'nameOfAnimation'

[1,2,3,4]

);

what am I missing??

Developer

It should be this.tex = 'nameOfAnimation'; for version next-3

I forgot to update its docs (: