• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

A simple swim effect for Game Maker

Korussive Acidsan

Back with a bang.
  • 42
    Posts
    18
    Years
    Hallo. This is my method for swimming I used for the Titagasman game. Remember that that is TENTATIVE TITLED. Here we go:

    Step one:
    In the Create event for you character (must be a platform-game character, or else this will not work) create a Set Variable event to:
    Variable: swim_check
    Value: False

    Now, in the step event, do this:
    [PokeCommunity.com] A simple swim effect for Game Maker

    You can set the gravity to your normal game jumping gravity (normally 0.5), but the direction MUST be 270.

    Step Two:

    Now, create an object that is at the top of the water, so once you jump out of it, you are back to normal non-water mode. So, in collision event with your marker,
    set variable "swim_check" to false

    Remember that in a collison event with your water objject,
    set variable "swim_check" to true


    By now you should already have your Platform character made, so I won't tell you how to move to the right or left, or how to jump and when your collide with the ground you are normal again.


    Good luck, hope this helps. Next one will be better since I won't be so sleepy. -_-
     
    Last edited by a moderator:
    Back
    Top