vagaev's Forum Posts

  • you have to upload it in cocoonjs i guess and upload the image too which you will create

  • :O thank you, silly me. By the way, you guys helped me with this but I never even showed some of my game to you, here it is in case you wanna play it a little bit )

    Ahaha really fun :p

    You should add international keyboard support. WASD is QZSD in french

  • Create a function called head or tails

    Variable Heads_Tails Set variable Choose(0,1)

    Now when you want to choose either call the function

    System compare two values heads_tails equal to 0 do this

    else

    do that

    Thanks dude. The funny thing is that i figured it out just right now.

    Works

  • It doesn't work

    Where am I wrong?

    If BubbleRain_On=1 an event must happen but nothing happens.

    Is my choose correct? Can i put BubbleRain_ON=1 and expect it to take value 1?

  • choose() in the manual is under system expressions. an expression in the white box that requests an input value. there are a lot of excellent and helpful expressions listed in the manual

    System.setvaribale

    [variable box]

    choose(var1, var2)

    I knew about choose and random but i was wondering where to put those

    now i see.

    I would like to have some sort of event which will let me tap code without creating more variables.

    But thanks i've got it. I will create a trigger variable triggering the 2 trigger variables :p

  • Use System.choose().

    var1 = choose(var2,var3)

    Thank you blackhornet! But I am wondering where do i have to enter this code?

    I make a new variable which value will be set to trigger the var i need to randomize?

  • Here is the thing folks.

    I don't really know how to randomly choose between 2 variables in this form.

    I want that every from 10 to 60 seconds C2 chooses randomly between 2 variables that are listed here.

    Any advices please?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think this is possible.

  • Thank you for the kudos dudes.

    I will consider to turn this into a tutorial as soon as i'll get some free time for.

    Actually i was looking for this kind of stuff too when i began but there were no concrete example. So by try and error and lots of forum questions i've managed to do this

  • Make a try with crop mode. And set a 3:2 window size and no matter the layout.

    I never tried that way but it might work if you are using a scrollable layout

  • It's not about resolutions but about ratios. If your games support a 4:3 ratio no matter the resolution as long as it is ratio compatible.

  • <div class="post-censorship-notice">vagaev can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?</div>

    Check my post

  • And one more thing it's important to scroll to the center of the layout. Sometimes you will need to make the background even bigger that the layout. It's all about proportions. I'm not sure if constructs when is scaling outer is adding the equal amount of pixels from both sides.

  • Well the layout size doesn't really matters here. What really matters is the window size,backround size (to cover gaps) and the anchor behaviors.(to keep everything relative to window)

    The game in my example was a pinball like game so it was very important to keep all the stuff in place (the game surface is bigger in age of zombies so relative position variation inside of the layout may be less important.

    The first question you will ask yourself is what kind of mobile platform do you aim?

    If you want your game to work from iphone 4 to ipad then you must support the 3:2,4:3,16:9.

    Which means (i give an example) that your window will be: 1152*768 (3:2) and layout will be 1366*768. This kind of configuration is good for pinbal games but it will maybe seem strange and not in proportion for other games when you will test it on 16:9 ratio. So you should maybe pick another layout or windows resolution from the link i have put above.

    It's all about proportions.

    I advise you to make a basic setup and give it a try.

  • if you use touch you don't need to use mouse condition.

    You can use sub events sticked with the 2 variables instead of "or"