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
164
S
49
G
111
Posts: 7,622
Reputation: 77,943

Post » Thu Jun 25, 2009 2:20 am

loading all the frames at a time is a good idea, that works much nicer
B
136
S
66
G
17
Posts: 1,766
Reputation: 19,865

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests