Hello everyone!Exciting news: Platform Builder 7.0 is out! You can check out the changes here.Also, the UPE has been updated to work alongside PB 7.The command page has been updated to reflect all of the new commands in 7.0. There are many. Here's a quick run-down (The ones in orange have been changed or added since the beta versions)...harm = [number] (harms the character)
harm effects = [true/false] (enable/disable the flashing effect when a character is hurt)
invincible = 0 will also remove the temporary invincibility when the character is hurt
instant complete course [new area/world id],[spawn id] (instantly completes the course without the ending sequence)
instant secret exit [new area/world id],[spawn id] (instantly completes the course with a secret exit without the ending sequence)
checkpoint = [area ID],[Spawn ID] (Sets a checkpoint using an area ID and Spawn ID of characters in the area)
view center (causes the view to center on whatever it is following)
view x = [number] (Lets you change the x position of the view. Works with other operators as well.)
view y = [number] (Lets you change the y position of the view. Works with other operators as well.)
spawn sprite [sprite ID], [Spawn ID]
change sprite [sprite ID], [new sprite ID]
remove sprite [sprite ID]
current world = [World ID] (changes the ID of the world to return to after completing a level)
view follow sprite [sprite ID] (causes the camera to follow a sprite)
loop speed = staggered/constant (switch between a staggered or smooth looping speed for looping commands)
kill player [1 or 2, or leave blank] (kills the player)
kill character [character ID]
wall jump style = standard/scaling (switch between two different wall jump styles)
hud sprite = [sprite id] (changes the HUD to display your own sprite)
hud sprite = none (reverts to built-in HUD system)
When you are using your HUD own sprite, you also have the following commands to use...
...hud position = left/center/right (change the hud position on the screen)
...hud player 1 lives = x,y (the x and y position of player 1 lives in the HUD, relative to the top left corner of the HUD)
...hud player 2 lives = x,y (the x and y position of player 2 lives in the HUD)
...
hud show lives = true/false (enable or disable the display of lives for player 1 and 2)
...hud player 1 health = x,y
...hud player 2 health = x,y
...
hud show health...hud player stars...
...hud player money...
...hud player ammo...
...hud player pick up... (for pick up items)
...hud player air... (for time remaining underwater)
Other hud options you can use whether or not you are using a custom sprite...
...hud text [1-20] = x,y (Sets the position for a hud text, relative to the top-left corner of the screen.) for example: "Hud text 12 = 20,50"
...<hud text [1-20]>[message] (Sets a text for the hud) for example: "<hud text 3>Your health is [health]" You will likely want this to be used in a looping command so it stays updated.
This was a fun update, as it fulfills a lot of requests made on the forums. Hopefully there is something that everyone can get excited about here . I will continue to check out the forum suggestions for future updates.