Thread: Animated tiles?
View Single Post
  #3  
Old 06-24-2007, 08:00 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Well it'd be more of the number of times to divide the image.
Say, in this example. You have 4 16x16(a 32x32 block) tiles that animate(maybe water tiles), and the water has 3 frames of animation. You'd tile each frame of the animation horizontally, save it, and do:
addtiledef3(watertiles.png,world_,0,80,3);
And it would animate the tiles through Graal, and not by just displaying a gif. Much like it does with the flower tiles, though a bit different as each frame won't have to be stored in the tileset image. The size of the image would look akin to the one attached.
Attached Images
 
Reply With Quote