Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Mouse Event and other important questions  (Read 3364 times)

0 Members and 1 Guest are viewing this topic.

DarioP

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
    • View Profile
Mouse Event and other important questions
« on: January 21, 2011, 08:02:42 PM »

Hi Wintermute!!
We're having some trouble   :'(  with the following problems:

1) Is it there a possibility to handle a "MousePressed" event, that is when entering a region AND the left key has to be keep pressed(NOT on the left click).
2) is it there a way to "draw" or better erase a pixel with the mouse cursor(like in "paint" for example)?

thanks so much  :D
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Mouse Event and other important questions
« Reply #1 on: January 25, 2011, 09:22:45 AM »

No, you can't paint on pixel level, unless you write a plugin (plugins can modify textures).
I'm not sure I understand the first question.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

anarchist

  • Regular poster
  • ***
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 212
    • View Profile
Re: Mouse Event and other important questions
« Reply #2 on: January 25, 2011, 09:58:24 AM »

Perhaps DarioP has in mind a riddle of the kind:

Character sees a wire with a plug that is unplugged. The user has to click on the wire, keep the left mouse button pressed and then move the wire and plug it on a power source. Thus, it is necessary to handle a LeftMousePressed event while the mouse moves among regions.
Logged
 

Page created in 0.033 seconds with 20 queries.