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 Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Thu Jun 25, 2009 2:20 am

loading all the frames at a time is a good idea, that works much nicer
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests