fredriksthlm's Forum Posts

  • Looking at your screenshot,

    isConnectedToLobby is a normal condition, which gets checked every tick.

    You want OnConnectedToLobby which is a trigger condition.

    When a user enters a room the user also leaves the lobby in the same time. So the condition "isConnectedToLobby" will be false directly when entering the room, which is the action for this condition.

    But it is true that the event will be checked every tick until the room is entered, which will maybe take a few ticks. so best to add a "trigger once" to it indeed.

  • Are you planning on just playing your own games on your own super old hardware or are you planning to release and monetize games?

    If you plan the later you can just give up, there is no people using such old devices anymore and the games will run terrible. You are also not allowed to upload any apps at all that target old apis to any store either. and to target new apis you will require new versions of all sdks and they will not support your old android api. So this will probably technically not work.

  • The eu server is in Amsterdam and the us is in DC. So that indeed seems odd for you, but yea, you can try the ping to them all and see which is best.

    I actually saw a comment from someone on the photon forum that claimed the ping and lag was unstable on the eu server. But it was a very old comment…

  • You should send all data needed in the same message not in separate messages.

    You should only send messages when something actually changes, not sending everything every tick. You should also send events timely and not by ticks, since ticks depends on the framerate.

    (In your example if you have a 144hz screen your game would post almost 600 messages every second, just for 2 players...!)

  • The official min sdk is 24, which is Android7. So using the latest Cordova their is no official support for any lower versions.

    But you can ofcourse always use older versions of cordova and target lower versions if you build on your own.

  • Your app does already have that set in the manifest, since this is standard for 99% of all apps

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It is located in one of the dex files, which contains all classes. You can verify it in AS.

    But you should only amend such files before you build, not after.

    (The mainActivity in a cordova app does not contain much more than the name of the package and the html file to open really.)

    Exactly what are you trying to do?

    (If you are trying to release someone elses game by changing the package name, it will not work...)

  • You can always look into chrome://gpu/ and then test various settings here chrome://flags/

  • Yes, this is a quite bad situation indeed. But this has been discussed for a year by developers on the Admob forum, so this should not come as a surprise.

    The consent is not about getting targeted ads or not, the consent is for the app to save any data on the device (like a cookie consent), and without this consent then Admob cannot save cookies and then the fraud detection won't work, so the they do not serve ads at all basically.

  • Both you and Igor has misunderstood how the CMP works. Google will not serve ads to users that do not consent.

    This from their Admob FAQ:

    What happens if I implement a CMP and users don't consent?

    Limited Ads serving applies if there is no consent for IAB TCF Purpose 1 in accordance with the EU user consent policy. Per the Limited Ads "Demand Eligibility" section, the initial offering in limited ads is just waterfall mediation, meaning no ads are returned from the AdMob network.

    (Btw, this has been discussed in thousands of posts in the Admob forum (this is not related to Construct in any way). Like this thread: groups.google.com/g/google-admob-ads-sdk/c/InmLIbFm8Xg )

  • AppOpen-ads already exist in the admob plugin, they are just not exposed in the C3-plugin. But you can call the function by a js oneliner directly in the event sheet.

    (It does not really work well in a cordova/www app though, AppOpenAd should be visible while the app is loading, at splash screen basically. but if you call an AppOpenAd from the event sheet it will be shown after the project is loaded and already running, so this is not really how it is supposed to work.)

  • Okay, I just meant if you have photon related questions you would probably get better answers on the photon forums, from the photon developers.

    It should work the same in every engine, and not related to construct: The actor numbers are unique so it will be new/increased number every time someone joins.

  • the actor numbers are uique and will not be reused for other players.

    (But this question/issue has nothing to do with Construct, you should probably ask your photon questions on the photon forum or photon discord)

  • I don't believe this guy needs to describe his events or provide a project... Scirras IAP plugin just don't include Subscriptions.

    (The cordova plugin do have it though, so either you can call the functions manually via js, or you can find another C3 IAP plugin that do include Subscriptions)