Portal 2D (tech demo)

Show off your games, demos and other (playable) creations.
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Portal 2D (tech demo)

Post by ljdp »

Requires LOVE v0.8.0
Portal2D_v2.love
Now with bullets, shadows and correct z depth!
(407.64 KiB) Downloaded 570 times
portal2dsnapshot.png
portal2dsnapshot.png (214.74 KiB) Viewed 5028 times
portal2dsnapshot2.png
portal2dsnapshot2.png (120.67 KiB) Viewed 5028 times
With the addition of Stencils in version 0.8.0 I had a go at revisualizing portal, but in the second dimension.
The controls:
WASD -> Move || Mouse -> Aim || Left Mouse -> Place Red Portal || Right Mouse -> Place Blue Portal

I haven't been able to figure out how to draw the portals recursively, it seems you cannot stencil within a stencil.
Feel free to unzip and tinker with the code. :megagrin:
Last edited by ljdp on Wed Sep 07, 2011 1:28 am, edited 3 times in total.
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Re: Portal 2D (tech demo)

Post by Tesselode »

So how do you get 0.8? Without building it yourself?
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: Portal 2D (tech demo)

Post by ljdp »

Tesselode wrote:So how do you get 0.8? Without building it yourself?
If you're on a mac:
love-0.8.app.zip
love 0.8.0 OSX
(5.06 MiB) Downloaded 278 times
If you're windows or linux you'll have to ask someone else for a build.
User avatar
slime
Solid Snayke
Posts: 3163
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Portal 2D (tech demo)

Post by slime »

This is really cool.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Portal 2D (tech demo)

Post by thelinx »

I broke it!
borked.png
borked.png (182.5 KiB) Viewed 5083 times
I stood at the exact portal position and looked around for a bit.
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Portal 2D (tech demo)

Post by Jasoco »

Wow, that's awesome. I didn't even know about stencils. What exactly are they?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Portal 2D (tech demo)

Post by Robin »

Please, some non-broken screenshots here, for the not-so-cool crowd. :)
Jasoco wrote:Wow, that's awesome. I didn't even know about stencils. What exactly are they?
Sometimes, they're called image masks, I think.
Help us help you: attach a .love.
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: Portal 2D (tech demo)

Post by ljdp »

Woo! I've added bullets! BULLETS!
Tomorrow I may just add networked multiplayer :joker:
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Re: Portal 2D (tech demo)

Post by Tesselode »

Very cool looking. Nice job.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Portal 2D (tech demo)

Post by T-Bone »

Want to try, but it seems the only way to run 0.8 on Linux so far is to compile myself. Annoying.

Why do people build stuff for 0.8 when it's not even finished? I guess it's good that bugs are found and ironed out, but still...
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests