How do I build endless throw system?

0 favourites
  • 8 posts
From the Asset Store
Throw daggers and hit the most fruit! Watch out for the wind, if you run out of daggers you'll lose the game!
  • Hi everybody, remember there were games called "Flight" and "Toss the Turtle" when we were young. I am developing a game similar to those games. But I could not decide how to build the system.

    When the game starts, our character will be still (as in the games I mentioned), we will press a key when the power bar is full, and the character will go towards the mouse in that direction. But I can not do it because the screen layout is not enough. I want the character to go to the right until it stops. But the screen should be unlimited. I could not decide how to do it. (Infinite runner samples did not work, there is no throw system on it, unfortunately.)

    I will be glad if you help me.

    Games that I mentioned;

    Toss The Turtle: tosstheturtlegame.com/play-t ... urtle.html

    Flight: engineering.com/GamesPuzzles/Flight.aspx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi!

    I am not sure how those specific games were built, but if I wanted to make something similar I would not actually have my character move horizontally once shot from the mouse, all I would do is scroll the background to have the appearance of movement. Then I would make the art for the background just scroll horizontally in the opposite direction you want the character to travel until the object that was shot has finally stopped on the ground. The scroll would just loop infinitely.

    For the object to have that appearance of vertical bounce, you could probably use the physics plugin and just have increasing gravity while the object is in the air. Again, the object would never move horizontally, just vertically, the illusion of horizontal movement would come from the background scrolling.

    The infinite runner template is a good starting point for this system. If you can't get the template to work you can probably find Construct 2/3 infinite runner tutorials on youtube that will help you recreate it.

    I hope that is of some help to you.

  • Dear ReillyRobbie

    I understood very well what you're trying to say. But I do not put it together with the launch system. Neither upward nor horizantal. Could you make an example of throwing an endless screen for me? (By the way, the samples of Construct 2 does not make sense for me cause It has not a gravity and throw system in it

  • Hello,

    Unfortunately I don't have C2 installed currently on my machine ( I use C3 now ), so I cannot create a C2 example file. If you would like a C3 example I can provide you a quick one. You should be able to recreate everything in C2.

  • Hello,

    Unfortunately I don't have C2 installed currently on my machine ( I use C3 now ), so I cannot create a C2 example file. If you would like a C3 example I can provide you a quick one. You should be able to recreate everything in C2.

    I would be very pleased if you could send me this. Waiting for you. Thanks

  • Here is the link to the file.

    https://ufile.io/ar5xd

    This is an example of how I would go about making a game like you described, but I am sure there are many other ways to make a game like this as well.

    Just hold down the mouse to build your launch meter, release the mouse to launch your object. The physics are pretty basic to get the point across, and there may be a couple of bugs, but it should give you a good idea of how to make the background scroll infinitely while the object is in flight.

    I hope this is of some help to you.

    Good luck with your game!

  • Here is the link to the file.

    https://ufile.io/ar5xd

    This is an example of how I would go about making a game like you described, but I am sure there are many other ways to make a game like this as well.

    Just hold down the mouse to build your launch meter, release the mouse to launch your object. The physics are pretty basic to get the point across, and there may be a couple of bugs, but it should give you a good idea of how to make the background scroll infinitely while the object is in flight.

    I hope this is of some help to you.

    Good luck with your game!

    Hot damn! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" /> That's pretty much what I was talking about. I appreciate you doing this. Thank you very, very much. After making a few additions, I hope it will turn into exactly what I want. If I have a problem in some part, I will write here, thanks again. By the way How can I give you +rep points in this forum, could not found. <img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" />

  • I am glad the example will be of use to you !

    I do not know how +rep can be given. I believe it may be automatically applied by the number of posts and by how much forum use a member has.

    But if you do find a way to give +rep I would appreciate it.

    Thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)