Jump to content


Photo

I have a question...


  • Please log in to reply
9 replies to this topic

#1 LLProductions

LLProductions

    LLProductions

  • GMC Member
  • 67 posts
  • Version:GM8

Posted 05 May 2012 - 10:49 AM

On Gamemaker studio, which I bought to make a game for android, there is an event: left-click.

But, surely, if you're on a tablet/phone/portable device you tap with your finger/stylus instead of left-click.

Does the left-click event mean tap if it's on android?
  • 0

#2 Jack Indie Box

Jack Indie Box

    GMC Member

  • GMC Member
  • 1489 posts
  • Version:GM:Studio

Posted 05 May 2012 - 10:56 AM

im pretty sure it does
  • 0

#3 Zombie_Plan

Zombie_Plan

    GMC Member

  • New Member
  • 22 posts

Posted 05 May 2012 - 11:10 AM

On Gamemaker studio, which I bought to make a game for android, there is an event: left-click.

But, surely, if you're on a tablet/phone/portable device you tap with your finger/stylus instead of left-click.

Does the left-click event mean tap if it's on android?


Have you ever used a touch screen computer? I believe a touch is the equivilant to a left click?
  • 0

#4 Mr. Munchkin

Mr. Munchkin

    GMC Member

  • GMC Member
  • 681 posts
  • Version:GM:Studio

Posted 05 May 2012 - 11:11 AM

Yes, it does.
But what do you mean

that I bought

You can't buy GameMaker Studio yet.
  • 0

#5 LLProductions

LLProductions

    LLProductions

  • GMC Member
  • 67 posts
  • Version:GM8

Posted 05 May 2012 - 11:25 AM

Yes, it does.
But what do you mean

that I bought

You can't buy GameMaker Studio yet.


You what I mean, I downloaded it

Thanks guys!
  • 0

#6 LLProductions

LLProductions

    LLProductions

  • GMC Member
  • 67 posts
  • Version:GM8

Posted 06 May 2012 - 09:20 AM

Thanks for the answers, but then what does the right-click event do an android/iOS device?
Thanks!
  • 0

#7 hexdump

hexdump

    GMC Member

  • GMC Member
  • 360 posts
  • Version:GM:Studio

Posted 06 May 2012 - 09:21 AM

Yes, it does.
But what do you mean

that I bought

You can't buy GameMaker Studio yet.


I think he meant HTML5
  • 0

#8 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9278 posts
  • Version:Unknown

Posted 06 May 2012 - 09:41 AM

Thanks for the answers, but then what does the right-click event do an android/iOS device?
Thanks!

I believe the intention is that a double-tap will trigger a right click event, but I don't think this has been implemented yet, or if it will end up being implemented (it seems to me like a game requiring many left clicks/taps in a row would trigger a right click event by accident).

However, currently the answer to "what does it do" is the same as the event for joystick button 1, pressing the up arrow key, and pressing F1: it doesn't do anything.
  • 0

#9 cotycrg

cotycrg

    GMC Member

  • GMC Member
  • 851 posts
  • Version:GM:Studio

Posted 06 May 2012 - 04:30 PM

Currently, single touches will count as "left clicking," and double tapping is supposed to be a "right click." I saw an admin somewhere say that there was going to be an option somewhere to always be left click. Either way though, this is bad practice already. You should just use the YoYo_Mouse functions to do touchscreen events.
  • 0

#10 LLProductions

LLProductions

    LLProductions

  • GMC Member
  • 67 posts
  • Version:GM8

Posted 06 May 2012 - 07:08 PM

I think he meant HTML5

Nope, that's not true, I mean studio, just the download (beta), not the actual thing (which isn't out yet).

Anyway, thanks to everyone who answered my question, and the second one!
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users