vagaev's Recent Forum Activity

  • You have to use aspect ratio instead of resolutions.

    I will illustrate with an example. Let's say you want your game to play on ipad and iphone 5.

    Well ipad is 4:3 ratio with 1024*768 for ipad 1 and 2 and higher for ipad 3 but we don't care. All we need is to pick a 4:3 compatible resolution.

    Iphone 5 is 16:9 ratio (you can pick any 16:9 resolution BUT bigger than the 4:3 one).

    Your goal will be to be sure that your layout is big enough to fit into 2 given resolution.

    You have to pick the smallest resolution. Basically the smallest resolution that fit 4:3 and 16:9 without being too small and design your game for it.

    When it's done you will make a condition every tick, scroll to (the center of the screen).

    You will have to put anchor behavior on all the objects and stuff in order to maintain their relative position to the window.

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

    vagaev can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?

    Don't really know but this might help youtu.be/ac8VDNN5x7c

  • Here is a working logic.

    Don't forget to set int or it won't show on mobiles.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I will use your topic to ask a question to austin .

    I've sent a mail about that but still haven't get a reply.

    What about the clay.io advertisement plugin. (scirra ads) It does not work in C2.

    I would really like to implement some adc in my html browser game.

  • Hi all

    How to get premium in cocoonjs? Is this the easiest way to get ads in your app?

    Yes it is.

    Curiously they made me premium in 1 day. Sometimes you have to wait 1 week.

    But i believe if you present your project very well it will be fixed very quickly

  • It's 260 *260 instead of 120*120.

    But it's my fault i made 4 bubbles in illustrator and decided to add a 5th a week ago.

    I will redo all he bubbles.

    Lol that's why game design before production is important

  • Use cocoonjs native collisions not box2d.

    Redice collision plygons.

    Never use web gl

  • You can settle highscores with webstorage local values. (Offline)

    For online there are facebook and game center integrations with cocoonjs

  • Hello dear devs,

    I am facing a little problem and was wondering how can i fix it inside the sprite animator.

    I have 4 frames of a ball of the same size but the 5th has a different size and when i'm trying to change it by putting it on first frame then moving it on the last frame it currently resizes ALL the frames.

    How do I proceed?

  • SOLVED

  • Nope it's a simple text.

    Here is what i'm using

  • I have a problem here.

    I know session web storage doesn't work so i use local ones for highscore.

    When it's game over a text appears saying the best score.

    It works perfectly in my construct but when it comes to cocoonjs it simply doesn't appear.

    So I would like to know what should i do to make highscore appear correctly in cocoonjs.

    EDIT: And yeah it doesn't even work in HTML export so i have a big problem!

    Solved with adding "int" to WebStorage.LocalValue()

    The thing is web storage was storing strings and then converting to int. For some reasons writing directly "int" to the code solves the problem.

vagaev's avatar

vagaev

Member since 7 Feb, 2014

None one is following vagaev yet!

Connect with vagaev

Trophy Case

  • 10-Year Club

Progress

10/44
How to earn trophies