Sisyphus's Forum Posts

  • No, i guess this function can break something in projects, that's why it's not added. Try to ask Ashley for more info, or maybe ask if he can add it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Rotate clockwise + pathfinding behavior maybe.

  • Camera is not working with default user media, but i heard that microphone is working, try search the forum to find how. Oh, and search the forum for camera plugin for crosswalk. I saw camera plugin for cocoonjs too, but it's ugly and not stable.

  • Did you read the tutorial on how to export to winphone8? You make absolutely all the steps from tutorial?

  • What I want is for a player to click on Sprite1 and the game to randomly take them either to Layout1, Layout2 or Layout3.

    (Sprite_roll is the name of my instance variable)

    Why doesn't this work?:

    left button clicked on Sprite1 -- set Sprite_roll to random(3)

    Sprite_roll=0 -- go to Layout1

    Sprite_roll=1 -- go to Layout2

    Sprite_roll=2 -- go to Layout3

    but this DOES work:

    left button clicked on Sprite1 -- set Sprite_roll to random(10)

    Sprite_roll<5 -- go to Layout1

    Sprite_roll>5 -- go to Layout2

    I'm sure I'm missing something obvious but to me this looks like it should work.

    Thanks for any help!

    The "=" compare will not work, because random(3) will give you a number like 2.33434 or something like that. int(random(3)) or floor(random(3)) will set variable to normal numbers 0 or 1 or 2 or 3.

  • Read the manual, it's pretty easy thing to do, but too much steps to describe.

  • Too much talking, here is the example capx.

  • Add a variable to your line

    On click > Create line

    Left button is pressed & line.variable = 0 > Set line width to distance(Line.X, Line.Y, Mouse.X, Mouse.Y).

    Anything after the mouse on hexagon is doable too, on mouse hovering hexagon > set line.variable to 1 and set line width to distance between line and hexagon, then create another line etc..

  • I don't know any expression like that, maybe you can somehow do it manually, or try search plugins.

  • Maybe in appdata, but i'm not really sure, try search there. Next time enable autosave

  • This is the example capx, works how you want i guess.

  • How can I do: for every 100 (something of distance ) add 1 to Score? instead of 1 for every plataform; 1 for each 100 or 50 (something)

    If you want to add something that adds 1 to a value every 100 points of other value then make something like that - add "a" value(that will set to 100, 200 and more) and "b" value (that will set to 1 when "a" equals 100 and 2 when 200 etc.), add event: every tick (or when condition that changes "a" triggers) set value "b" to (int(a/100)), or (floor(a/100)). The same thing if you want to add 1 to "b" every 50 points of "a" > set value "b" to (int(a/50)).

  • The problem of not supporting the letterbox in cocoonjs is not the c2 problem, c2 updates can't fix this, only updates of cocoonjs, as i know in cocoonjs 2.0.2 the letterbox scale is still not supported.

  • Search tutorials, or here is the plugin for admob, but it's paid.

  • There are many ways to do it, for example, add invisible sprites near the platforms, so if player avoids the platform he will collide with invisible sprite, then add event - Player > On Collision with Invisible sprite > add 1 to Score variable.