Slick Forums

Discuss the Slick 2D Library
It is currently Wed May 22, 2013 8:28 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: SVG/Shape Morphing Demo
PostPosted: Wed Oct 24, 2007 9:38 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
I've added some experimental stuff to morph between a series of shapes, and extended this to allow morphing between a series of SVG diagrams.

Here's the demo:

http://slick.cokeandcode.com/demos/svgmorph.jnlp

Please excuse my poor artwork/animation skills. There are 4 frames of SVG (which you can see in SVN).

It'd probably be useful for fixed animation cycles. Potentially small size on disk and scalable for different resolutions. There might also be the option of rendering these into an offscreen image at the size you want at the start of the game to get normal image animation going.

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 24, 2007 10:16 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
I'm so proud of myself (for implementing a silly feature) I even you tubed it:

http://www.youtube.com/watch?v=OYTh3E2AaKY

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 25, 2007 10:49 am 
Offline

Joined: Fri Dec 01, 2006 3:56 pm
Posts: 34
Location: The Netherlands
kevglass wrote:
I'm so proud of myself (for implementing a silly feature) I even you tubed it

Thanks Kev, this could be very useful.

Isn't animation also part of the SVG spec BTW? It could be very nice to have animated walk cycles for ingame SVG characters. I'm thinking Monkey Island 3-alike 2D graphics adventures that scale properly to each resolution.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 25, 2007 12:11 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
SVG has some SMIL apparantly for animation but I've not looked at supporting it. This stuff could be used to do that tho :)

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 9:20 am 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Zombies!:

http://www.youtube.com/watch?v=ObU8sggfKMI

I was bored, k?

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 10:13 am 
Offline
Regular

Joined: Tue Jun 19, 2007 7:35 am
Posts: 233
Location: Germany
k, nice btw :D

a suggestion:
take this for the background music :)

_________________
Embero Games | Astroiz | ConK | From Outa Space


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group