Je Fawk's Forum Posts

  • Give me more info, I got a WP8 but i'm unsure what you wish.

  • Wow the save and load events work out of the box without any modifications .... scary

  • Ah my bad, it's the one I read a while ago. It has no information about saving a game .

  • Thank you very much. I can't figure out how I didn't find it....the search engine is weird.

  • I want to save my game state in a WP8 and W8 app. Even though I searched the forums and checked the manual I cannot find a way to do so.

    I am unsure if Roaming can be useful from the Windows 8 object or if WebStorage can save it as JSON and actually save it to the device's isolated storage.

    Any pointers are greatly appreciated.

    Thank you

  • Actually due to the pathfinding I had to change the 90 degrees to 89 because it was starting to get glitchy after 1 revolution.

  • Thank you very much guys.

    It runs very smoothly.

    I added a pathfinding so that the enemy will move towards the player and when it's at 250 it will rotate. There are some minor issues, such as when the enemy rotates at the 90 angle it doesn't go smoothly but instant so it's a bit eye catching. And if you move towards the enemy it can overlap the player and it will just rotate on the player's spot. Even so, it looks great and I'm sure I can find some workarounds for these.

  • Thank you, I'll make it and post it

  • - once your enemy is in circling distance of the player:

    How did you do that? I only have some complex solutions to finding the circling distance. Think you can post a screenshot of your events?

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The bullet behaviour was disabled at start, sorry.

  • I'm gonna search for a smoother and better option. Till then I'm all ears for suggestions

  • Okey I done something else, made a rotating sprite and assigned the enemy to use pathfinding towards an image point set at the corner. It has several drawbacks, such as if the solid state is added to the player it cannot move.

    How it looks like:

    Code:

  • for each enemy

    system compare two values: distance(enemy.x,enemy.y,player.x,player.y) => 100

    enemy - move towards player.x,player.y

    for the second part I would have a rotating sprite at the players position and pin the enemy to it (trigger once), when distance is less then 100, but there are probably better solutions..

    Thank you very much. I will try it when I get home and will upload the events when finished in case someone needs them too.

  • I saw a post about a whole ago but in 1 hour I couldn't find again so maybe someone can help me out. I got a top down game with spaceships. I will like the enemies to come towards the player and when they are in a defined range I'll like for them to start making circles around the player.

    Any suggestions?

  • When spawning to avoid spikes use fade in top appear more smoothly and maybe don't spawn them all at the same time.