Hamumu Software Hamumu Software
Hamumu Software
BETA!
Name
Password Register
Latest Journal update: Aug 31, 2010
Old 10-19-2005, 04:27 PM   #1
Eugene
Medium Mortal
 
Eugene's Avatar
 
Join Date: Oct 2005
Posts: 18
Default Is the impossible possible?

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.
Eugene is offline   Reply With Quote
Old 10-19-2005, 04:30 PM   #2
Hammered
Nailed It!
 
Hammered's Avatar
 
Join Date: Mar 2004
Location: Gone forever
Posts: 4,101
Default

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.
__________________
Hammered is offline   Reply With Quote
Old 10-19-2005, 04:33 PM   #3
drgamer
Lynch: Drgamer
 
drgamer's Avatar
 
Join Date: Jun 2004
Posts: 1,533
Default

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
__________________
Short story stuff!
Last update. 26-JUNE-2008 Late sig update
drgamer is offline   Reply With Quote
Old 10-19-2005, 04:39 PM   #4
Eugene
Medium Mortal
 
Eugene's Avatar
 
Join Date: Oct 2005
Posts: 18
Default

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.
Eugene is offline   Reply With Quote
Old 10-19-2005, 04:45 PM   #5
Hammered
Nailed It!
 
Hammered's Avatar
 
Join Date: Mar 2004
Location: Gone forever
Posts: 4,101
Default

How many tiles are in your row?
__________________
Hammered is offline   Reply With Quote
Old 10-19-2005, 04:48 PM   #6
Eugene
Medium Mortal
 
Eugene's Avatar
 
Join Date: Oct 2005
Posts: 18
Default

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.
Eugene is offline   Reply With Quote
Old 10-19-2005, 05:13 PM   #7
Hammered
Nailed It!
 
Hammered's Avatar
 
Join Date: Mar 2004
Location: Gone forever
Posts: 4,101
Default

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.
__________________
Hammered is offline   Reply With Quote
Old 10-20-2005, 03:21 AM   #8
Mr.Onion
Evil, random-voting vegetable
 
Mr.Onion's Avatar
 
Join Date: Mar 2005
Location: Down at the shore where there's no-one vacationing.
Posts: 4,690
Default

Hold on... if you've got the space why don't you NOT make them animate and use copy map?
__________________
Mr.Onion is offline   Reply With Quote
Old 10-20-2005, 04:33 AM   #9
Hammered
Nailed It!
 
Hammered's Avatar
 
Join Date: Mar 2004
Location: Gone forever
Posts: 4,101
Default

Because if they animate they would animate all the time and that isn't what he wanted.
__________________
Hammered is offline   Reply With Quote
Old 10-20-2005, 04:39 AM   #10
Mr.Onion
Evil, random-voting vegetable
 
Mr.Onion's Avatar
 
Join Date: Mar 2005
Location: Down at the shore where there's no-one vacationing.
Posts: 4,690
Default

What I mean is have them not animate and have the sequence stored off-map and copy it into visibilty when needed.
__________________
Mr.Onion is offline   Reply With Quote
Old 10-20-2005, 11:56 AM   #11
Eugene
Medium Mortal
 
Eugene's Avatar
 
Join Date: Oct 2005
Posts: 18
Default

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.
Eugene is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Site Map
Copyright 2010, Hamumu Software