www.webdeveloper.com
Results 1 to 2 of 2

Thread: [Help Please]Coding Mouse Clicks

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    1

    [Help Please]Coding Mouse Clicks

    Hi,

    I am kind of new to coding in Java, I have been doing it lightly for about a year now. I am working on a project with a friend for this game, and I was wondering how I can code a mouse click that does not actually use the computers mouse itself.

    To make a better example for you guys to more clearly understand, I am trying to make a program that will click
    things within the area of the client GUI, and a user can still have control of his mouse and open other things and not interfere with what the client is currently doing.

    Does anyone know how I can go about doing this?

  2. #2
    Join Date
    Feb 2013
    Posts
    46
    You are looking for a way to trigger events in the browser using JavaScript, right?
    http://www.guahanweb.com/2010/03/02/...in-javascript/

    That should tell you all you need to know. Event delegation, and managing an evented system in general is important for gaming projects, but comes with a learning curve. Once you learn events thoroughly, though, you'll be much better off.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles