View Full Version : Is the impossible possible?
Eugene
10-19-2005, 04:27 PM
Is there any easy way to have it so when a certian special is activated that a row of different tiles basically animates one frame?
So I want to have all the tiles in a row(which are different tiles images) all have an increase by one in tile image except the highest ones which would loop back to the lowest image.
Hammered
10-19-2005, 04:30 PM
Just make an animated tile loop and then load the row on the screen with the 1st tile, the 2nd tile, the 3rd tile, etc.
drgamer
10-19-2005, 04:33 PM
So is it one tile = one animation
(Only one tile animation, and not spreading to other tiles?)
Well, if you're trying to do something that's very long and includes alot of tiles, you'd be wasting tiles...
However if it's one tile and only a few more 'slides' then check the tile editor;
normaly I'd sugest:
http://www.geocities.com/betsche/builderindex.html
but it seems that the 'animations' link doesn't go to anything anymore
Eugene
10-19-2005, 04:39 PM
I'll try and make my self more clear.
My problem is mostly with the specials.
I want to have a row of tiles in the level change like the would if they were animated but only one frame/tile image.
An example:
Lets say I have a row of tiles with the ice/ cracked ice images. Hypothetically I might want them all to become more cracked in appearance(and the fully broken one freeze up) when I step on a specific spot.
Hammered
10-19-2005, 04:45 PM
How many tiles are in your row?
Eugene
10-19-2005, 04:48 PM
4-9
I'd like to have quite a few but I have a feeling that more than 4 or 5 would make things start to get difficult.
Hammered
10-19-2005, 05:13 PM
If it's that few, you shouldn't have too much trouble or use up too many specials with this method. I will use the tiles at locations 12,7-15,7 and the 1st tile in the animation as #60 as an example and you can tweek it according to your needs:
(I only am including the effects)
Set Variable V0 to 12T7-59%4+60
Tile Variable Single Tile at 12,7 to V0
Set Variable V0 to 13T7-59%4+60
Tile Variable Single Tile at 13,7 to V0
and in another special which chains off the first:
Set Variable V0 to 14T7-59%4+60
Tile Variable Single Tile at 14,7 to V0
Set Variable V0 to 15T7-59%4+60
Tile Variable Single Tile at 15,7 to V0
This code will handle both incrementing the tile and cycling back to the beginning. You can handle 2 tiles per special. For more than 4 tiles add more specials that chain off of the first. Adjust the 59s and 60s accordingly, if the first animation tile is not at position 60 in the tile file, adjust the 4s if there are more than 4 tiles in the animation, and adjust the xTy's to be the actual addresses of the files involved.
Mr.Onion
10-20-2005, 03:21 AM
Hold on... if you've got the space why don't you NOT make them animate and use copy map?
Hammered
10-20-2005, 04:33 AM
Because if they animate they would animate all the time and that isn't what he wanted.
Mr.Onion
10-20-2005, 04:39 AM
What I mean is have them not animate and have the sequence stored off-map and copy it into visibilty when needed.
Eugene
10-20-2005, 11:56 AM
Hammered explained it the way I was thinking and I'm going to use that for now. Once I release the first version of my world you can see if whatever way you are thinking would work better.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.