Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Control over cursor movement?  (Read 4674 times)

0 Members and 1 Guest are viewing this topic.

Castler

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 15
    • View Profile
    • Limbo of the Lost
Control over cursor movement?
« on: December 15, 2004, 03:22:38 PM »

I know how to hide the cursor, and how to disable it, but I haven't found a way to "freeze" the cursor, for instance during cutscenes, or have any control over its movement. Am I missing something?

C
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: Control over cursor movement?
« Reply #1 on: December 15, 2004, 04:49:01 PM »

You mean that the user can't move the mouse anymore?

Castler

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 15
    • View Profile
    • Limbo of the Lost
Re: Control over cursor movement?
« Reply #2 on: December 15, 2004, 08:16:09 PM »

That's what I mean by freeze, yes. All I'm talking about is a way for the programmer to take control of the mouse pointer. MouseX and MouseY are read-only.

Nihil, your picture/caption is the best! I can't look at it without laughing.

C
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Control over cursor movement?
« Reply #3 on: December 15, 2004, 08:26:12 PM »

That's what I mean by freeze, yes. All I'm talking about is a way for the programmer to take control of the mouse pointer. MouseX and MouseY are read-only.
Actually they are not read-only anymore, just the documentation is, ahem, slightly outdated :-[ You can also use the Game.SetMousePos() method.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Castler

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 15
    • View Profile
    • Limbo of the Lost
Re: Control over cursor movement?
« Reply #4 on: December 15, 2004, 11:54:34 PM »

That's awsome, Mnemonic. Thanks! I guess that's a request for the documentation, then. :P
Logged
 

Page created in 0.043 seconds with 23 queries.