Dual Mice

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
racarate
Prole
Posts: 34
Joined: Wed May 02, 2012 12:37 pm

Dual Mice

Post by racarate »

Hey gang,

I know the latest SDL can support two mice -- does LOVE2D expose this functionality? I am trying to prototype a two-player iPad game, and this would be perfect for simulating two people dragging around.

If it doesn't expose this feature, would it be difficult to change in the source?


-Nick
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Dual Mice

Post by bartbes »

You mean the latest, unreleased, SDL? The one we don't use because it's unreleased?
Well, we don't export what we don't have, so no, there's no support for multiple mice (yet).
User avatar
mickeyjm
Party member
Posts: 237
Joined: Thu Dec 29, 2011 11:41 am

Re: Dual Mice

Post by mickeyjm »

I'd like to know how you are making a LOVE game for iPad
Your screen is very zoomed in...
User avatar
racarate
Prole
Posts: 34
Joined: Wed May 02, 2012 12:37 pm

Re: Dual Mice

Post by racarate »

Ah, ok thanks for the feedback. I didn't realize that version of SDL hadn't been released yet.

I'm not making a LOVE game for the iPad, I was hoping to use LOVE + Dual Mice to prototype a two player iPad game.

The idea was that each player would have a mouse to simulate two simultaneous drags on the iPad screen.

I wonder if the LOVE web player can be hacked up to use HTML5's touch events? Or I can just use HTML5 for the prototype, but yeeuch...


-Nick
User avatar
racarate
Prole
Posts: 34
Joined: Wed May 02, 2012 12:37 pm

Re: Dual Mice

Post by racarate »

User avatar
slime
Solid Snayke
Posts: 3161
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Dual Mice

Post by slime »

No it didn't, multi-mouse support was dropped from SDL 2.0.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Dual Mice

Post by raidho36 »

Distinguish multimouse from multitouch, please.

Multimouse is utterly useless, in general. Computers with more than one mouse is even more rare occasion than gamepad with trackball.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Dual Mice

Post by T-Bone »

Note that love-native-android (based on LÖVE 0.7.2) has multitouch support. So if you have an Android unit you can prototype on that.
User avatar
SimonLarsen
Party member
Posts: 100
Joined: Thu Mar 31, 2011 4:47 pm
Location: Denmark
Contact:

Re: Dual Mice

Post by SimonLarsen »

raidho36 wrote:Multimouse is utterly useless, in general. Computers with more than one mouse is even more rare occasion than gamepad with trackball.
It is definitely not useless. Jamestown (which uses SDL 1.2?) made good use of multiple mice. The project I'm currently working on could very well benefit from it as well. And considering it is pretty common to have more than a single PC per household with a mouse for each I'd say it's a nice option to offer besides the use of controllers.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Dual Mice

Post by raidho36 »

Yeah, and I won't be able to play your games the way they meant to be played since I only have one mouse. So are vast majority of all PC users. Seriously, even LeapMotion thing is far more widespread than multiple mice.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 6 guests