fredriksthlm's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Which plugins do you use ? Any none official ones?

  • 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

fredriksthlm's avatar

fredriksthlm

Member since 6 Jun, 2016

Twitter
fredriksthlm has 8 followers

Trophy Case

  • 8-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • x44
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x10
    Lightning Draw First person to up-vote a new Construct 3 release
  • Email Verified

Progress

20/44
How to earn trophies