blackhornet's Forum Posts

  • Use the Timer behaviour. You have full control over the period.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Bubble Shooter — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/bubble-shooter-1979

    The classic bubble shooter game that drops rows of balls periodically as the player tries to eliminate like-coloured balls with his shooter. The game is complete and includes a plugin to calculate the collisions and match indices of the like-coloured balls. Includes various trajectory indicators. The mechanism is very quick, and is fully playable on a mobile device. Try the mobile demo (on Android).

    Template requires the LiteTween (https://www.scirra.com/forum/viewtopic.php?t=70700&start=0) and rex_text_fpsmonitor (http://c2rexplugins.weebly.com/rex_text_fpsmonitor.html) behaviours. They are not required of any final game, if you choose to do the movement/fps reporting differently.

    Sounds are for demonstration purposes only, and are not considered part of your purchase. They are attributed in the code, and you are to attribute accordingly, if you choose to keep them.

    Use this topic to leave comments, ask questions and talk about Bubble Shooter

  • You could try a "For each Enemy". Sometimes you end up picking more objects than you expect, so "Event 0.5" AND "For each", then move the rest to a sub-event.

  • "Move along path" should be in event 3, not 2. Not sure if this will improve performance, but it is incorrect at the moment.

  • The format wasn't meant to be modified by hand. It's just an easy way to save the data by string and load it back again. It also always has to save a 3D array, so it gets complicated formatting three dimensions of data.

  • Try "For each Enemy", then Enemy Health <= 0, etc...

  • The easiest way to figure out C2's format is to mock up a few elements, and look at the JSON text. Once you see the pattern, then you can build your own data format and it will work.

  • Don't Pin with the angle, but set the angle yourself, every tick, to your normalized angle.

  • There's Go to layout by name and Go to Next/Previous.

  • Please note: the license has been upgraded to Royalty Free Licensed Assets License.

  • No, that's no guarantee that it will happen every time. Otherwise you are suggesting that the bug is in C2, which would happen to a lot of people!

  • These are going to be bugs in your code, so without seeing the code, it will be impossible to identify the problem.

  • One way is to create an array with a width of 22 (from your first post) and give each of your characters an index variable. Use that index variable to index into the array. Do your calculations in the array at that character's index. When you shutdown, save the array. When you start up, read the array.

  • No you can't put objects in the array only data. What data are you trying to store?

  • Now that I've reread your requirements, my plugin won't help. chrisinfinger has the correct solution as you must take into account what items are alive at the time of the next spawn. Having said that, your pathfinding is wrong. 1) I'd put the behaviour on the family, not the individual sprites, 2) you call "Find path" and that's it. You need to add "On path found" and then call "Move along path". Remove the "is not moving along path, as that will be true as it's trying to calculate the path.