09-27-2019, 10:47 PM
(04-07-2012, 08:48 PM)DerVVulfman Wrote: Selwyn did not create an on/off switch for this system. It's a case of either you use it, or not.
Technically, you could make a switch that only turned the cursor on by.....
...going into the initialize method of Window_Selectable and doing:
Code:@cursor = Sprite_Cursor.new(x, y) if $cursor_switch == true
...going into the dispose method of Window_Selectable and doing:
Code:@cursor.dispose if $cursor_switch == true
...going into the update method of Window_Selectable and doing:
Code:update_cursor if $cursor_switch == true
... and retooling the update_cursor_rect for that class to accommodate an on/off switch.
I used $cursor_switch as a global switch for a convenient example basis.
Sorry for the necroposting, but I didn't really understood what do you mean for "retooling the the update_cursor_rect" also, where should i put the switch? i mean, where to definite the number of the switch.
(This below is my signature, it's not part of the post/message)
I'm a male and italian indie game developer, spriter and musician.
I'm currently working on my own indie game, called Our Destiny.
Follow it on it's GameJolt page: https://gamejolt.com/games/ourdestinyofficial/449988
----Contacts----
Twitter: https://twitter.com/Andrea87Sky
SoundCloud: https://soundcloud.com/skycraft-team-official/tracks
YouTube: https://www.youtube.com/channel/UCjPA_e7...subscriber
I'm a male and italian indie game developer, spriter and musician.
I'm currently working on my own indie game, called Our Destiny.
Follow it on it's GameJolt page: https://gamejolt.com/games/ourdestinyofficial/449988
----Contacts----
Twitter: https://twitter.com/Andrea87Sky
SoundCloud: https://soundcloud.com/skycraft-team-official/tracks
YouTube: https://www.youtube.com/channel/UCjPA_e7...subscriber