lionz's Forum Posts

  • Ok thanks for the info Diego! This is just a UX problem then, in my opinion the pop up implies the TSX is always optional. There's no info that the TSX is optional because it could be part of the TMX.

    Perhaps there could be some error message when you press load, that tells the user hey you need to add a TSX because no tileset info found in the TMX. As a user I am stuck pressing a load button that doesn't work with no reason why.

    I tried with a tileset embedded TMX and yes this was working as expected, only the image required.

  • Why when loading a tilemap using TMX and then an image file, does it say the TSX is optional with a tooltip but the 'Load' button is disabled until I use a TSX file? Maybe I'm doing it wrong, but I can't load a tilemap using only the TMX and an image.

    Tagged:

  • The solution to this is to not make it a useable key for anything other than what you just mentioned

  • You could try using combination of pick nearest and compare Y, so if I am standing very close to B7 and select D1, if I say pick nearest and (because D1 Y is less than player.Y) pick node where Y is less than player.Y it will go to B8 and not B7.

    edit : ooo yes the above makes sense, I don't know how you were doing paths already but listing all nodes in an array and go to each one sounds interesting.

  • The one closest to the player on the way ?

  • On the orange dot object there is a condition 'pick nearest' you can use this and pick nearest to player position.

  • You are correct that changing browser would be different data

  • I gave you the quick option, it's a save game using system save/load.

  • I achieved this with a value saved to local storage (check manual). When you launch the app you check if a certain key exists in local storage, if not then this assumes the player has not saved before and you give them the new game flow. If the key exists then this means they have a save game and you present the slots as needed. To set the key you set it in local storage the first time a user saves.

  • You are creating them on layer 2 which set to invisible in layer properties

  • Thanks, it's a bug, I'll report it.

    Do you also know why my little purple square (sprite3) doesn't appear when the path is found? it should in order to create images at the position of the path search nodes.

    Ya sorry I didn't mean it is a bug I meant add some rotation to it. The purple sprite works for me if you start the loop from 0 because there is only one node.

  • Seems it doesn't like that you removed its ability to rotate

  • I think you are looking for save and load game under system. I can't think of a reason to save an instance variable on specific instance and it doesn't seem possible.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you mean saving in the sense when the user quits the game and reopens it then system save/load is good enough or look up how to make savegames in the manual. If you mean saving in the sense of storing variables during the game session and going between layouts then I would use global variables.

  • You need to spawn the bullet with the condition 'on shoot'