thenerd12's Forum Posts

  • Hi every one.

    Any one integrate Clay.io with Construct2 and CocoonJS successful? On Ludei CocoonJS, I compiled projects in both modes (Canvas/WebGL and Running With Webview) but it did't work. With Canvas/WebGL, nothing happened when use Tweet or Share Facebook Function. With Webview, blackscreen happened. My game use the latest plugin Clay.io version.

    You can try on Playstore (the none Clay.io integration): https://play.google.com/store/apps/deta ... lovingbird

    sorry for the off topic question. Just curious, what resolution have you used for your game?

  • Noob questions:

    1) what's the difference between MoPub and AdMob?

    2) Does Ludei provide ad banners like clay.io?

    3) What's the best and most profitable mobile game ad network? (clay.io, leadbolt, ect)

    4) What are the market places you cannot forget to put your game on?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I didn't find a tutorial for you, so I made a commented example.

    Here it is.

    I did custom control for only 4 controls (up, right left and down) as it is exactly the same for others and that would have made the code harder to read.

    The thing is cut in 2 layouts. One is for the options, where the user will set the controls. The other one is for the game, but I only put a display in it.

    If you go in the options, click on a text box and then put an input using keyboard or gamepad, it should display in the box. Returning to the Display layout and inputing the same key should display that the key is recognised, and where it came from.

    To use it in a game, I separated 4 functions in the "Display" event sheet. Those 4 functions are respectively called by the 4 inputs, after all the custumization the user did. So if you had movements to map, or jump, everything can be put in there.

    As for the method I used :

    - An array "Control" will store the user settings : Controls.At(ControlDirection,InputMethod) = UserKey

    - the ExecuteKey function handles every input given by the user, and calls the corresponding function if it was a mapped key.

    For more details, the code is commented.

    For even more details, just ask

    wow thank you!

  • Where can I find a tutorial about customizing keyboard/joypad controls ingame?

  • see -

    https://www.scirra.com/tutorials/37/beg ... onstruct-2

    covered in HUD section

    ♫ ♪ ooohhh yeahhhh ♫ ♪

    thx

  • I have a scrolling platform and I'd like to stick the user interface like health bar ect to the layer.

    I have tried this:

    every tick // set health bar X to scrollx

    but it "flicker" during the game...

  • thx guys

  • Where to find cool free commercial use sprite font?

  • I followed this tutorial in order to test my game on the Xcode iOS simulator with Ejecta...

    scirra.com/tutorials/627/how-to-export-to-ios-with-ejecta

    but when I start my game inside Xcode it says:

    ?This game is not recognized by game center.?

  • cocoonjs is the only solution now, but it can only test on your phone, not simulation.

    ejecta works on simulation, but its not fully supported, last time i tried, it was broken for C2

    Just to try, how do I export from Construct2 to Ejecta?

  • Is there a way to export my game and test/play it on the Xcode iOS simulator?

  • thank you so much!!!

  • Guys I am not mother tongue, i noticed that what I wrote up here is a bit messed up.

    Anyway to make it simple:

    this expression get the X coordinate of the IID of an object:

    Sprite(1).X

    what's the equivalent expression to get the X coordinate of the UID of an object?

    here's the link where I found the IID expression, but I couldn't found the UID equivalent

    scirra.com/manual/78/expressions

  • I have a sprite which act as spawn point.

    I duplicated it that I have many instances of this object on the stage.

    Now every X seconds I want an object that spawns at the the different positions of the spawn point instances.

    How do a get the UID X and Y coordinate of my spawn point?

    I know it should look something like this:

    System / when spawn variable = 1 / create object at (SPAWN_POINT UID number and X coordinate, SPAWN_POINT UID number and Y coordinate)

    but I have no idea what is the right expression...

  • I sort it out with variables, but I am only able to do moves towards one direction... down down... up up ect

    But for now is ok.

    That street fighter tutorial is awesome, is really a point of reference.

    Hadouken should be everywhere even in point and click games...