C-Dawg
12-11-2006, 09:51 PM
I've been tinkering with a combination of _L_'s sideview gravity flag and a script of my own to allow the player to jump using the L button, and to allow for variable jumping heights. This is working pretty well so far, but I've encountered one snag.
When Link jumps up off the top of a screen, he switches to a screen running a new FFC script. (I have FFCs running my jump script). Then, the gravity script takes over and yanks him down. So, in effect, he can't jump to a higher screen.
I imagine the solution here is to use a global variable to keep track of Link's jumping status. But when I tried declaring such a global variable (outside of FFC scripts in the buffer) I just got an error message. What gives?
When Link jumps up off the top of a screen, he switches to a screen running a new FFC script. (I have FFCs running my jump script). Then, the gravity script takes over and yanks him down. So, in effect, he can't jump to a higher screen.
I imagine the solution here is to use a global variable to keep track of Link's jumping status. But when I tried declaring such a global variable (outside of FFC scripts in the buffer) I just got an error message. What gives?