HELP GAME FREEZES WHEN I CLICK THE SCREEN.

● ARCHIVED · READ-ONLY
Started by artix5455 8 posts View original ↗
  1. Have you configured the mouse script correctly?


    More specifically, have you configured the switch that will be used to disable the mouse, or is it possible that you haven't reserved the correct switch and have used it for other purposes?


    (If you can't tell us the number of the switch you configured for disabling the mouse, then most probably you haven't configured the mouse at all)


    Do you use any other scripts in your project, especially some that might conflict with the mouse system?


    Especially since you asked about sapphire, any ABS script will be a problem for any mouse script unless they are specifically written to be compatible...
  2. i use a bunch but how do i configur it
  3. Any script - no matter which - contains all information about installing, using and configuring it in the first part with the comments on the script.


    You have to read those descriptions before you even copy the script into your project, and then you have to edit the script to change the configuration to that what is neccessary for your specific game.


    In this case, one of the mouse script options is a general switch to be used for activating/deactivating the mouse. It is your responsibility as the game developer to make sure, that this option is either assigned a switch number of a switch that isn't used anywhere else in your project, or by naming the default switch for the script to make sure you'll never use it for your events.


    Read the beginning of the script until you get to the configuration options, check if they are correct (there are several true/false-options you need to set), and change the assigned number for the OFF-Switch if you are already using that switch (and whatever switch you decide to assign, name it as "Mouse Switch" or something like this to reduce the danger of misusing it.


    And remember that all switches start as OFF, so you'll need a control switch command to activate the mouse function at the start of your game.
  4. ok it dont freeze no more but when i open the menu (i have a ring menu) it shows load and when go to another one it only shows load, BUT this only happends sometimes it happends

    EDit it also goes away once i click it but i dont like how that happends

    OK AND NOW IT FREEZES AGAIN?????WHY
  5. If you have a ring menu script, then forget about using a mouse script - you need to be able to script yourself to make those two scripts compatible.


    Any mouse script needs to be programmed on the menu structure, which means that most mouse script only work with the default menues. And those that can use other menues need to be programmed for them.


    That is why I asked you what other scripts you're using - I didn't ask for fun, and if you answered that question before I would have told you that before.
  6. ok i just wont use a mouse script tho it freezes the game now and then is the main reason(the menu isint the biggist problem) BTW I have a crap load of scripts loaded
  7. the more script you install, the greater the chance for script incompatibilities...


    Unless you know exactly what you're doing, only use the minimum neccessary number of scripts.


    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.