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.

Super simple mouse movment help

khmp

Sponsor

We'll be needing a tad bit more information than a picture of the message box that displayed the error. Mainly the actual script or a link to the version you have so we can view the code.  ;)
 
Hey Dragon brother, you use SDK? since the mouse system isn't compitable with SDK ( Thats my experience)

OR

You've taken the pictures from the DEMO in to your Picture folder? If you haven't the script can't find the pictures and then it will get a Error.

Hopefully I've been helpfull, and try to be more Detailed next time...okey?
 
Ahh, Ok, -
Code:
#----------------------------------------------------------------------------
#Credits: This is an adaptation from a script created by shun ([url=http://simp.nobody.jp/]http://simp.nobody.jp/[/url])
#Also looked at Cybersam's work and Astro_mech and Mr.Mo's mouse script edits to 
#learn how onmouse events work.
#----------------------------------------------------------------------------
# TO USE:
# In each map event, put the name of the cursor you want to show as a comment.
# The comment must be the first event command. Make sure that you put the cursor
# in your Icons directory (name in comment and icon name must match exactly)
#----------------------------------------------------------------------------


module Input
  #--------------------------------------------------------------------------
  # â—
 

EOG

Member

You need to edit Main and ass few lines as in demo
Code:
  $mouse_icon = "Arrow"
  $move = 0
  $mousex = 0
  $mousey = 0 

I know it's old but I had same problem so I think many others can have it so here's the answer.
 

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