hexi
hexi copied to clipboard
Issues with this.FrameSeries() asking for 11 frame to be cached
let g = ...
let playerFrames, player
function setup(){
playerFrames = g.frameSeries(11, 18, "w_s_", ".png") player = g.sprite(playerFrames)
}
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 :)