lionz's Forum Posts

  • I can send an example screenshot if you tell me exactly what you're doing with the array in the actions. 'Set a global variable to that' means?

  • You could use a system for loop, for 0 to 9 and then on the array actions you use 'loopindex' for X position.

  • What a lovely story :)

  • Global variables will always persist between layouts. For objects you can use the Persist behaviour and they will keep their same instance variable values when go between layouts.

  • For all these behaviours you can untick Set Angle so it only changes the movement angle. Or you can have images on a separate object and pin it to the movement one.

  • Try the Car behaviour

  • Sounds like you're doing the right thing, must be a problem with the structure of the events so let's see a screenshot :) or alternatively make sure in debug view that those variables are definitely set correctly and not for example all set to 1.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Because the data already exists it won't load those default values. If you really want to overwrite them for testing purposes just alter your events for a moment to call DataDefault on item exists. Or you could use 'Clear' to get rid of the old key data.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We can't see the important events such as when you are calling the function and where else you are changing the dictionary, the screenshot doesn't show much.

  • Ok so they are obstacles to each other, maybe that's fine but I think regenerating obstacle map that often is supposed to be a big performance killer. If they can find a path then it might just be a picking issue, with multiple instances finding paths every tick with lots of embedded events it can get a bit messy. You could try using timer behaviour on the enemies to refresh the find path instead of using every X seconds, then you can better track which ones are failing.

  • Maybe they failed to find a path. You don't have any events to check if they failed to find a path. Pathfinding every tick with multiple instances is always problematic though. Also I don't see a need to regenerate the obstacle map so those events can go.

  • This is the Construct forums dude, you're not likely to get people advising you to go use another product. Me personally, I've never looked at GM. Construct has all the tools you need to make the games. You can always try them both and decide for yourself.