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
164
S
49
G
138
Posts: 7,957
Reputation: 91,880

Post » Thu Jun 25, 2009 2:20 am

loading all the frames at a time is a good idea, that works much nicer
B
141
S
68
G
17
Posts: 1,769
Reputation: 20,224

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest