Author Topic: New Commands in 6.3  (Read 200 times)

TingThing

  • Admin and Developer
  • Level 15: Spreker
  • *
  • Posts: 512
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
New Commands in 6.3
« on: November 20, 2018, 08:04:10 AM »
Hi everyone,


Platform Builder 6.3 is out. You can view all the updates here.


Here's a quick rundown of the new commands:


cooldown was added as a new variable in character physics which affects how quickly the character naturally slows down to standing position when the left and right keys are released.


seismic pound = light/medium/strong can be used to cause the character or enemy to perform a seismic pound.


if standing = true is an example of how you can check the state of the character. All of the conditionals are: standing, walking, running, skidding, full speed, jumping, falling, standing attack, moving attack, jumping attack, hovering, gliding, ducking, defending, defended, pounding, pounded, wall sliding, climbing, hanging, swimming, using pick up gun, [and] using pick up melee. You can read a little more about them here.

One important addition is the "delay" command. With this command, you can cause other commands to be delayed, saving you the hassle of creating a timeline to accomplish the same thing. You specify the delay in 1/10th seconds, similar to timeline positions. It looks like this.
Code: [Select]
delay = 30
[
max health + 1
health + 1
]
This will cause the health and max health to increase by 1, 3 seconds after the command is run. If you are only delaying one command, the straight brackets are not necessary. As you can see, this looks similar to using if conditionals with or without curly brackets. If you'd rather work in full seconds instead of 10th seconds, you can use "delay 3 seconds" as your command.

Finally, with the addition of many new command prompts in enemy settings, all of the enemy movement commands can be used without specifying an enemy ID when they are used in an enemy command prompt. To give an example, look at the screenshot:

 


When you use these commands without an enemy ID like this, they will apply only to that 1 specific enemy which is running the command.


The command prompt page has also been updated to reflect these changes.


Best,
TingThing

Christian Game Maker

  • Currently developing Project ASM (The Adventures Of Super Mike) And manager of platformbuilderfansite.weebly.com!
  • Level 21: Magmus
  • *
  • Posts: 1805
  • The way of the Cross leads home.
    • View Profile
    • Platform Builder Fansite
Re: New Commands in 6.3
« Reply #1 on: November 20, 2018, 11:45:30 PM »
This is great! But I wish that you added the command to spawn enemies where the character is. Like, "Spawn enemy (ID)=player 1".
Christian Game Maker: 3:16 Numbers Of Hope