Author Topic: Variables in Platform Builder  (Read 2789 times)

TingThing

  • Admin and Developer
  • Level 17: Clanker
  • *
  • Posts: 759
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: Variables in Platform Builder
« Reply #15 on: December 24, 2018, 07:42:51 AM »
I don't understand your latest edit to the main post. That bit about keys being pressed.


It's just a formula you can use for a single key press. This way the command will run one just the one time when you press down the key, rather than run continuously as you hold the key down. A variable is used to make it run only once, and that variable is reset whenever the key is no longer held down.


I would like to add key press conditionals to Platform Builder, but it would be a little tricky since looping commands are not run every single step of the game. This serves as a workaround.

Christian Game Maker

  • Currently developing Project ASM (The Adventures Of Super Mike) And manager of platformbuilderfansite.weebly.com!
  • Master Builder
  • *
  • Posts: 2879
  • The way of the Cross leads home.
    • View Profile
    • The Adventures of Super Mike Website (ASM)
Re: Variables in Platform Builder
« Reply #16 on: December 24, 2018, 07:50:14 PM »
Ah. That makes more sense.
Christian Game Maker: 3:16 Numbers Of Hope


https://theasmgame.weebly.com/