generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: TouchSwipe Problem O

Previous Thread :: Next Thread 
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
24 Feb 2015 09:39 PM
MainBackground.TouchSwipe:connect(function(swipeDirection)
if swipeDirection == Enum.SwipeDirection.Right then
openside()
elseif swipeDirection == Enum.SwipeDirection.Left then
closeside()
end
end)

This is a Frame (with active turned on) and I'm trying to TouchSwipe using my iPad to see if this works, however it doesn't want to move! I don't really understand what the issue is, I've got two functions that work fine however the event part isn't working. Help?
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
24 Feb 2015 09:47 PM
If you're not finding any problems and my script is perfectly fine then I need to email roblox... Cuz their API broke... o.o
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
24 Feb 2015 10:02 PM
Please reply if you don't find any problems.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
24 Feb 2015 10:29 PM
Either none of you wish to help, none of you have looked into TouchEnabled items, or you are being lazy... Which one?
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
24 Feb 2015 10:32 PM
I think most of us just don't care about adapting scripts to work on mobile devices and therefore don't know where to help you in the first place since we didn't care to learn the mobile side of lua.

Or maybe that's just me.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
24 Feb 2015 10:36 PM
Pretty much the mobile app isn't widespread and probably isn't going to get as big of a crowd. Maybe roblox should start getting some statistics on their app to show how many users actually are on it per week.
Report Abuse
TooKawaiiForSenpai is not online. TooKawaiiForSenpai
Joined: 03 Mar 2009
Total Posts: 3241
24 Feb 2015 10:37 PM
Does it fire if the contents of the function is just print("Heya") ?
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
24 Feb 2015 10:40 PM
No, it doesn't fire unless the Direction Swiped Enum is either Right or Left. This isn't a regular Function test(What)

test("Heya")
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
24 Feb 2015 11:44 PM
Who plays roblox on mobile.
Like most game suck.
And phones generally suck at handling an actually good game.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
24 Feb 2015 11:45 PM
People who are out in public and get bored so they need something to do. Watch it, someone's gonna make a mobile only game hopefully soon and then everyone will think lets get a roblox app.
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
24 Feb 2015 11:46 PM
lol whoever will make a Mobile Only game and runs ad on it will loose so much R.

There are mobile apps that are DESIGNED for phones on an engine DESIGNED for phones.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
25 Feb 2015 12:08 AM
I still need this script to work, I'm making a GUI I want it compatible with touch only devices.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
25 Feb 2015 12:59 AM
So basically this script is fine and the functions are good, which would mean I'd need to contact roblox now... Because TouchSwipe isn't registering...
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
25 Feb 2015 01:18 AM
Try running this from a LocalScript if you aren't already.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
25 Feb 2015 01:35 AM
It's in a local script I can send you the entire script/model if you'd like.
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
25 Feb 2015 04:07 AM
I worked with this yesterday, and seemed to find the problem as all parameters are not optional?

Just put random variables for arg2, and arg3.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
25 Feb 2015 02:26 PM
I'll try that thanks.
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
25 Feb 2015 08:24 PM
Oh... you're using it wrong.

TouchSwiped is an event of UserInputService.
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
25 Feb 2015 11:01 PM
I actually like that idea, a mobile only game. That could work if done right.
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
25 Feb 2015 11:03 PM
@crowclaws

Your comment about a mobile only game was ignorant. This entire website is about making games that you COULD make on better, more PC dedicated video game making software. Also I personally think it's way easier to advertise a roblox game if you have no money than an actual video game on the market.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
26 Feb 2015 12:39 AM
I've fixed the issue, thank you.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image