So I'm trying to create an OoT-like shop system where the items are displayed on-screen and you select them with a cursor, but I'm having some issues.
The gist of it is that I have one event which uses GALV's plugin to draw the cursor to the correct coordinates based on active switches, another event which turns those switches on or off depending on the directional button (<-/->) that is being triggered, another event which checks to see if the OK button is being triggered (which then starts the transaction process), and another which checks for the Cancel button to exit the entire thing:
The end result works somewhat as intended, but is laggy (drops from 60fps to 4fps?) and glitchy. Certain things happen simultaneously that shouldn't (e.g., you can still move the cursor or even exit the whole process at inappropriate times) and I'm having issues getting the cursor to disappear once the player has selected an item.
Does anyone know of a better way I could accomplish this?
The gist of it is that I have one event which uses GALV's plugin to draw the cursor to the correct coordinates based on active switches, another event which turns those switches on or off depending on the directional button (<-/->) that is being triggered, another event which checks to see if the OK button is being triggered (which then starts the transaction process), and another which checks for the Cancel button to exit the entire thing:
The end result works somewhat as intended, but is laggy (drops from 60fps to 4fps?) and glitchy. Certain things happen simultaneously that shouldn't (e.g., you can still move the cursor or even exit the whole process at inappropriate times) and I'm having issues getting the cursor to disappear once the player has selected an item.
Does anyone know of a better way I could accomplish this?