lionz's Forum Posts

  • How many is a lot? Why would you need tons of animations for a monster? It's up to you, if the memory usage is too high then limit the number of animations.

  • it is simply Tilemap - load image , URL "myNewTileset.png"

  • Technically it is hinted at because it says parameters will help to use information from the action calling the function but yeah it could be explained more with picked instances or give an example.

  • It's by design, you can pass the UID of the picked instances through the function as parameters. Think of the function as a separate event with nothing picked and no knowledge of other events.

  • It's required by privacy law so it's a requirement when submitting apps to google and apple

  • 'On collision' with spike is a trigger event and runs the function once. 'Is outside layout' runs every tick so repeats the function up to 60 times a second. You can fix it by adding trigger once condition to 'is outside layout'.

  • You should adjust bullet angle of motion under bullet properties, not the object's angle.

  • You'll probably find that it works fine with just one instance of the enemy. When you add multiple enemies this starts causing problems because it requires a different kind of picking logic and the trigger once events also cause some confusion, you can't just say 'enemy' you have to specify which enemy.

    You can try 'for each enemy' to see if that works but even this can become buggy if you have a lot of complexity to the enemy patterns, I prefer a more solid way where I use functions, pass the instance UID through the function so I know I am applying it to that enemy. I had logic similar to yours making use of states and timers, skeletons that would charge into a wall, crash and then get up and continue charging, I had many working in one room with no problems using my method.

  • You're adjusting the angle of the object and not the angle of motion for bullet, this is always the same. Because you have 'set angle' enabled it will keep setting the angle to the angle of motion.

  • It's just a common mistake where in your mind you think it would pick the nearest one, but on the left conditions you can specify this - pick nearest, or pick overlapping if they are doing this, or another way is to put them in a container.

  • Then my guess is the breakable block ID doesnt match anything else. The issue with the pinned object is probably something else, my guess is that all of the objects are pinned to the same instance of wave because you didnt specify how to pin them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You didn't really describe the game but going off the image it's one of those infinite runner climbing games? Should be fine in one layout.

  • Probably you could come up with a better variable name than something which is 36 characters?

  • The code is a little wild anyway in one loop and with a trigger once present, that's why bugs happen. I would set them to poisoned on cloud overlap and then bring out the other logic into separate events. When poisoned have each enemy start their own timer.

  • You can use 'on collision' with the object, and in the image editor you can adjust the collision box.