lionz's Forum Posts

  • I'm using r155

  • 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..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Well I added the Every tick late on in case he didn't know what I was on about. It's not clear whether he wants them not to collide with each other but collide with environment objects, whether he simply wants them to not overlap with each over for some reason or whether they shouldn't collide with anything in the level at all. Just posted generic response while waiting for more info.

  • Every tick > Object > Set collisions enabled(disabled)

  • Choose a character.

    If ChooseCharac = 1 > Go To Layout > Create Player 1

    If ChooseCharac = 2 > Go To Layout > Create Player 2

    Should be as easy as that. Your way sounds like it's fine. Explain in more detail what the issue is and then someone can resolve it. Likely just a problem with the way you have implemented it / one of your events.

  • You've got the set angle of gravity set up wrong, it needs to be in format player.x,player.y,planet.x,planet.y. It works when you change those values. Also remove all of the pin logic, that seems to affect it. You only need the one line for set angle of gravity.

  • Send it me in PM.

    Edit: Ah, strange timing. I will take a look

  • I just thought actually, well I had Super Mario Galaxy in mind, touching won't work as you need to detect gravity pull while in the air. With touching you won't be able to leave the planet you're on so I would set up a gravitational field, like a sprite that surrounds the object but is invisible and if the player comes into contact with this then it takes the gravity angle of the relevant object. If the player is outside any gravity field then you set the angle of gravity to default so the player can just jump normally between planets. In my head this works, erm have fun! : D

  • Hello, could you please link to all of the plugins as I need them to open the file.