Issue#1527: Unity - PC Standalone to Android mobile.[Ping Pong Game] swipe touch problem

  • Hi guys. I have a problem i want to convert the game into android mobile game not on the PC.
    My problem is how can i convert Keyboard key to Swipe touch here's the code below:


    Code (JavaScript):
    1. #pragma strict
    2.  
    3. var moveUp : KeyCode;
    4. var moveDown : KeyCode;
    5.  
    6. var speed : float = 10;
    7.  
    8. function Update ()
    9. {
    10.     if (Input.GetKey(moveUp))
    11.     {
    12.         rigidbody2D.velocity.y = speed;
    13.     }
    14.     else if (Input.GetKey(moveDown))
    15.     {
    16.         rigidbody2D.velocity.y = speed *-1;
    17.     }
    18.     else
    19.     {...
    PC Standalone to Android mobile.[Ping Pong Game] swipe touch problem

    0 Answers

    Sorry, your answer is too short !

  • Issue#1526: Unity - Good way to add gestures / swipe support to game (iOS/Android)

    Hi there, I'm looking for tips about touch related assets - I'll be mostly focusing on iOS/Android, looking for support for Joysticks and/or swipes. Also, being able to simulate some non-mouse gestures would be great. I've been testing Unity touch features a bit. I've created rudimentary joystick, virtual joystick, d-pad like buttons and multi-touch with touch ID support but after testing these (half finished tests) I'm thinking about some 3rd party solution, as Unity actually doesn't... Good way to add gestures / swipe support to game (iOS/Android)

  • Issue#1528: [Released] Simple Swipe & Touch Controller for Android/iOS - Unity 4 & 5 compatible!

    Get it on Unity Asset Store of course! http://u3d.as/bXu Web Player PREVIEW Android DEMO This asset is great for beginners and experts who don't want to spend much time in coding swipe controls. It could be used for retro one-click games for example a road crossing game or roll a ball game.... [Released] Simple Swipe & Touch Controller for Android/iOS - Unity 4 & 5 compatible!

  • Issue#25917: Unity - Android 2D game render perfomance problem.

    Hello i am having a big trouble with my mobile game performance. i created map complex with few tiles , it looks like this Render this part of map causes decline in performance to 30FPS Data from profiler... Android 2D game render perfomance problem.

  • Issue#48641: Unity - Modern Tactics, Real-time Strategy (RTS) Game Kit, for Android, iOS, Web and Standalone

    Have you ever dreamed of having a complete, feature rich RTS game of your own? Well, Look no more. View attachment 167250 Asset Store | Android APK Demo | Web-Player Demo |...​ Modern Tactics, Real-time Strategy (RTS) Game Kit, for Android, iOS, Web and Standalone

  • Issue#56074: Unity - Free Casual Mobile Game on Android - Deep Diver

    Hello Everyone, Last week, we've just finished our very first game : Deep Diver. It's avalaible for free on Android and we'd like to get your feedback about it. Should we improve it and go to other platform, is it good enough or should we go to another project ? Thank you very much Ludovic Mahieu Business Manager & Developper @ Breaking Wall Studio... Free Casual Mobile Game on Android - Deep Diver

  • Issue#120980: Unity - Popular Game Characters in new mobile ios/android game?

    Hello all, I haven't been able to find to much information on this. However at the moment I am working hard to develop my mobile game. Not only has this been for my master program final project but I also want to publish it on play store and apple store shortly by summertime. At the moment I have created most of my 3d models. Before I continue to create more I wouldn't mind adding some famous characters from other video games. I know I cant copy them right off the bat but is it possible... Popular Game Characters in new mobile ios/android game?

  • Issue#133180: Unity - [BLENDER ASSETS] problem with import for android game

    Hi to all, me and my team are developing a mobile game with Unity3d(personal edition) and Blender support(the game has 3d graphic). We have some problem about frame rate drops. We try to resolve with resizing objects, deactivating VSync count, deactivating shadows, importing some different types of .fbx and importing assets with maximal compression and without normal and bribes. The game in exam is an endless runner. By scripting we use one map that respawn infinite times. The map .fbx has... [BLENDER ASSETS] problem with import for android game

  • Issue#151556: [Released]Easy Swipe & Touch Controller Android/iOS/Unity 4/5/Playmaker support

    Get it on Unity Asset Store of course! http://u3d.as/bXu WebGL Demo Android DEMO New Update is online!! * 1.3.0 - Support for Playmaker added (Check demo folder) - Added namespace to... [Released]Easy Swipe & Touch Controller Android/iOS/Unity 4/5/Playmaker support

  • Issue#232416: Unity - [iOS/Android] Sharks, oh no! - mobile arcade game

    Hello Unity Community! My name is Ania. I'm developer at PuppetPlan and I'm proud to announce our first iOS/Android game: ​ Available at: App Store : https://itunes.apple.com/pl/app/sharks-oh-no!/id1076532292 Google Play: https://play.google.com/store/apps/details?id=com.puppetplan.sharks Trailer: ​ Description: The idea was... [iOS/Android] Sharks, oh no! - mobile arcade game

  • Issue#312527: Problem 1: 3 second black screen before unity splash screen. Problem 2: game blocks android lock

    I am working on a casual clicker for Android. Unity is at the latest version, the phone is a Galaxy S5. Problem 1: Often when I open the App or switch back to it there is a black screen for 3+ seconds before the unity splash screen shows. Problem 2: When I press the power button on my phone the phone will enter lock mode (I have to put in my password to access it). If my game is up and I press the power button and turn it back on I will find that my game is still up. If I close my game I... Problem 1: 3 second black screen before unity splash screen. Problem 2: game blocks android lock

  • Issue#353603: Unity - I'm trying to make touch controls for my android game. I can't figure out how to do it. Can

    I have keyboard controls which work on the pc to move my character in this platform game I am making. See my drawing/screenshot here: https://plus.google.com/+LineDetail/posts/F3gpbrk5ePk i want to make the jump button that when on Touch, it will make my character jump. and my arrow keys will move him right and left and later on, in combination with jump, the up and down arrow keys will make him go up a ladder sans jump button or jump down or go down a ladder sans jump button.... I'm trying to make touch controls for my android game. I can't figure out how to do it. Can you help

  • Issue#373614: Unity - 2D Mobile Game - Program-related Problem

    Hello! I would first like to say that this is the first time I have used this forum so I apologize in advance if I have posted in the wrong section. It is probably worth explaining what I do with Unity. I am very new to game development and I love to draw, as well as create 3D Models and create environments and scenery. My skills in these departments are okay but I try and I have fun with it, which works great for me. However I really suck at programming; I understand some of... 2D Mobile Game - Program-related Problem

  • Issue#408707: Unity - Disable touch left swipe on windows 10 and standalone build

    I'm doing a standalone app for use on windows 10 and touchscreen The problem is that when i'm On fullscreen at application if you make a left swipe gesture windows shows task view and you can close app/ change app.... There is any way to disable this gestures by code or registry? Thansk a lot

  • Issue#421645: Android - ping pong game

    Hi! I am making android ping pong game in which i want to move one paddle randomly all the time .For that i created a thread ..that runs all the time but it generate thread overflow exception and then application stops. I want to know how i can solve this problem. Thanks in Advance.

  • Issue#484924: Unity - Pong Legends - Android Game

    Pong Legends is a new arcade in which will allow you to play classic old pong with new modern features which are still in development and will be released as soon as possible! Added Features: - 3 Modes: Easy-Normal-Hard - An old classic background - Reset - Mode Selection - Singleplayer Upcoming Features: - Smoother gameplay - 2 Player Mode - UI improvements Screenshots: View attachment 182200 ... Pong Legends - Android Game

  • Issue#489205: Unity - [Android] My new mobile game Germinate Looking for feedback

    Hey, guys, I am looking for feedback on my new mobile game Germinate. The goal of the game is to Help Bod defend the body against evil germs! Each time you kill a germ Bod will grow. Try to stop germs from hitting Bod as you will lose health. Pick up antibiotics to keep Bod’s size manageable. Pick up hearts if you are low on health to regen. Game link https://play.google.com/store/apps/details?id=com.DavidMorris.Germinate

  • Issue#491372: Unity - Pong Legends Android Game - Published(Still being developed)

    Hello guys am here to talk about my new game Pong Legends which I published on Google Play under my company Zotlam and want to know what you guys think. Though please note that am still working on it and many things will be changed and also I am aware that the UI and Menu are kinda crappy but like I said it's still in the works. I am open to any suggestions and recommendations! If you guys don't like something please let me know! Be sure to check out the links!... Pong Legends Android Game - Published(Still being developed)

  • Issue#748504: Unity - Color Junkie. The mobile game about mixing colors. (Android only right now)

    This is my very first ever creation using Unity. I learned a lot in the process and if I were to start over right now I know that there are a lot of things that I would do differently. But I am so incredibly happy with the outcome. I started this project with absolutely no knowledge of Unity or how to code in any way. I would greatly appreciate any and all feedback about this project. I have posted the description and a few screen shots below. Thanks!... Color Junkie. The mobile game about mixing colors. (Android only right now)

  • Issue#798437: Android unity game graphic problem

    Hi, i'm new in unity.I've made a game, everything was alright until i've built it in Android. Any ideas how to change those shadows to "normal"? I was searching answers but people had other problems with graphic with their android games, so there is my problem.

  • Issue#812459: Unity - WebGL problem with input touch on Mobile

    I know Unity3D it's not ready for mobile,but i need to ask XD is there any chance to work with touch input on mobile???

  • Issue#844667: Unity - Weird problem: Getting the wrong Android game name.

    It happened after importing Admob. When I am building my game, its apk name is corrrect, let's say XXX.apk. But when I install it on a device, it gets called now "activetitle" instead of XXX. Why??

  • Issue#926686: Unity - Android touch and animation issue

    Hello, I have a question about android devices and inputs. Currently I have a game for android that works without any input.touch and right now all I'm using is Input.GetMouseButtonDown(0). For the devices I have personally tested this works fine. Should I change this to Input.GetTouch? And has anyone had any errors or big problems from not doing this? I have gotten crash reports from some devices about "ANR Input dispatching timed out (Waiting to send non-key event because the touched... Android touch and animation issue

  • Issue#953768: Unity - Stack Attack - Mobile (IOS and Android) Arcade Game

    Stack-Attack V1.0.0 Genre - Arcade Developer - BraceFor Ltd. IOS App Store: https://itunes.apple.com/za/app/stack-attack/id1131808323?mt=8 Google Play Store: https://play.google.com/store/apps/details?id=com.BraceFor.StackAttack Stack Attack is an addicting and unique block stacking game, where you are required to build a stack...​ Stack Attack - Mobile (IOS and Android) Arcade Game

  • Issue#955767: Unity - [WIP mobile game] Project R for ANDROID & IPHONE

    hi everybody. here's a new project i'm working on. we haven't decided on the name of the game yet but will call it Project R for now. rough sketches: View attachment 192815 updated: View attachment 192820 basic gameplay: you're a dark hero, a villain who falls in love with a princess. you gotta catch her but she's far away. so you fling yourself like an angry bird trying to get to her. View attachment 192688 your initial push will... [WIP mobile game] Project R for ANDROID & IPHONE

  • Issue#978343: Unity - Grid Racer - Mobile game for Android and iOS

    We are a three man indie start up from Sweden and we proud to announce our first mobile application: Grid Racer! It is a very simple and fun endless runner in a first person perspective.... Grid Racer - Mobile game for Android and iOS

  • Issue#1022528: Unity - Problem Showing Ads on Android when Game Starts without Internet Connection

    I've had this problem with Unity 5.3.4, 5.3.6 and 5.4.0. However, I am currently trying to fix this on 5.3.6. If I start the game and there is no Internet connection, of course no ads are shown. If I click the device Home button, start an Internet Connection and then resume the game by clicking on its icon, ads are still not shown, even though a connection is now available. I can overcome this by removing the game from memory, so that after establishing a connection, the game is not... Problem Showing Ads on Android when Game Starts without Internet Connection

  • Issue#1606: Unity - Simple swipe and tap mobile input

    I couldn't find a decent working example of basic swipe and tap input using recent unity versions (as of this writing this works with 5.3 unity) so I went ahead and cobbled a simple snippet together that basically handles it. It isn't heavily battle tested and might not be perfect, but seems to work from the 5 minutes or so of testing I did. Original credit goes to Sujit Horakeri of "the game contriver". Adapted from here:... Simple swipe and tap mobile input

  • Issue#1787: Unity - Ball Rush - mobile game [WIP]

    Hello, Welcome to the Ball Rush WIP thread! I started working on Ball Rush a few months ago so I put together a quick glimpse of some gameplay below. This will be my first game to see the light, targeting iOS and Android devices with a possible port to Wii U to follow. I'm an Art Director for print and advertising so there has been a ton of game dev knowledge to soak up with lots of work still ahead, ironically now in the graphics department I think...... Ball Rush - mobile game [WIP]

  • Issue#1957: Unity - Websocket for desktop, web and mobile [PC / MAC / Webplayer / WebGL / iOS / Android]

    Hello guys I'm happy to announce the availability of WebSocket for desktop and mobile. Here is the link: http://u3d.as/aYE This package provides code to use client websocket with only one implementation for all platforms. Currently it works on Desktop (PC/MAC), WebPlayer, WebGL (with Unity 5), iOS (device or simulator) and Android. I didn't test on Linux but it should be the same than PC or Mac. It does NOT require Unity Pro. I used existing... Websocket for desktop, web and mobile [PC / MAC / Webplayer / WebGL / iOS / Android]