DAG's Forum Posts

  • You can also create a helper sprite. Just a sprite with 1px² and pin it to the sprite object you will check if overlapping.

    Then you only have to check if the helper sprite is overlapping with the other sprite.

    You know what I mean? If so your problem solved?

  • Hi,

    I can't find any perfect and complete tutorials about this subject.

    How do I use Ads and In-App-Purchase on iOS using Construct 2 and CocoonJS (or other).

    A Guide from A to Z! A video would be desirable. With full instructions about every single step.

    1. Create a App on iTunes Connect and activate iAD.

    2. Create iAP. What do I need?

    3. Create a App with Construct 2. Settings, etc?

    4. Compile with CocoonJS. (I allready have a premium account).

    4. How to test.

    etc, ...

    Summary: I quickly wan't a working App with iAd and iAp.

    To publish a free App with Ads. With the option to deactivate the Ads with In-App-Purchase.

    I would be very happy if you could help me.

  • Yes, there is a issue to the cocoonJS native phyiscs. Only the Box2D web engine works. Maybe asm to, but not tested.

    Scirra: Please clarify with ludei. thx

  • For iOS (ipa) its difficult because you need a mac with xcode.

    The Game Maker Studio for example can do this. He connect via network to the mac.

    You just have to set the ip, username and password from mac. Then the tool gets the provisioning and certificate for building the ipa over xcode and download the ipa.

    shortly: its possible. and maybe its comming soon. but currently its easy too. because you use a html5 to ios converter like cocoonjs. its very easy. But I also hope that scirra adds a official "ios compiler / Builder"

  • Some Examples? Family or not. You need for every part of the chain separately objects.

  • Plsease add a chain object or make it possible to connect instances with revolute joints. currently its only possible to connect objects.

    Also: Set both image points. from source and target.

    I want following:

    Create a instance and create a joint to a prev. created instance. Shot: Create a chain / rope.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please add a feature to Enable / Disable the effects in Editor. A Initial State.

    At runetime it works with event. But I want it for the Editor.

    Thanks

  • Thanks

  • Hi,

    how to get the uid of the last created object?

    e.g.

    I create an object (instance) on touch start. Then I want to address this instance (uid) to set variable values, or scale etc. But HOW?

    pseudo-code:

    Create Object at and return uid: obj_ball, touch.x, touch.y, var_obj // uid of created obj

    with(var_obj) set variable value: new = 1

    or:

    create object at: obj_ball, touch.x, touch.y

    with(last_created_obj) set variable value: new = 1

    etc.

  • Hi,

    just a little suggestion:

    The anglediff(ang1,ang2) function works fine, but its a abs value without sign.

    Please add a checkbox in this functionwindow for sign or abs (unsigned).

    Why? For example for object moving in to directions.

    angDiff += angleDiff(ang1,ang2)/10; //smooth moving to ang1

    Pos.x = mid.x + sin(angDIff)*128;

    Pos.y = mid.y + cos(angDIff)*128;

    Here is a alternative script for singed angle diff:

    angleDiff = ((((ang1- ang2) % 360) + 540) % 360) - 180;

  • Great stuff, awesome tool. also for script-oriented software developer.

    But here are my suggestions:

    • Add a ability to scale the layout separately in width and height.
    • Text Input for iOS. Text box, Lists, buttons, etc. for iOS. vkeyboard etc.
    • Add a official HTML5 to iOS Compile from scirra for 100% support of all features. inlc. webgl.
    • Add a Script Object for pro user and complex algorithm.
    • iOS Notifications
    • 3D (optimal) for example. add a 3D object to load a fbx model. or obj with tex.

    Add:

    • surface: for example for: destructible terrain (worms like)
    • dynamic shadows. lightning.
  • Hi,

    I have purchased c2 now. with cocoonJs really awesome. ...

    Now I want a text input on iOS device (app).

    I use some form controls like button, list and Text box.

    But when I compile this and run on iPhone, the controles are gone.

    Is it possible to type some text in? show keyboard etc.

  • Yes. Only a horizontal (width) zooming and scrolling engine. For example a piano. There you can zoom out to see all keys (the whole layout width is shrinked) Or you zoom in and see 100% size of keys.

  • Thx but this is not exactly what I wanted.

    More Informations:

    I develop a iOS APP, for iPhone. Window Size: 1136,640 (iPhone 5)

    My Layout Size is 6656,640. Now I want a scalebar to zoom in and zoom out.

    So I want to scale the width of layout between 1136 and 6656.

    (1/6656*1136). But only the width.

    Also: I want to set the position at runtime.

  • Hi constructors,

    I do my first experience with construct 2. ...

    How do I scale the width of layouts?

    On System Event there is only a scale action for layouts. But I want only scale the width.