JohnnySix's Recent Forum Activity

  • Oh, and here's what it'd look like - Ideally I'd set limits and such on size of levels, at the moment it was just a prototype save/loader of tilemaps, the actual game isn't even made yet.

  • I tried it both ways, it only seemed to trigger on the touch action :

    It makes to ajax requests to return the min/max range of the saved levels by ID, to then run a loop from min to max, returning the level tile data from that.

    It works fine on button push, but then fails miserably on trying to activate the event from a "on start of layout" trigger.

  • Thanks for the reply dude. Yeah, I got around it in the end by stepping a variable instead ( no loops ) so it'd load each level thumbnail one at a time.

    I'm still having odd issues trying to get the Ajax to work consistently though - is it like browser fullscreen requestes, where it must be linked to user input?

    I had things initially on a touch/mouse/keyboard event, but on changing them to "On Start of Layout" event, they don't fire.

    I'm wondering if there's a different/better way to pull down the data from MySQL to load/save levels and high score info?

    P.S - you game looks great - very creative take on the classic tetris!

  • Is Ajax, like the browser full-screen call, only possible on a user-input event?

    I managed to get the multiple calls by simply iterating a variable instead of using the loop, an only moving to the next call once the first Ajax function was called.

    When it comes to switching to another layout to load the selected map, it doesn't load until user-input is initiated.

  • I think I was missing something - got it working now - have uploaded an example if anyone wants to use ( ascii number set by animation frame to return character in string ) :

    demo: http://johnnysix.net/games/qwerty_touch/

    download : http://johnnysix.net/games/qwerty_touch.capx

  • Am doing a level select, where level data is loaded from a MySQL database via AJAX/ conditional GET ( variable of level ID is sent via AJAX, Level Data returned )

    As below - the loop starts with the min/max numbers returned from the database, then requests the level data for each, however checking a dynamic AJAX request "MyLevel" & Variable is not working , any suggestions?

  • Is there still no native Ascii Code > Char and back? R0J0hound - unfortunately the browser-exec functions crash construct now.

    Am trying to make a touch keyboard and thought the most elegant way to make it work would be by animation frame (+65 for Capital letters )

  • Where's your game at? Not quite sold on the new site or game list yet - you can't search what's in there. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    Here's my entry :

    https://ldjam.com/events/ludum-dare/38/ ... ter-kibble

  • Looking wonderfully retro. Good to see the progress on the movement and the level design from the start to where it is now.

    Keep it up!

  • I upped an example -

    Press up when you fall to activate 'wings' and slow the fall. I forgot there was a fall-speed variable.

    Play : http://johnnysix.net/games/fallspeed/

    Download : http://johnnysix.net/games/fallspeed/fallspeed.capx

  • You can apply vectors to platform objects directly, rather than having to adjust gravity (if other characters in the scene are also using platform behaviour) .

    Have a look in the manual.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • - You could clamp the velocity of the physics object each tick, so it never went above a certain speed.

    I had a related question - I'm trying to spawn rope-like objects at certain angles, but when you create the joints, the objects are not orientated correctly.

    It seems to work on your example - I want to have a force at the end of the rope, so a tentacle like object will reach out towards a position. Is it that creating the joints on spawning is causing this?

JohnnySix's avatar

JohnnySix

Member since 3 Mar, 2012

None one is following JohnnySix yet!

Connect with JohnnySix

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies