Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hey Clickteam Community,

    I'm making a warehouse game. My player is a Forklift. His job is to pick up crates and place them on different level shelves. How do I program my forks to rise or fall to any height by pressing a button? It's going to be a computer game so the buttons are spacebar or shift etc... Would my forks be "sensors?" Thanks for the help!!!

  • Hey there,

    This sounds like a pretty cool little game idea - I figured I would chime in with my opinion..

    I think the game would have to roughly be structured along these lines:

    The forklift itself and the forks should be 2 separate objects.
    When the game starts, you will set the position of the fork object relative to the position of the forklift.
    When the player presses the button associated with lifting the fork object, you will simply increment the y coordinate of the fork object.
    When the player presses the button associated with lowering the fork object, you will simply decrement the y coordinate of the fork object.

    You'll obviously want to setup collision detection between the fork object and your boxes/crates.
    Maybe even set this up with physics - that way if the player misses the shelf, the box will tumble to the ground (damaging the contents and causing the player to lose points), etc.

  • Corey,

    Thanks for the advice and liking the idea. I'm new to clickteam and love it. If you don't mind, what physics objects would you use? As little or as much helps. Thanks Corey!

  • In response to your private message:

    I've created a little example forklift program for you to check out.
    This shows you basic setup for forklift/fork relationship, forklift controls, world collision detection, etc.

    Controls:
    Use the left and right arrows to drive back and forth on the loading dock.
    Use the up and down arrows to control the fork height.

    As you are just starting out, I wouldn't worry about the integration of physics just yet.

    Start out small and build up as you go:
    Maybe start adding in crates or boxes that you can pick up and move around.
    Maybe add some multilevel shelving systems to place said crates or boxes on.

    Then get more advanced:
    Maybe add collision areas on your crates or boxes - where if the forks hit those areas, the boxes become damaged.
    Maybe add collision detection between boxes - so if the user pushes a box into another box, both boxes become damaged.
    Etc.

    Good luck!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!