hexi icon indicating copy to clipboard operation
hexi copied to clipboard

Issues with this.FrameSeries() asking for 11 frame to be cached

Open jrfoxw opened this issue 7 years ago • 0 comments

let g = ...

let playerFrames, player

function setup(){

playerFrames = g.frameSeries(11, 18, "w_s_", ".png") player = g.sprite(playerFrames)

}

image

The error above points to the code at top.

I think I might be misunderstanding how the cache works, although it works the default way of putting every mapped texture into an array

e.g. let player = g.sprite([ "player_00.png", "player_01.png", ... ])

Any help would be grand :)

jrfoxw avatar May 24 '17 22:05 jrfoxw