Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Mouse control
Posts: n/a
Default Mouse control - 08-13-2010, 01:21 PM

Is there -any- way to use specific left/right click buttons?

I'm tryin' to make left click attack and right click block, and I can't find any other mouse control than "when mouse is clicked do: " and that uses any mouse button :P
Reply With Quote
Senior Member
Dameria's Avatar
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 08-13-2010, 02:07 PM

Alice isn't very flexible when it comes to mouse and keyboard input. They only have the basic buttons, and thats it. You probably won't be able to use right mouse click unless maybe you know how to use Python and script with that in Alice.

Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ...................
Alice Paint ...........................
Real-Time Clock ..................
Maze Game .........................
Reply With Quote
Senior Member
zonedabone's Avatar
Status: Offline
Posts: 578
Join Date: Nov 2008
Location: In the interwebs
Default 08-19-2010, 08:07 AM

I could probably make a python program that works like this:
When the right mouse button is clicked on the alice rendering window, if sets a world variable to true, and then left clicks in that same place?

'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
Reply With Quote
Senior Member
arty-fishL's Avatar
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 08-19-2010, 07:18 PM

and other stuff


I have mostly moved on from Alice, but may still respond to messages if important [-]
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.