lionz's Forum Posts

  • You do not have permission to view this post

  • You could argue that enable/disable Persist behaviour kind of defeats the purpose of it. This is probably why that option doesn't exist. The action 'reset persisted objects' is useful for doing a restart but as for turning it on and off during the game I'm not sure why you would need that.

  • Hi so what do you need help with ?

  • If you mean the built in array file loaded into an array object then you use the array actions such as array.at(0,0). Also you can check in debug view if the array object is populated with the values as expected.

  • You do not have permission to view this post

  • Did a bunch of investigation on this as there are a lot of flows to trace though and found the cause, your Equip_Slot default value for EquippedID is the text "" instead of empty. So you need to remove the default value of that variable in the layout.

    • Post link icon

    I think the code doesn't help, better to share the file. However what you are describing sounds very convoluted for an item swap, there must be a simpler way? Let me know exactly what you need and I can make an example with an inventory.

  • Ya that was because it's running all events in the same tick and the timer one is true by the time it gets to it. The wait can work or you can use an Else - right key is pressed and sub event : timer is running then dash, Else start timer.

  • You could start a very short timer and say if the right key is pressed and timer is running then do the dash.

  • Let's see the move events for the Robber

  • Move To is a separate behaviour. To make use of the obstacles, which I think you can just add once by the way like on start of layout, you should move with Pathfinding behaviour and find a path to the player.

  • Yes if that plugin is available it does look suitable as a kind of 'create object by name' of the Construct 2 era. With this you may be able to chop it down a lot as you would with create by object, where you send the monster.var through as a parameter and spawn object type 'nickname'.

  • Shouldn't it be set player score to level 2 starting score? Depends on your game design but from what you described I assume the start of level 2 is the score from level 1. There are many ways to do it. You can store the score at the end of level 1 as a total level 1 score and set your score to this if you die in level 2.

  • What a blast from the past with these functions. I had a look and I think based on how the spawner is set up and because it's Construct 2 there isn't much you can do. You don't need a function for each monster, you could pass through the spawner.monster variable each time into a single function that has conditions if param(0)="bug" then spawn bug etc and also a second param(1) for the trigger type if collide etc, but without create object by name there isn't a lot you can do to minimize the code beyond this, you would still need a condition for each monster. Construct 2 is really old though, maybe time to upgrade? :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Love it, good luck! I added it to Steam wishlist.