lionz's Forum Posts

  • It's trying to find a new path every tick. Trigger the find path on start of layout and you'll see them move. You need to find a better way of triggering the find path such as when the enemy is spawned or similar..

  • Burvey

    Nope, was still happening. Everything was flat. All collisions normal. Argh : P

  • Oh he did mean that? Lol, fair enough. I was going to make a joke about looking outside...

  • Self.x, self.y is the object's current location.

  • If I know for sure that I'm making something for mobile then I build it with mobile in mind because the gameplay is going to be that much different to PC. If the mobile gameplay doesn't work as well for PC then I can tweak it afterwards.

  • I usually have the start screen and any menus(not in-game UI) on the same layout then the game loads in another layout. You can have each menu on a separate layout if you want but I find it easier to just put the sub-menus into groups or individual layers and enable/disable them when required.

  • Disable whatever causes damage after the enemy dies. If it's colliding with the enemy that causes damage, then disable collision.

  • I'm using r155

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Couldn't you have just used 8-direction behaviour instead of all of that xspeed logic for movement? Can't really help with the collision on the border as I'm not sure what you've done but I would guess you can limit Y movement when the UI collides with the left/right side of the ship.

    The scrollto behaviour is working as expected. It scrolls with the ship when you move out of the 1280x960 window view.

  • Yeah I doubt you can specify each particle separately. I'm sure you can do what you want to do with sprites. Is the particle animation that important to the game?

    You can't set up collision for particles so I guess it depends on the image you used.

  • Nope, still there on my projects..

  • Rotate the player sprite in the editor so it is at this angle : <img src="https://dl.dropboxusercontent.com/u/49548363/playersprite.png" border="0" />

    That should have the player upright at all times.

    Also you can set layout angle to angle(player.x,player.y,planet.x,planet.y)-90 to have the actual layout rotate which looks fun, if you wanted.

  • To move with your finger you'll want to experiment with the drag & drop behaviour. Add it to the one of the objects and you'll see. There are ways to have objects follow a mouse cursor but of course on a mobile this will be different so I would use a combination of teleport to touch and have the objects use drag/drop so they can be dragged around the screen.

  • Modifications :

    • On Collision with changed to overlapping
    • Set angle toward for object facing planet
    • Set gravity angle fixed
    • Removed logic that wasn't required
    • Changed the collision for Sprite 6 (it was too small)

    dl.dropboxusercontent.com/u/49548363/endless%20simple_modified.capx

  • Yes to all.

    1. Set timeout to 9999

    2. Give it solid behaviour then you can interact with it using those commands

    3. Yep, give the particle the physics or bullet behaviour

    Sprites are easier but I guess use Particles if you want some elaborate animation.