Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    My name is Jason can I do working if relative in Fuze?

    Coding
    4
    6
    328
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Miami Heat Lover last edited by Martin

      GML stands for Game Maker Language

      I know in GML I can do

      Create Event
      hp = 123;
      hpplus = 0;
      
      
      
      Step Event:
      if (hpplus > 0)
      {
        hp += hpplus;
        hpplus = 0;
      }
      if (keyboard_check_pressed(ord("Q")))
      {
        hpplus = 3
        show_message("hp:#"+string(hp));
      }
      if (hpplus == 3)
      {
        x += 3;
      }
      
      1 Reply Last reply Reply Quote 0
      • Jaywalker
        Jaywalker Donator last edited by Jaywalker

        in FUZE it would look like this

        hp = 123
        hpplus = 0
        
        if hpplus > 0 then
          hp += hpplus
          hpplus = 0
        endif
        if controls(0).y then
          hpplus = 3
          print("hp:#" + hp)
        endif
        if hpplus == 3 then
          x += 3
        endif
        
        1 Reply Last reply Reply Quote 0
        • P
          petermeisenstein F last edited by

          Should i say how to write in Python...

          1 Reply Last reply Reply Quote 0
          • Martin
            Martin Fuze Team last edited by

            There wouldn't be a lot of point really given Fuze isn't Python!

            P 1 Reply Last reply Reply Quote 2
            • P
              petermeisenstein F @Martin last edited by

              @Martin unfortunately no :(

              1 Reply Last reply Reply Quote 0
              • M
                Miami Heat Lover last edited by

                Thank you all for helping me out.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post