igortyhon's Forum Posts

  • I have a html window (element) that I can position off the right side of my screen fine, but when I try to position less than x =0 (off to the left of the screen) the html window wont move below 0 (eg x=-50). Why could this be?

    I'm am doing all the positioning using the c3 event sheet.

    Cheers

    It should work. Please show me the code.

  • 1. You can copy the same tree sprite all over the map, it can be given different frames to make the trees look different. And when the player passes under the tree it will be transparent this one event will apply to all sprites with this name.

    You can make a lot of different tree sprites and unite into a family and already with the family to make an event.

    2. I suggest you open the examples and understand the code of the mechanics that you like.

  • I tried to make an example according to your description.

    It is simple and has only two buttons, one to add Bugs and the second to enable and disable the attack.

    All events are based on triggers, which optimizes resources.

    I hope this example will help you to find a solution.

    https://kibaga.org/c3-example/file_uploads/index.php?file_name=../Bugs-Attack-OnOff-Sample.c3p

  • The design itself logically looks odd.

    Listen to how it sounds.

    You check the animation frame of one bombardier 60 times per second and if it is three then all bombardiers spawn an object.

    You have a dependency on the animation speed and the number of frames. Yes and when there are many bombardiers the check will go to the first one. Sounds creepy.

    Why don't you tell me what you want and I'll create a more optimal algorithm?

  • Post the apk and I'll check it out for you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Uvas in Chrome and Firefox code 73.

    It can be used, I don't understand what the problem is.

    Maybe someone else has figured it out and can help.

  • Thank you for your advice!

  • Hello, colleagues.

    Please advise.

    When releasing the game asks what encryption method I use.

    I specifically did not connect any encryption, but I guess that the plugin AdMob uses it.

    What setting do you choose?

  • Use the button codes, they should be stable.

  • Does the camera object arrive at coordinates (125,93)?

    If it does, it should start the timeline.

    Look at the coordinates in debug mode.

  • The addmob's SDK has its own inbuilt defence against ad spam. You can't with admob show adverts too often.

    If you want to do that use mediation.

    If you too often will ask for ads from admob and compliance coefficient will fall below 30% you will get frizz and ads will stop showing at all.

    Admob doesn't always have a lot of ads for all countries.

    If you want to do that use mediation.

  • That solution changing the bottom of the collision polygon does work, but I remember encountering some weird glitches if I did that, so I'm not sure if I'd recommend it.

    IIrc construct has a build in (hardcoded) threshhold of how far up a sprite can go instead of getting stuck. But a quick test gave me inconsistent results. Sometimes I'd get stuck at 2px already, sometimes I got stuck at 5px. Not sure what to make of that.

    Anyway, perhaps you can design your game to not have such singular pixel differences?

    I need to see a concrete example of a problem. To understand how to solve it.

  • Start the timeline when the subject camera arrives.

    + Camera: On MoveTo arrived-> Play Timeline 1

  • I read something like that:

    "It´s a good idea to have a single (invisible) sprite without animations that serves as the characters collision box and have the actual sprite pinned to the invisible one."

    But I didn't quite understand what it was. Could someone help me create it?

    Please see the example. There is a hidden hit box.

    https://editor.construct.net/#open=kiwi-story

    I recommend to read the other examples.