dop2000's Forum Posts

  • If you want to add 1 to the variable every 0.5s until it reaches 10, you don't need "While" condition at all. Change your code like this:

    Every 0.5s
    Variable<10 : Variable add 1
    

    While is used for loops which run in one tick. For example "While Car not overlapping Wall, move Car 1px"

  • What "Kalman Filter demo"?

  • You need to set collision polygons in the sprites correctly. Then you can check if a tile is overlapping the sprite.

    Check out this demo, it's very similar, except it uses another tilemap to check for collisions:

    howtoconstructdemos.com/auto-fill-collision-map-for-top-down-games

  • It does, you need to set up a web app in the developer console.

    You'll likely have to upload the game to the actual webserver to test, it won't work in preview because of CORS restrictions.

  • I think the group gets activated after 3 seconds. But "On start of layout" event in this group is not triggered, because at this time the layout is already running.

    I suggest you use Timer behavior instead of "Time>3 second + Trigger once" conditions.

  • (the hour hand should rotate clockwise at 1/12 the rotation of the minute hand)

    So the hour hand should only move forward every 5 minutes? I didn't know that!

  • This may not be the best solution, but here is my attempt:

    dropbox.com/s/gbaqv31tjdr94aa/clock3.c3p

  • You need to register an account and set up your app on GA website first.

    Add GA plugin to your project and configure the Game Key and Secret Key for Android in plugin properties. You can find the values of these keys in the app dashboard on the website under Settings.

    Add "GA Initialize SDK" action to your loader or first layout.

    This should be enough to track basic events, like app launches, playtime etc. If you need to track other things (for example level progression), you can do this too, just add these actions to your game events. For example:

    When player starts a new level - GA Add Progression Event Start "Level1"

    When player finished the level - GA Add Progression Event Complete "Level1"

    Here is the official documentation, but it may be outdated:

    gameanalytics.com/docs/s/topic/0TO6N000000XZEyWAO/construct-sdk

    You can check if the integration works by clicking Realtime -> Live feed in the dashboard, the messages there usually appear within minutes. Note that you might need to wait for several hours or even days before the data appears in other screens.

  • When I open the debug I see the variable Keysvar = 1 Nothing different from a normal variable that could be...

    Because it is a normal variable. All integer numbers are made of bits and setbit/getbit expressions allow you to change individual bits in a number. Read about the binary system if you want to better understand how they work, for example:

    mathsisfun.com/binary-number-system.html

  • Yes.

  • getbit/setbit allow you to use a single number variable as a mini-array of values. You can store up to 32 boolean values (0 and 1) in it. And then send this variable with multiplayer plugin.

    Let's say you need to send the information of which buttons on the keyboard are pressed. Normally you would need a dozen or so variables for that. But with getbit/setbit you can encode them all into a single number:

    Then once the peer receives this number, you can decode it using getbit expression. For example, to check if the space key was pressed on the remote host - getbit(keysVar, 4)=1

  • GameAnalytics is free and pretty powerful tool, it works on iOS and Android. They have an addon for C3.

    construct.net/en/make-games/addons/95/gameanalytics

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried "Has product" condition? In theory it should return false if the purchase has been refunded.

    There is an alternative plugin - Mobile Billing from the Construct Collection. This plugin has "On refunded" trigger.

  • The file size definitely should have went down. Try saving the project with a different name.

    If it doesn't help - make a backup copy of the project file, change the .C3P extension to .ZIP, open that ZIP file and try to manually remove the song from the Music folder. But don't forget to make a backup copy, because this may corrupt your project!

  • Maybe there's some other event that is causing the issue. Like I said, your screenshot contains very little useful information. Try reproducing this bug in a smaller project and sharing it here.