Yura G's Recent Forum Activity

  • I think that youtube tutorial can help you:

    https://youtu.be/L1dd4fkVSAM

    You are welcome <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Multiplayer Fails when HOST BROWSER is minimized:

    https://www.scirra.com/forum/multiplayer-fails-when-host-browser-is-minimized_t184285

    Currently still a bug, a browser bug.

  • To cover the widest range of devices, the best solution is to make your game responsive:

    Set scale to Crop, Scale-Inner (my favorite) or Scale-Outer.

    And you will have to get along with Anchor-behavior to make your HUD, menus and etc...

    Then when developing the sprites aim to certain resolution... I prefer 1920x1080px or if you care about download size more than on quality aim to 1280x720px, I prefer 16:9 ratio because I noticed that in recent years most of the devices aim to show a good 16:9 HD videos.

    If you will make it right, you will make twice the work of testing, but quadruple of devices will run your game.

    p.s. Those solutions not so good for pixel art games, pixel art games better played on resolution like 256 × 192 px (as old Nintendo) or 240 × 160 px (as Game Boy Advance), and make the scale Letterbox Integger Scale. (Ratio of those 4:3 and 3:2 accordingly)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes and No

    Yes, it is good to have drop downs with names of the functions you already have.

    No, no too much restrictions on calling the function.

    I want to be able to call function before I have them in my project.

    It helps to plan and allows to import functions I wrote in other projects, or to use entire event sheets...

  • matrixreal

    Right,

    but that navigator trick sometimes may give false positives and false negatives.

    It never accured to me, and no one complained, but I heard that it can happen, depending on device and browser.

    Just saying, in my opinion it is 99% safe to use.

  • Can you try without both fx, both of those fx have "lowp sampler2D samplerFront", and low precision (lowp) can be not so accurate.

  • Obviosly,

    You named your host player - Han Solo,

    and Han always shoot first.

  • *Do you use effects on the sprites?

    *Maybe if you want to scale and keep the pixelated look - you should try the "Letterbox integer scale".

  • Some conditions that could help:

    (Compare two values)

    Browser.ExecJS("navigator.platform.toLowerCase().indexOf('iphone') > -1") Not Equal To 0

    Browser.ExecJS("navigator.platform.toLowerCase().indexOf('ipod') > -1") Not Equal To 0

    Browser.ExecJS("navigator.platform.toLowerCase().indexOf('ipad') > -1") Not Equal To 0

    Browser.ExecJS("navigator.platform.toLowerCase().indexOf('mac') > -1") Not Equal To 0

    Browser.ExecJS("navigator.vendor.toLowerCase().indexOf('apple') > -1") Not Equal To 0

    I used all the conditions together in OR condition to determine if I'm in iOS device, woked for me like a charm.

    But for your need it should also work independently to determine exact device.

  • dt is actually time that passed since you started the layout.

    Sorry, but wrong.

    dt is the time of the current frame/tick, its value is about 0.016 when the game running 60 frames per second.

    And sometimes it is critical to multiply the value to the frame time to get frame-rate-independent animations.

    It is good to do if you want your game to run smooth even on weaker devices.

    Better to read the manual, I found there countless tips and shortcuts to use.

  • You can do it even without conditions, just set Paddle X to "clamp(Mouse.X,100,500)", and play with the numbers accordigly to lower and higher values.

    You want news for construct 3?!

    Drop down list in "initial animation" was

    confirmed for C3!!!

    The dropdown for animation property has been done for C3.

    Here is the source:

    https://www.scirra.com/forum/viewtopic.php?f=146&t=186084

Yura G's avatar

Yura G

Member since 10 Mar, 2016

None one is following Yura G yet!

Connect with Yura G

Trophy Case

  • 8-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies