lionz's Forum Posts

  • I'll just explain it here :

    Add a global string variable and set it to tilemap.tilesJSON

    The variable is then the positional data for the tilemap.

    Then later on for tilemap you can use the action 'load' and use the variable

    You can also use the download action to make an external file of the tilesJSON information if that's useful for the game

  • You don't need to call it by name in that way (also not sure if possible). You would do on start of layout, set a local variable to choose(1,2,3,4) and then sub events : if var=1, call func1, if var=2, call func2 etc

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You save tilemap tile layout in a json format, then load it again later.

  • That looks fine to me

  • 'On start of layout' checks the connection status once on start of layout. Are you returning to the start of layout after severing the connection? If not, then the variable won't change. You can also use 'went offline' to check this but you need to be checking it constantly not 'on start of layout'. You're talking about a connection drop during gameplay right?

  • Do you mean your variable won't change instantly? Because it won't if you've set it to check that 'on start of layout'.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • if you are this new I would take a look at the manual and start to create examples yourself. health can be a global variable and you set the width of a sprite to suit.

  • To create an instance you can hold down ctrl, click on the object and then kind of drag away with the mouse and it creates one. Or you can do copy and paste, that works too. ctrl+c, ctrl+v then click.

  • correct

  • I guess calling it a 'persist layout' is a little misleading. The objects are persisting, you add the behaviour on the objects themselves and this means they retain their state when you go between layouts rather than they are destroyed and recreated again when going between layouts, which is what normally happens without that behaviour.

  • On event 3 you have the wrong object it should be Follower B pin to leader. That's the only problem I can see.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads