Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

help with making tiles flash

wlzza

Sponsor

Need help!

I want to make a tile, lets say at x variable and y variable to start flashing once a certain switch is on. I know you can do this by using just events, but it will be just too many to create in my game.

I know it has something to do with:
$scene.spirteset.tilemap.flash_data[x,y] = 0xfff

But I still don't know how to put it together into a script. Help appreciated.

Cheers
 

arev

Sponsor

is it just one tile that would flash, or you need more? if it's one then you could teleport an event to the tile and play a animation on it/constantly change its graphic.
 

wlzza

Sponsor

arevulopapo said:
is it just one tile that would flash, or you need more? if it's one then you could teleport an event to the tile and play a animation on it/constantly change its graphic.

actuallys thats what i'm doing in my game. but theres too many of them so it kinda lags. sooo i'm looking for the script solution.
 
For some reason, the flash data was perfectly created in the tilemap class, but never once part of the default Enterbrain Scripts.

http://www.rmxp.org/forums/showthread.php?t=7686

That's my encounter control script. Look in Spriteset_Map for the creation of the flash data addons. I also suggest the color to hexidecimal converter I added so it will convert a RPG Color to a hexidecimal, which is what the flash data uses.

If you need any help, just ask, and I can remove all the encounter control elements out so it just adds the flash data to the game.
 

wlzza

Sponsor

SephirothSpawn said:
If you need any help, just ask, and I can remove all the encounter control elements out so it just adds the flash data to the game.

I'm having a go at it myself now, if you could I would appreciate it a lot if you could remove all the encounter control elements. I want to compare. Thanks a million!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top