Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal Main Forum (English) (https://forums.graalonline.com/forums/forumdisplay.php?f=4)
-   -   Animated tiles? (https://forums.graalonline.com/forums/showthread.php?t=48718)

davidpsy 10-19-2003 11:53 AM

Animated tiles?
 
Ive got a question is it possable to have animated tiles like animated water tiles. If so Would I just have the animated tiles in a seperated from tileset animated gif/mng file and put it on the tileset with the addtilesef2 x and y thing? Or would I like have 1 frame of the tile on the tileset and then put the animated gif over that part on the tileset with the 1 frame missing from the animated gif that it is over on the tileset? Because I rember once putting tiles over the animated flower tile it and it showed the tile and then the flower then the tile again like it was doing an animation. So umm if all of these are wrong and it is still possable how do I use animated tiles without having to make it in to an npc with the script tiles have?

DustyPorViva 10-19-2003 11:58 AM

I've added an animated GIF to the tileset, it worked fine for me.

Scott 10-19-2003 01:07 PM

In the scripting forum Giltwist made a thread about his animated water system, and the script is in it.

davidpsy 10-19-2003 02:02 PM

Quote:

Originally posted by Scott
In the scripting forum Giltwist made a thread about his animated water system, and the script is in it.

Please give me the link?

Monkeyboy_McGee 10-19-2003 02:30 PM

Doesn't one of those little yellow flowers in the default tileset have an animated thingy? Like...it twinkles or something (only way i can describe it). Dont ask me how to do it though, im just pointing out an example :rolleyes:

ETD 10-19-2003 07:25 PM

Quote:

Originally posted by Monkeyboy_McGee
Doesn't one of those little yellow flowers in the default tileset have an animated thingy? Like...it twinkles or something (only way i can describe it). Dont ask me how to do it though, im just pointing out an example :rolleyes:
it goes from 1 tile, to 3 other tiles which are farther to the right in the tileset...
it's animated, by moving from 1 tile, to another, to another, each with a little different shape

if you did this for a large number of tiles, it would take a lot of room on the tileset, especially if you used a lot of frames... also, I don;t know if you can re-script the tileset to do that...

DustyPorViva 10-19-2003 07:30 PM

Quote:

Originally posted by ETD
also, I don;t know if you can re-script the tileset to do that...
It's possible.

Spark910 10-19-2003 08:53 PM

Quote:

Originally posted by DustyPorViva

It's possible.

Indeed... Kingdoms (and era)

ETD 10-19-2003 09:11 PM

Quote:

Originally posted by Spark910


Indeed... Kingdoms (and era)

I thought they used a different kind of tileset?
like, classic is pics1.png and era uses picso.png (I think), and I thought the script to use each tileset was different...

I mean, can an average person make a tileset useing different parts? because my PW used the classic tileset as a template, and fit our tiles into the already-scripted parts. (which was tricky)

Zethar 10-20-2003 03:53 AM

Hoe exactly would you have animated tiles in a tileset X_X

DustyPorViva 10-20-2003 03:59 AM

Either:

-Scripting the tiles to animate
-addtiledef an animated GIF image.

zokemon 10-27-2003 02:47 AM

its really simple just do loop with somehing like this in it
NPC Code:
if (tiles[x,y]=thetilenumber) tiles[x,y]=theothertilenumber;


like maybe:
NPC Code:

timeout=0.05;
if (tiles[x,y]=0x00F5) tiles[x,y]=0x01CD;
else if (tiles[x,y]=0x01CD) tiles[x,y]=0x01CE;
else if (tiles[x,y]=0x01CE) tiles[x,y]=0x00F5;


(i just picked random numbers i dont no what they r xD)

DarkShadows_Legend 10-27-2003 04:49 PM

Read newfeatures2001.txt
It is possible, but the text file says you risk having quite a bit of lag along with it.

davidpsy 10-27-2003 07:57 PM

Quote:

Originally posted by DarkShadows_Legend
Read newfeatures2001.txt
It is possible, but the text file says you risk having quite a bit of lag along with it.


screw the low end users!!!;)

Crono 10-28-2003 02:17 PM

Quote:

Originally posted by davidpsy



screw the low end users!!!;)

I can't wait until your computer breaks down and you have to use your 133 laptop with 16 ram and a 28.8k modem. Did I mention the 2 MB ULTRA 1337 graphics card?

DustyPorViva 10-28-2003 02:30 PM

Quote:

Originally posted by davidpsy



screw the low end users!!!;)


Shh... your gonna scare people away from Sans...

First with your 3mb bmp tilesets, then because you don't care about lagging a server.

davidpsy 10-28-2003 02:31 PM

Quote:

Originally posted by Gerami


I can't wait until your computer breaks down and you have to use your 133 laptop with 16 ram and a 28.8k modem. Did I mention the 2 MB ULTRA 1337 graphics card?


See the thing is my laptop is not that old and I'm pretty sure my computer Wont break down yeah...

adam 10-28-2003 05:53 PM

Quote:

Originally posted by DustyPorViva
Either:

-Scripting the tiles to animate
-addtiledef an animated GIF image.


Surely you mean MNG

DustyPorViva 10-29-2003 12:34 AM

No, I meant GIF, no reason not to.

adam 10-29-2003 02:41 AM

Quote:

Originally posted by DustyPorViva
No, I meant GIF, no reason not to.
Unless things have changed, which is entirly possible.


Graal does not want people to use GIF anymore.

DustyPorViva 10-29-2003 02:57 AM

Things have changed.

The whole thing with GIF has been over for a while.
We're now allowed to use them.

KJS 10-29-2003 10:17 AM

hehe, I remeber a while back ago I used the board[] thing and made animated tiles that way, I made a beach front, and the water moved up and down on the sand, some spots moved faster then others and back around, but all the tiles still connected together

it was kind of cool, too bad I didn't save it.


All times are GMT +2. The time now is 06:28 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.