• Portalized - Back and Better Than Ever - Scalable Movable Portals
    885 replies, posted
[b]Edit:[/b] Site up at http://www.portalized.org/!!! Lately I've been getting a bit bored, and started to wonder why. Guess what? I was losing motivation. Yeah. I need a multi-page thread with comments and ideas and stuff to keep me coding :D. So, the Portalized thread is back :). What has Portalized been up to, lately? Scalable portals! [media]http://www.youtube.com/watch?v=meedeHieHAE[/media] They're as easy as 1, 2, 3. Wait, no, they're easier. There is no 2 or 3 step, just one: [lua] somePortal:setScale(width, height, 1) [/lua] Hm. Is that... Lua? Yes, it is. The whole engine is Lua scripted. Including the portals. [lua] portal0 = Portal.create() portal0:spawn(3, 5, 0, -1, 0, 0) portal1 = Portal.create() portal1:spawn(0, 5, 3, 0, 0, -1) portal0:setDynamic(true) portal1:setDynamic(true) portal0:setScale(1, 2, 1) portal1:setScale(1, 2, 1) portal2 = Portal.create() portal2:spawn(-3, 5, 0, 1, 0, 0) portal2:setDynamic(true) portal2:setScale(1, 2, 1) portal0:link(portal1) portal1:link(portal0) portal2:link(portal2) [/lua] ... so, where does setScale() come from? Physics objects. You can scale them in real time: [lua] -- create a physics prop from a script, and generate a name for it obj = ScriptedObject.create(dataDir .. "/props/box.lua", true) obj:setScale(2, 2, 2) obj:setPosition(0, 5, 0) obj:applyImpulse(0, -5, 0) -- give it some constant rotational velocity (enableDesiredOmega) obj:enableDO(10, 0, 0) [/lua] Note that everything I show you here or anywhere else is mostly from the WYSIWYG editor. I'm not showing any gameplay. Comments comments comments please.
Wow, you have improved this alot. Good job. I love how you can change objects AND your size via portals.
Looks great.
Some trippy stuff right there.
get on msn :argh:
Have you released the beta yet?
AWESOME!! You, sire, you are game making god.
No. Beta is at version 0.5, with game play and stuff. I'm simply showcasing the technology in the WYSIWYG editor. Also, XipLep: Do I even know you?
[QUOTE=nullsquared]No. Beta is at version 0.5, with game play and stuff. I'm simply showcasing the technology in the WYSIWYG editor. Also, XipLep: Do I even know you?[/QUOTE] You lack the ability to read names backwards :downs:
That's amazing. I want your children. Seriously. That's quality work right there. Call up Gabe and be like, I'm awesome, I'm working for you starting tomorrow.
[QUOTE=chcknfannyv2]That's amazing. I want your children. Seriously. That's quality work right there. Call up Gabe and be like, I'm awesome, I'm working for you starting tomorrow.[/QUOTE] THIS? possible in SOURCE? Excuse me while I laugh.
does this mean you can infinitely make the props get smaller and smaller or vice versa
Holy shit think of what you can do!
Yes. That's exactly what it means. Of course, computers have their limits, and the limits of Portalized come in view when an object smaller than 10mm tries to get simulated. Then again, I know of no physics engine that can handle 1cm objects 100%, so all is fine.
That's fucking awesome.
My fucking head, agh.
I..I masturbated. I couldn't control myself. :(
How do you choose portal size when you shoot them? Small portal left click, Big portal right click (or vice versa)?
[QUOTE=nullsquared]Yes. That's exactly what it means. Of course, computers have their limits, and the limits of Portalized come in view when an object smaller than 10mm tries to get simulated. Then again, I know of no physics engine that can handle 1cm objects 100%, so all is fine.[/QUOTE] Can you get on msn yet? :argh:
[QUOTE=XipLep]THIS? possible in SOURCE? Excuse me while I laugh.[/QUOTE] Lol. Seriously, you could sell this for some [B]SERIOUS[/B] money.
[QUOTE=nullsquared]Yes. That's exactly what it means. Of course, computers have their limits, and the limits of Portalized come in view when an object smaller than 10mm tries to get simulated. Then again, I know of no physics engine that can handle 1cm objects 100%, so all is fine.[/QUOTE] Seems Very well Coded, What did you write this in? I am impressed :3
[QUOTE=Xionasis]How do you choose portal size when you shoot them? Small portal left click, Big portal right click (or vice versa)?[/QUOTE] Those console LUA commands he was doing set the portal sizes. Left click = portal1, right click = portal2, for example.
What happens when you put a portal THROUGH a portal? INFINITE LOOPING PARADOX NOO!!
Oh... well that makes sense.
Also, what happens if you just keep going through a huge portal and getting bigger and bigger until you get as big as the room? :v:
That's damn awesome :v:
Since it is LUA, you should import it to GMod in later more developed stages... or now.
This should probably go in the video games forum, but anyways, good job so far.
[QUOTE=Xionasis]Since it is LUA, you should import it to GMod in later more developed stages... or now.[/QUOTE] He can't. Just because it's LUA doesn't mean it's able to be put into Source.
One portal through another, now.
Sorry, you need to Log In to post a reply to this thread.