plugin for disable automatic shadows

afonsobr

Veteran
Veteran
Joined
Oct 28, 2015
Messages
30
Reaction score
3
First Language
PT_BR
Hello, i was looking for a plugin that removes the auto shadow generated by some tiles. You can see that some tiles don't generate, and the result is something like:

i've found a code for VX, but i was looking for MV:

#Credits for Abt Ploutonclass Game_Mapattr_writer :autoshadowsdef autoshadows# Set autoshadows to false if it is not yet defined@autoshadows = @autoshadows == nil ? false : @autoshadowsreturn @autoshadowsendalias ma_remove_auto_shadows_on_setup setupdef setup (map_id)ma_remove_auto_shadows_on_setup (map_id)# Rather than repeatedly call a method, set a local variable to have it's datama_data = datareturn if autoshadows# For all squares on the mapfor x in 0...ma_data.xsizefor y in 0...ma_data.ysize# If there is an autoshadow on this tileif ma_data[x,y,1] == 0# Delete auto Shadowma_data[x,y,1] = ma_data[x,y,0]ma_data[x,y,0] = 0endendendendend
Thanks!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
There is one included with the default resources.  It's in your dlc folder, under the RMWeb plugins folder, under Archeia's folder.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top