maximum animation number

For questions about using Classic.

Post » Wed Jun 24, 2009 8:52 pm

I checked this out a bit. I was thinking you would need to time it per tick, but it seems to work fine with one event. So there's probably no reason why you couldn't use a loop for all of it.
System: 1Start of layout
> SpritePause current animation
> SpriteSet animation frame to 2
> SpriteLoad frame from AppPath&"attack e0001.bmp"
> SpriteSet animation frame to 3
> SpriteLoad frame from AppPath&"attack e0002.bmp"
> SpriteSet animation frame to 4
> SpriteLoad frame from AppPath&"attack e0004.bmp"
> SpriteSet animation frame to 5
> SpriteLoad frame from AppPath&"attack e0005.bmp"
> SpriteSet animation frame to 6
> SpriteLoad frame from AppPath&"attack e0006.bmp"
> SpriteSet animation frame to 7
> SpriteLoad frame from AppPath&"attack e0007.bmp"
Image ImageImage
B
169
S
50
G
173
Posts: 8,321
Reputation: 110,286

Post » Thu Jun 25, 2009 2:20 am

loading all the frames at a time is a good idea, that works much nicer
B
149
S
75
G
20
Posts: 1,791
Reputation: 22,695

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest