Joannesalfa's Forum Posts

  • Tile Background plugin needs to be improved, but Ashely hadn't time to fix.

  • Local Storage is domain-based.

    I think it needs to create new plugin which allows cross domain using XAuth.

  • bMove is the instance var on the player that controls it movin. That gets set to false when movetime is >= the time based on the touch distance

    And yeah it doesnt move if you just touch and not swipe because theres a global controlling it. If the distance between touch start and touch end isnt greater than that threshold it doesnt trigger movement

    Thanks a lot for clearing that! :)

  • Heres an example I made showing player movement with swipe motions. Swipe anywhere on the game window to move the player. The longer the swipe the longer the player moves

    Live Demo

    capx here

    it includes pretty much everything already set up to use the swipe data for whatever

    I was hoping for your awesome example, actually it's not exactly "Pro Swipe" because when you do "Touching" then swipe, it does nothing until touch ends it moves.

    In event number 2, i changed "On Touched End" to "Is in Touch" it works as pro swipe but not precisely, you can simulate touch using Chrome.

    Do your mouse makes a circle movement while click is holding it may act as touching.

    Do you have an idea how to stop moving character when touching is end?

  • I don't see any reason why Ludei and appMobi would not make their exporters work for the OUYA. It's already running android and has better hardware than a phone, so it shouldn't be much of a problem I think.

    But please, keep us posted if you get an answer Joannesalfa!

    Still no reply :(

    Do i keep sending messages?

  • Thanks for ruining my computer

    j/k

    Biggest Looping can cause memory leaks, also Physic can consume CPU a lot. I tried it game, i found no lag points.

    If you see the creating object with every ticks it can generate multiple objects in perfect position, make sure to use "trigger once" condition.

  • Would you make a .capx example? it would be awesome!

  • Actually, i failed to attempt your formula...

    Do we will use 8 dir movement behavior that simulates movement according to TouchY and TouchX?

  • We'll probably only know that long after the pledge time ends. Right now it's highly unlikely that it'll run HTML5 games. I mean run well, or even run at all. Run 50% for me is the same as nothing. So if you want to pledge with the idea to test C2 games on it you may be disappointed.

    I've contacted to OUYA Team, let's wait their response about OUYA should to run HTML5 games.

  • I was thinking to pledge OUYA, we have 7 days left.

    I'm not sure i would pledge OUYA console, i have some questions:

    -Can run HTML5 apps?

    -I know HTML5 apps can be converted into android apps, Does it run on OUYA console?

  • It's neccesary to identify the file we are doing it.

    It prevents to confuse us to save the multiple .capx due to control of versions.

  • Yeah, i need global variables with booleans because i use 1 and 0 a lot, sometimes it doesn't work when you override it.

  • Joannesalfa : I didn't played Mage Gauntlet on iOS, but it's known for that kind of mechanism (perhaps you played it yourself, and it's given you the idea ? <img src="smileys/smiley2.gif" border="0" align="middle" />).

    I would do it like that :

    - every X milliseconds, set a "Starting Point" var as the current (Touch.X, Touch.Y)

    - X milliseconds, check the new (Touch.X1, Touch.Y1)

    - do a check :

    IF ((X1-X) > threshold, (X1-X) > 0, AND (Y1-Y) < variationOnAxis),

    THEN Move 10 pixels to the right.

    IF ((X1-X) < threshold, (X1-X) < 0, AND (Y1-Y) < variationOnAxis),

    THEN Move 10 pixels to the left.

    IF ((X1-X) < variationOnAxis, AND (Y1-Y) > threshold, (Y1-X) > 0),

    THEN Move 10 pixels to the bottom.

    IF ((X1-X) < variationOnAxis, AND (Y1-Y) < threshold, (Y1-X) < 0),

    THEN Move 10 pixels to the top.

    The idea is to 1) set a variation on the vertical or horizontal axis that allows the player to draw lines that aren't "exactly" vertical or horizontal, and 2) check if his finger has moved farther than a pre-determined threshold in one of those direction.

    Yes, it's inspired by Mage Gauntlet on iOS.

    I'm going to try out your idea, so i hope it will be worked.

  • OnLive is NOT a global gaming

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey everyone, do you know about pro swipe? it's more than d-pad and analog stick, it's designed for mobiles with touch support.

    We create an invisible sprite for the whole screen it should to detect our fingers according the directions, if you swipe up, the character moves up, then you swipe down, the character moves down, swipe right, the caracter moves right. It shouldn't stop moving while touching is busy, when the touch ends, the character stops.

    Do you have an idea?