I Made a Program That Turns Drawings into Portal 2 Levels

  Рет қаралды 3,920

PortalRunner

PortalRunner

Күн бұрын

Пікірлер: 67
@braindeadenthusiast7159
@braindeadenthusiast7159 20 сағат бұрын
I love this idea so much, and it's very creative. I'm so glad you're back! Top notch. I'm imagining you getting a bunch of fan mail that's literally just portal maps lmfao-
@gingerphoenix10
@gingerphoenix10 20 сағат бұрын
What a great game of Super Paper Portal: The Thousandth Test Chamber Door
@Delt_666
@Delt_666 18 сағат бұрын
Seeing you so excited and happy about your code actually working was just amazing
@thezipcreator
@thezipcreator 19 сағат бұрын
I think a way you could do this is to run multiple different kernels along the whole image. assuming stroke width is the same across the entire image, this should work. as for connecting buttons to doors and what have you, you could have the borders be filled, and in the center draw an arbitrary symbol. then, you make a kernel from that symbol, and try to match it whenever you encounter a door or other connectable object. this should work as long as the symbol is drawn carefully so that it looks the same across both objects. also, you could probably have differently drawn shapes represent different objects. like a square could be a cube, triangle could be a door, etc. then different colored versions of those objects could represent different things; like a red triangle could be an entrance and a blue triangle could be an exit. also, looking at the documentation for the VMF format, it doesn't look that complicated? like it doesn't look much more complicated than json is. I guess there's some simple vector math you have to do to derive the normal vectors for the planes? I kinda wanna try doing this now, but I don't have a scanner unfortunately. also could you post the source code somewhere?
@PortalRunner
@PortalRunner 19 сағат бұрын
sure! aligning kernels is not a bad idea. as for vmfs - constructing the planes, aligning textures, and laying out the entities all in a way that compiles would've taken much longer for me than vscript. that's not to say vscript is any simpler, i'm just incredibly comfortable with it due to years of experience.
@commander_snake
@commander_snake 16 сағат бұрын
I see the blajah in the back so... :3 Also amazing work you have done here! can't wait for a whole game drawn by you. /j
@rubix_44
@rubix_44 19 сағат бұрын
Pancake eats cement
@Minefnafer22
@Minefnafer22 19 сағат бұрын
Valve should really hire ya mate. Very cool creation and video as always!
@ManOfDuck
@ManOfDuck 17 сағат бұрын
This makes me so happy bc as I kid I would draw portal 2 levels with crayons on the kids menu. Child me loves this so much
@theblunius
@theblunius 18 сағат бұрын
Thats very creative idea. I have never though that I see this in Portal. Good job ❤
@MinAbility
@MinAbility 16 сағат бұрын
Awesome vid mate, very cool as always, the blahaj and lemon plush make an appearance, today is a good day
@PancakeTAS
@PancakeTAS 19 сағат бұрын
i eat cement
@Lilacslols
@Lilacslols 19 сағат бұрын
@@PancakeTAS me to
@roy11gg
@roy11gg 19 сағат бұрын
@@PancakeTASremove the last "t"
@TheosTechTime
@TheosTechTime 19 сағат бұрын
Nice
@GigantTech
@GigantTech 19 сағат бұрын
i eat pancake
@Ballistic2770
@Ballistic2770 19 сағат бұрын
I thought i was the only one 🥹
@Krzyhau
@Krzyhau 9 сағат бұрын
Very fun concept, but I'm sorely disappointed you haven't made the chamber that shall not be named with this method.
@lenship2
@lenship2 Сағат бұрын
test chamber with three lasers
@kripusek
@kripusek 20 сағат бұрын
cant wait for someone to make triple laser EDIT: i wrote this as i clicked onto the video
@Jesz3n
@Jesz3n 19 сағат бұрын
Guess we getting PencilTM editor instead of Hammer now
@Susul-lj2wm
@Susul-lj2wm 19 сағат бұрын
i am thinking about this a bit. You should be able to detect more colors by picking a color space they are far apart in and then basically sampling that like a high dimensional voronoi partition. oklab might work well for this, since its a CAM, so colors that look different to you as a human should be far apart in the space. I dont quite get what exactly you were doing to figure out which color was which in the image and i cant examine your code, so if you were already doing this disregard. Using the L a and b components of oklab seems like it should be good since all of those are unbounded, which should make misidentifications rarer. for connections i would intuitively just put them on a different spot on the paper (a different "layer" but translated horizontally) and then just also making it fully shaded cells that act like "redstone", so you have the map twice, once as a physical blueprint and once as a wiring diagram.
@PortalRunner
@PortalRunner 18 сағат бұрын
all fine ideas! i didn't put that much effort into this project, i'll admit. the color detection was just finding the max between the R, G, B values. complex connections didn't seem that pressing since i was already limiting myself to those three elements. had this not been coded during a one-off livestream, i might've increased the complexity ;) edit: if you want to explore other ideas, another commenter had thought of matching kernels to the image for elements and connections
@nanopone
@nanopone 14 сағат бұрын
nice shark! :3
@OneLabToRuleThemAll
@OneLabToRuleThemAll 4 сағат бұрын
BLAHAJ!!!
@The_Nordic_Doctor
@The_Nordic_Doctor 15 сағат бұрын
now depth and height could be done by adding numbers or some colour assignments to the top corner of the map drawing, so that each depth layer could be drawn to make drops etc also more precise colours could be done on the pc with programs such as krita and others, but yee props on using an irl paper with irl perhaps not so precise (value) pens, so it's cooler and it's more achieving towards the goal
@pizzapost1234
@pizzapost1234 19 сағат бұрын
crazy that you have real pens/paper btw nice idea
@Typocat
@Typocat 13 сағат бұрын
It would be interesting if you added another piece of paper for a heightmap or more elements, Also you could most likely build a map in hammer for the generator to use, that way you instead of using a pre-existing map you just have to load your own map (with your own properties)
@chrisolino
@chrisolino 19 сағат бұрын
I love your videos Keep going!
@PortalRunner
@PortalRunner 19 сағат бұрын
@Conduit-SeaWing
@Conduit-SeaWing 15 сағат бұрын
reminds me of an old adventure time game for mobile devices that let you do something like this
@spartanoah_alt
@spartanoah_alt 19 сағат бұрын
actually really cool
@mugoX2
@mugoX2 7 сағат бұрын
Potalrunner is smarter than Wheatley.
@gatto_furry
@gatto_furry 17 сағат бұрын
a video?? holy moly its been a bit
@zeg7_
@zeg7_ 19 сағат бұрын
Wait you use Linux as your main OS?
@PortalRunner
@PortalRunner 19 сағат бұрын
yep, exclusively!
@eryktuchalski8048
@eryktuchalski8048 14 сағат бұрын
good job!
@Amogersuser
@Amogersuser 18 сағат бұрын
cool stuff!
@ellinet13
@ellinet13 14 сағат бұрын
2:10 ahhhhhh
@bexilynx
@bexilynx 19 сағат бұрын
yippeeeeee !!! getting fed good 🙏
@GigantTech
@GigantTech 19 сағат бұрын
i eat pancake
@Violet_Knight
@Violet_Knight 13 сағат бұрын
blahaj!!!! :3
@real_dimoline
@real_dimoline 18 сағат бұрын
I eat GigantTech
@theslayers7611
@theslayers7611 19 сағат бұрын
Try playing portal except you can play as 2 characters with one keyboard and you have to get to the elevator with both characters
@shattre6087
@shattre6087 19 сағат бұрын
HES A KRITA USER LETS GOOOOO
@ImRousev
@ImRousev 20 сағат бұрын
Good p2
19 сағат бұрын
nice
@gamersunite9026
@gamersunite9026 20 сағат бұрын
🤯
@TheMagistralKitty
@TheMagistralKitty 20 сағат бұрын
Oh boi
@gumballegal
@gumballegal 9 сағат бұрын
just ask glados to make it for you
@tinyahhquarks
@tinyahhquarks 18 сағат бұрын
next stream do a sequel to portal 2 but chat has console cmds
@TOHmerkerGT_real
@TOHmerkerGT_real 20 сағат бұрын
W upload
@TheLegacystem
@TheLegacystem 20 сағат бұрын
hihi
@Potro4
@Potro4 20 сағат бұрын
First
@sackyoutube
@sackyoutube 19 сағат бұрын
Im second :L
@sackyoutube
@sackyoutube 19 сағат бұрын
At least
@sackyoutube
@sackyoutube 20 сағат бұрын
Cool 👍
What if Portals were a Vacuum?
16:57
PortalRunner
Рет қаралды 41 М.
How I Beat The Password Game
39:53
Bog
Рет қаралды 1,4 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 350 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 109 МЛН
Он улетел, но обещал вернуться...
00:30
ПРЕМИЯ ДАРВИНА
Рет қаралды 4,7 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 18 МЛН
How Many Buttons Do You Need To Beat Castle Crashers?
29:44
Replacing god with GPT-4o (in Minecraft)
28:30
BigYous
Рет қаралды 193 М.
The Wacky World of Built-In Browser Games
17:01
Soda Crab
Рет қаралды 170 М.
malware ain't what it used to be
20:37
nimk
Рет қаралды 882 М.
Why Is It Bad That My Game Looks Good?
16:40
Deynum Studio
Рет қаралды 79 М.
Which Smash Characters have Canonically Smashed?
31:22
PMJ
Рет қаралды 957 М.
The Theoretical Perfect Speedrun of Deep Dip 2. It's Insane.
26:21
I Remade Club Penguin but It's Rated M
23:21
3bomb
Рет қаралды 649 М.
I Tried 157% Speedrunning FNAF World
37:48
EazySpeezy
Рет қаралды 271 М.
Найди ВЫХОД! Побег из СТРАШНОЙ Больницы
17:35
ВЛАДУС ИГРАЕТ
Рет қаралды 334 М.
Я SPRUNKI
19:40
Family Play TV
Рет қаралды 265 М.
😰Майнкрафт, но Я Могу УЛУЧШАТЬ Магнит!
30:08
FixPlay - Майнкрафт
Рет қаралды 329 М.