fredriksthlm's Forum Posts

  • Just some tips here.

    Always start with an easier project, just a test one. Since you obviously have no idea of how it is working you should first just try to understand how to send messages, with which data, and how to receive it and how you can fetch the data.

    I would suggest you create a textbox where you print out the received message for the receiver, so you fully understand what you are actually receiving. Also (when you are finished testing) you should not really send such message to yourself, only to Others. And of course you can send AnimationFrame data, you can send exactly whatever data you want.

    Good luck! :)

  • In your example the | is the delimiter for the fields in the message.

    Tiles.X & "|" & Tiles.Y & "|" & Tiles.Angle & "|" & Tiles.UID

    Would be a json message for thesprites X and Y coordinate and the angle and the UID

    Then when you receive the message you can get the data with this command:

    int(tokenat(Photon.EventData,XXX,"|"))

    the "int" means turning it into an integer, otherwise it is text. the XXX means where in the message the data is stored, 0 is always first. in this example above Photon.EventData,3,"|" would be the UID of the sprite you sent.

  • Thanks. Do you have any link to a specific tutorial? Where should I search for on youtube?

    So the sprites inside the family have to be specified? I learned that you could pick an instance from a family, have seen some examples where people could pick an instance like that without specifying the independent sprites in the family

    You can pick whichever sprite you want. But when you raise event 1 you need to specify which sprite that should be affected. Now you send it to the family, which means all sprites in the family will get that position.

    So use some variable/name/index etc to specify which sprite/puzzle piece that you want to change position for, this reference should be passed in the message as well of course.

    You must always remember that the sender and the receiver is different persons, which have no idea what the other one did, the only information you get is the data in the message.

  • I have still not found any solution now after 3-4 days of trying tons of possibilities, reading through this thread and other documentation forms.

    I just know it must be something simple I'm missing/overlooking that has to do with picking instances.....

    you must specify which sprite that should get the updated position. now you just send it to the family and not specify anything. There is a lot of tutorials and youtube videos,a dn examples who explaines this

  • Try to change Viewport fit from Auto to Cover.

  • I cannot help you with the enemy AI in your game sorry. Personally I have only used the Photon plugin, not the official multiplayer plugin in any project.

    My tip is, before creating an actual game, just try to fully understand the plugin you want to use. How to send messages correctly and what you need to sync and how.

    (It's a bit odd to just reference some random users and ask for help. But good luck!)

  • Is it even allowed to show ads without consent..?

  • Ok, so then it is most def MobileAdvert.

  • Which plugins do you use ? Any none official ones?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I still got this warning today when uploading an ios build. Apple says the deadline to fix this is April 2020.

    Apache has marked this bug as 'resolved', which means they are not longer working on it and condidered it as fixed.

    They describe some parameters to set in the config.xml file, or if you still get it, it comes from your plugins.

    So I believe this is for Scirra to look into. Nepeo

  • Nice new feature! :)

  • Anyone tried to export to cordova (iOS) and then use xcode on a macincloud machine to upload to the app store?

    (Instead of buying my own mac laptop)

    checkout.macincloud.com

  • Good luck

  • Sorry, maybe need to refrain it according to boulerzzz comment. Did not see the last event. and the counters. thought you just showed an ad directly when the player wants to start the game.

    Accoring to Google, you have perfect 100% match most of the days, but some specific days you have like 25% or 50%? This is odd, indeed.

  • Very bad logic, do you load the ads on some other layout? also it sounds like bad gaming experience to start with ad when you start to play...? I would close down the game directly

    Normal logic is often

    Start of layout: Load ad

    When you die: show the scores/continue screen with ad, or possible show the ad when the player choose to continue and play again. then show it before the actual game play starts. not during!

    just some tip :)