Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Help with the layers

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sun Jun 28, 2009 12:38 am    Post subject: Help with the layers Reply with quote

I would implement a weather effect : rain.

I was thinking about using layer. I've draw rain in my titlesets and even managed to place it on map. Now there's a zone with rain on it.

I've placed using map layer nb2 and when my hero walk on the zone we still can see him. The rain appear before him.

To embetter the effect I need to make rain animation. How could I do that?

All your pieces of advice are welcomed!
_________________
It's time to make games!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sun Jun 28, 2009 5:38 am    Post subject: Reply with quote

You can animate tiles regardless of what layer they're on.
Back to top
View user's profile Send private message Send e-mail AIM Address
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Mon Jun 29, 2009 3:25 am    Post subject: that's a great idea! Let's do that! Reply with quote

Yes that's a great idea! How can I animate tiles regardless of what layer they're on?

Do you have to use plotscrpting? What should I put in the layers?

Thanks in advance for your help!
_________________
It's time to make games!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Mon Jun 29, 2009 4:58 am    Post subject: Reply with quote

No plotscripting.
Just regular 'Define Tile Animation' will do.

Once you set up a pattern for the tileset that your rain-tiles are on, go to the map editor and the layer which the rain is all placed on (You can press Ctrl+F to fill the screen with a tile) and then press [ctrl+x], where 'x' is the corresponding animation number (first being 1 and etcetera).

[Ctrl+x] will animate every tile of the type your cursor is currently on and animate it with the pattern indicated.
Back to top
View user's profile Send private message Send e-mail AIM Address
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Thu Jul 02, 2009 12:03 pm    Post subject: All right! Reply with quote

I've managed to implement the weather effect!

I also would like to start and stop the animation using a tag : it is not necessary that it rains all the time.

Could you please give me advice om how to do?

Thanks for your help!
_________________
It's time to make games!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Jul 02, 2009 8:00 pm    Post subject: Reply with quote

Tile animations let you check tags in the middle of an animation, or disable the animation altogether depending on a tag.
For example, in Wandering Hamster all the banners in Broaste's castle change colour after you defeat him. This is done using a tile animation.

So you could disable the tile animation when a tag is set, start on a blank tile, and have an animation pattern that immediately moves from the blank tile to the first rain tile, without waiting, eg:

right 1
wait 2
right 1
...

If the animation is disabled, then it stays on the blank tile. If it's not disabled, then it immediately goes to the first rain tile without ever showing the blank tile.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group