I wrote a new map block, how can I animate it?

Ask and answer questions about making games and related topics. Unrelated topics go in that other forum.

Moderators: marionline, SDHawk

Post Reply
User avatar
sheamkennedy
Liquid Metal Slime
Posts: 1110
Joined: Mon Sep 16, 2013 9:29 pm
Location: Tama-shi, Tokyo, Japan
Contact:

I wrote a new map block, how can I animate it?

Post by sheamkennedy »

In my game I have a button. If you step on this button a bridge appears by using "write map block." What command can I use to to animate this map block (I have an animation set up in the editor for animation #1).
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
User avatar
Feenicks
Metal Slime
Posts: 697
Joined: Tue Aug 10, 2010 9:23 pm
Location: ON THE AIR IN THE AIR
Contact:

Post by Feenicks »

Unless I'm mistaken, you can use the same command, but just pass in the correct value for the animated tile you want.

From the plotscript dictionary, the first set's values are 160-207 and the second set's are 208-255. Think you can press A in the map editor to check exactly what value the tile your trying to write is.
User avatar
sheamkennedy
Liquid Metal Slime
Posts: 1110
Joined: Mon Sep 16, 2013 9:29 pm
Location: Tama-shi, Tokyo, Japan
Contact:

Post by sheamkennedy »

@Pheonix: Yep that worked perfectly! Thanks.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Post Reply