The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: SoulPour777 on January 25, 2014, 02:19:54 PM

Title: KE - Tile And Region Flash
Post by: SoulPour777 on January 25, 2014, 02:19:54 PM
Kyrie Engine - Tile and Region Flash
Version: 1
Author: SoulPour777
Version History


  • Version 1 - Successfully created a Hex based flashing tile.
  • Version 2 - Successfully created a Hex based flashing region.
  • Version 3 - Successfully changed the flashing tile in color values based on DP3's rgb to hex conversion.
  • Version 4 - Successfully created the full script and some bug fixes by DP3.
Description


This script allows the game creator to flash tiles and region ids by the use of Color Values.

Features


Screenshots

(https://rmrk.net/proxy.php?request=http%3A%2F%2Finfinitytears.files.wordpress.com%2F2014%2F01%2Ftile-and-region-flash.jpg%3Fw%3D700&hash=287d7b4f6a98f68b171c39f055a7079454f2378d)

Instructions

To flash a tile, make the script call:
 
 tile_flash(x, y, red, green, blue)
 ^ wherein x and y means the direction of the tile and red, green and blue
 
 the color values.
 Red = 0 to 255
 Green = 0 to 255
 Blue = 0 to 255
 
 Example: tile_flash(7,10,0,255,0)
 ^ this flashes tile (7,10) to green.
 
 To flash a region, first, go to your Region (F7) and place a region number
 on the map. After that, do a script call:
 region_flash_in_map(region_id, red, green, blue)
 
 - The region number you placed should be the same with the ones you want to
 flash. For example, you want to flash in Region 1. Make a script call:
 
 region_flash_in_map(1, 0, 255, 0)
 
 ^ this flashes the entire Region 1 into Green.

Script


Get the script at SoulPour777 Scripts: http://infinitytears.wordpress.com/2014/01/22/ke-tile-and-region-flash/

Credit



Thanks


Support


If you wish to contact me about the script, such as having questions or suggestions about it, please don't hesitate to drop me a mail on my blog or contact me here at RMRK. Either way, I will respond to you quickly as soon as I received the message.

Known Compatibility Issues

- None


Author's Notes


I was at lost at first about the color conversion. DP3 was a big help on this. It saved me from reading a long article.

Terms of Use


You are free to use the script on any non-commercial projects.
You are free to adapt the script. Any modifications are allowed as long as it is provided as a note on the script.
Credits to SoulPour777 for the script.
Preserve the Script Header.
Claiming the script as your own is prohibited.
Title: Re: KE - Tile And Region Flash
Post by: modern algebra on January 27, 2014, 11:32:03 PM
Seems pretty neat SoulPour777. Thank you for sharing!