? on menu bar changing cursor mode

Report bugs or find solutions to hardware problems regarding KQ1VGA and KQ2:RTS.

Moderators: adeyke, VampD3, eriqchang, Angelus3K

Post Reply
Message
Author
Frogman
Royal Servant Status
Posts: 89
Joined: Thu Aug 09, 2001 1:37 am

? on menu bar changing cursor mode

#1 Post by Frogman » Sat Jan 12, 2002 5:29 am

I've always been curious, why did you script the ? thing to switch the cursor mode to the arrow, which afterwards changes your walk icon into an arrow? It's obviously not a big deal, I was just wondering why you didn't leave that code out. <p></p><i></i>

Frogman
Royal Servant Status
Posts: 89
Joined: Thu Aug 09, 2001 1:37 am

Re: ? on menu bar changing cursor mode

#2 Post by Frogman » Thu Mar 14, 2002 10:28 pm

Also, why does the cursor stay as the arrow (but act like the walk cursor) after bringing up the Quit or Restart menus? This can be (and should be) easily changed. I'm sure you already know this, but why not do this (like I'm doing for AQ1)?:<br><br>int mode_of_cursor;<br>mode_of_cursor=GetCursorMode();<br>SetCursorMode(6); // arrow<br>InterfaceOn(1); // quit menu<br><br>Then to turn it off:<br><br>if (button==1){<br> InterfaceOff(1);<br> SetCursorMode(mode_of_cursor); // that might not be right, I forgot exactly how I coded it<br><br>Change it! It would look a lot nicer :P <p></p><i></i>

Anonymous Game Creator 2
The Prince of Shapeir
Posts: 8890
Joined: Tue May 08, 2001 4:12 am
Location: Phobos
Contact:

Re: ? on menu bar changing cursor mode

#3 Post by Anonymous Game Creator 2 » Fri Mar 15, 2002 7:00 am

For some reason, AGS has given me a lot of trouble in the past with the cursor changing back to the arrow when it's not meant to. Really annoying, because I've never been able to fix it.<br><br>I'll try your code and see it works in KQVGA. <p></p><i></i>

Anonymous Game Creator 2
The Prince of Shapeir
Posts: 8890
Joined: Tue May 08, 2001 4:12 am
Location: Phobos
Contact:

Re: ? on menu bar changing cursor mode

#4 Post by Anonymous Game Creator 2 » Sat Mar 16, 2002 9:11 am

Actually, that was the code I had in place, but it just didn't work. I've found a work around now, However. So the problem is fixed. <p></p><i></i>

Frogman
Royal Servant Status
Posts: 89
Joined: Thu Aug 09, 2001 1:37 am

Re: ? on menu bar changing cursor mode

#5 Post by Frogman » Sun Mar 17, 2002 1:02 am

That's weird. Glad you found another solution <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/intl/aenglish/im ... /smile.gif ALT=":)"><!--EZCODE EMOTICON END--> <p></p><i></i>

Post Reply