Isedo's Forum Posts

  • Hi folks, I implemented the Mobile Advert object which showes and Ad after the first layout. After installing the Debug APK file, I press the button to launch the game but it never launches, it just crashes.

    Any tip?

  • I managed to do the whole tilt.

    Thanks man for your help!

    This is the code for future reference.

    Edit: it's still not perfect but I'll work on it

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just for the sake of info this is what I came up with thanks to your help Biscotto.

    Now the problem is that the Spaceship si looping the tilt even if the animation is not looping. I believe it's because the ship is constantly changing it's position.

    I should tell the ship that the animation should be executed just once on this first movement to the right.

    My next mission. If you know how to do that, u're more than welcome to help me out :-D

  • Awesome, it's working. Thanks a lot.

    Now It's glitching a little bit I just need to fix few things, I hope to manage to do it alone.

    I'm not sure about how to manage the Y axis as you mentioned before but it makes totally sense so I have to dive into it.

  • Can u tell which command are u using in the comparison in the event (x> previousHeroX)

    Edit solution: ok it's COmpare X and Compare Y. Thanks man

  • Thanks bro for your example, I'll try that and back to u if needed. Thanks a lot!!!!

  • Ok, I think i managed to do it properly. Can u check please if it's done as u suggested?

    Check of the spaceShip position:

    Hero is the spaceship.

  • Hi bro, yes your question make sense. This is why:

    The problem is that the spaceship is moving according to where my finger is. SO I never set really a right or left command.

    Thanks for your answer. I'll try that.

    Edit: could you please provide an example of this?

    "Every tick you should check the position in the X-axis of the spaceship in the previous tick (which you saved inside a variable). If newPosX > oldPosX then the ship is moving to the right, if newPosX < oldPosX then the ship is moving to the left, if newPosX = oldPosX then the ship is stationary."

    I'm not sure how to check the spaceship position and compare it with the previous one.

  • Hi folks, I managed to make my spaceship to tilt with the keyboard but not with the touch controls.

    I' trying to detect the direction which is moving the spaceship in order trigger the tilt right and left. Can't understand how to detect the direction the ship is moving.

    I should detect if it's moving +x or -x towards it's starting position I believe right?

  • From what is my understanding C3 loops the event by it self, correct?

  • Thanks, I'll try that. Right now I'm using Letterbox Scale but not really sure why.

  • Hi folks, I have an event which spawns a Diamond on the scene in a random time frame ( every random 2,7 seconds ). If I capture it, it will play the diamond animation destruction and triggers the spawn of an explosion.

    Working fine.

    The only problem is that after I capture the first diamond, they stop to spawn.

    I was wandering if I need to use some kind of cycle/loop or something.

    How can I tell the event to restart the whole thing from the beginning after the diamonds is captured?

    thanks

  • Hi folks, when running the game on Android, I still see the bottom Android bar. How can I go full, full screen mode as other games are doing?

    Thanks.

  • Hi, how you calculate the distance units?

  • Oh this is a nice idea. Use one sprite with different animations. Sounds cool. I have to try it. Thanks for the tip.