Make games on your phone.
Get the app!
AndroidiOS
Castle
play21.9k
360
37 Comments
Next up
Valve Portal test room #portal #portal2 #valve #sourceengine #test #music
The portal thingy is kinda clever! There are three blueprints of hi (that's the name of the character in the code): hi, hi VISUAL L[eft], and hi VISUAL R[ight] (just to clarify, I didn't make these names). hi is just normal hi. hi VISUAL L looks exactly like hi, but is translated -10x (the length of a card), 0y every frame (that's why you can't drag it around; key-word: AROUND). hi VISUAL R is the same story but translated 10x, 0y instead. When hi goes through the left (orange) portal, they get teleported to hi VISUAL L. And when hi goes through the other, right (blue) portal, they get teleported to hi VISUAL R. Also to avoid hi falling into the void, the roof/floor extend slightly past the card; and past that are OutOfBoundsBox's that trigger the dead screen when hi touches them. Woah I didn't know I typed THAT MUCH lol.
fire3Reply
peak👀👀
fire4Reply
Bro is cooked
fire3Reply
Why is there no evil robot that pumps out neuro-toxin?
fire3Reply
HEY THIS IS ALL YOUR FAULT MY BROTHER DELETED HIS DECK👹👹👹👹
fire2Reply
hono!
snapshot
Reply