Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Mouse Script Trouble

e

Sponsor

I don't know, but the art looks cool!

As for the error, it seems you're missing the global $mousex, which appears undefined in your case (though the demo works fine).

So...did you make sure to copy what's in the Main of the demo?

If not, in the Main script, under begin, put:

Code:
#set up mouse
  $mouse_icon = "Arrow"
  $move = 0
  $mousex = 0
  $mousey = 0 
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top