lionz's Forum Posts

  • I don't think anyone could help with those slim screenshots with the loops missing, we would need the rest of the events and the ability to test it.

  • Yes the memory usage is looking more reasonable now. The email is here hellotrk@construct

    construct.net/en/contact

  • Open that file in notepad and the string inside is the data for the tilemap. So you could have an event on start of layout > Load and then for the value use that string.

    That's the simplest form to know how to load the tilemap data. To pick a random level you would need to build that mechanic, you could store the strings in an array and pick a random row. If I get time I can build something but it's late now.

  • That's a different freeze to the memory usage, some kind of bug but I'm not sure. There is a console error, you could send it to construct team to ask them.

  • Paint the level in the tilemap in Construct then load your game and trigger the tilemap Download action during the game to save a json file. You can then store the json string from the file somewhere in your game like in a variable or array and use the Load action to load it later. The downloaded json string contains all the data for the level you drew with the positions and type.

    I think you could also set a string variable to tilemap.tilesjson on start of layout which is the same data as above and then pick it out in debug preview, you can click on the variable value field and copy that data to save it for later.

  • See my response above

  • Please first share an example of what is an RTS interactive UI

  • email Construct team with the file and info, it will be difficult for a user to help with that.

  • The event runs every tick, you can add a trigger once to the condition, or instead use 'alien on collision with spaceship' which will trigger once.

  • I can't see the edits. If you mean second level we didn't really touch that.

  • I'll just mention specifically it's player.x+random(a,b) where a is the closest the enemy is allowed to be and b is the furthest away.

  • Yeah I am not too great at the maths so my approach would be set a local variable to choose(1,2) then if 1 its on the left of the player so player.x-random(value) and if 2 its on the right of the player so player.x+random(value). For Y you do the same and it kind of randomises it I suppose.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What are you using at the moment, a random x,y ? You could create the objects at player position + value so they are always away from the player.

  • Hmm it looks like the character object does need to be in the layout for it to work with the 3D object. You can destroy the character object on start of layout to free up memory but I don't think it would stop the freeze.

  • Try the option of selecting the layout from the drop down instead of by name and see if it works