animation or events?

Discussion and feedback on Construct 2

Post » Wed Sep 07, 2011 11:07 pm

Before I do what I have plan to do, I though to ask you.

I want to make nice animated logo (few letters appearing from nowhere) for my game but can't make my mind which way I should go.

I though about using two metods:
1. One 280x40 image with transparency and xxx frames
2. 25-30 quite small sprites (max 30x20) and animate them by events.

My biggest question is: what will work better for browser game?
Inserting one image with very long animation - thinking about 7s = a lot of frames (aprox. 2kb when everything is displayed on frame) or 30 small images with a lot of events.

Obviously playing already animated sprite will be easier and faster to implement instead of setting events for every sprite to achieve same looking effect - basic stuff with opacity, size and timing.

ImageImageImageImage
B
155
S
62
G
41
Posts: 2,587
Reputation: 34,414

Post » Wed Sep 07, 2011 11:11 pm

Whenever possible, I would recommend animating things by events and sprites. It makes for a much, much smaller download, and actually is smoother than animation frames (unless you're really going to import an animation with 60 frames per second). Yes it's a bit more work, but IMO it's much better.
Scirra Founder
B
382
S
222
G
84
Posts: 23,984
Reputation: 189,235

Post » Wed Sep 07, 2011 11:35 pm

Thanks Ashley. Not affraid of extra work with events, I was more concern about speed and quality after export to web. If I can get better results by making more 100 events than import 100 frames i will go that way :)
Thanks again.
ImageImageImageImage
B
155
S
62
G
41
Posts: 2,587
Reputation: 34,414


Return to Construct 2 General

Who is online

Users browsing this forum: ErekT, nemezes, TheRealDannyyy and 8 guests