Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

hi great plugin really enjoying the versatility of it compared to other similar plugins, just wanted to know is there a way to change 8 directional sprites script calls, what i mean is it possible to toggle the use of 8 direction sprite sheets on and off via script?

(+1)

Well.. it's untested but, you CAN manually toggle 8 directional sprites on or off at any time( you will need to change the sprite of the character to match the format though at the same time ), with the following script call..

// for the player.
$gamePlayer._8dirSprite = true;
// for events.
$gameMap.event( ID )._8dirSprite = true;


The above will turn ON 8 directional sprites, if you set the value to false it will turn them off instead. and replace "ID" with the actual ID of targetted event.

Lastly do not forget to change the sprites! otherwise you will get some... graphical issues :x

(2 edits)

Oh nice thanks heaps I'll try it out asap 😊👍

// for the player. $gamePlayer._8dirSprite = true; dosnt seem to work, i did add a little bit to the code at line 9525 to get it working though  
// for events. $gameMap.event( ID )._8dirSprite = true;  works fine 
thanks again ps. looking forward to trying out the abs plugin when i am able to purchase it