PretjeNL's Recent Forum Activity

  • Got it to work now pretty much.

    Could be more codes used in to in to make exactly what i want.

    Thanks for the tips all!

  • I basicly want to do it like this :

    • Player picks up Power up
    • Rocket ship "pins"itself to player and fly for x seconds
    • Rocket ship destroys it self by falling down to the screen. Basicly a pull towards down.

    I have tried the timer but i can try and use fade also.

  • Thanks for the tip!

    Never thought about the timer behavior.

  • Hello everyone!

    I am making an endless jumper game at the moment and i got pretty far.

    I want to make the following :

    • When my player hits a certain power up item, i want it to spawn a rocket on top of the player.
    • When the rocket has spawned on to the player, i want it to travel up for an "x" amount of seconds before it throws it self off.
    • After the rocket ship has fallen off the player, i want it to destroy it self and continue the game as normal.

    Any tips on how i can do the above ?

    I have come so far that when my player hits my power up, that it spawns the rocket and travels up.

    The only problem is that it does not stop going upwards.

    Any help is apprectiated!

    Thanks in advance

  • Thanks for the help!

    This is a great way of pinning and making the coconuts fall.

    I really can use this for my game.

    Thanks again!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the response nimos.

    I have been trying to do it like u said, but i can not figure it out.

    Here is what i did :

    I have made 1 imagepoint at the scrolling tree and called it "Imagepoint1".

    When i go to the event sheet, and i want to create a coconut every 3 seconds i am letting it spawn on Layer 0 (that is where my game is)

    On X and Y i am placing the code u provided like so :

    X : GameBoom.ImagepointX(Int(Random(1)+1))

    Y : GameBoom.ImagepointY(Int(Random(1)+1))

    When i run the game i dont see any coconut spawning from the tree.

    Do i have the code implemented on a wrong way ?

    Thanks in advance!!

  • Hello everyone.

    I have made a sidescrolling game with coconut trees and coconuts

    I want to randomly spawn the coconuts on to the trees that come in, and making them fall.

    They are already falling, but only because i have placed a "create object" off the coconut right on top of the place where the tree is coming.

    Now there is only 1 tree entering on the side, but i want to let in many trees, and then randomly spawn a coconut from any of the trees that come in.

    How do i put the code in, so that when a tree comes in, there is 1 coconut on a random tree that enters the layout?

  • Hello everyone!

    I have made a game where u fly along and u have to avoid objects.

    The "score" is calculated in TotalDistance.

    Whenever the player hits an object or hits the floor, the game goes back to the start.

    I would like to have the "Score" and "Highscore" there,and i was wondering how to calculate that and wich variables/codes i need to implent.

    Thanks in advance!

PretjeNL's avatar

PretjeNL

Member since 27 Feb, 2014

None one is following PretjeNL yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies