135 posts
Posted 07 November 2013 - 03:29 AM
Portal Simulator By RedxoneControls: w,a,s,d To Moveleft shift = blue portalright shift = orange portalNew-version:http://pastebin.com/b0ww2SgbOld-version: http://goo.gl/BXdTdZnote: this is not an actual game it's just a
example of how portals would be possible
in computercraft if u want an actual game
check out:
http://www.computerc...utercraft-game/and:
http://www.computercraft.info/forums2/index.php?/topic/15398-beams-a-computercraft-game/ScreenshotsSpoiler
Edited on 07 November 2013 - 06:59 PM
220 posts
Location
Germany
Posted 07 November 2013 - 01:34 PM
Pretty cool idea.
You can improve your code alot by indenting the lines!
Also why did you use goo.gl for an already very very short url? :P/>
570 posts
Location
Germany
Posted 07 November 2013 - 03:14 PM
I havent't tested this yet, but I would like to say two things:
1. Please make a pastebin link
2. Please add screenshots
135 posts
Posted 07 November 2013 - 04:27 PM
I havent't tested this yet, but I would like to say two things:
1. Please make a pastebin link
2. Please add screenshots
the goo.gl link links to pastebin
Screenshots Added!
Pretty cool idea.
You can improve your code alot by indenting the lines!
Also why did you use goo.gl for an already very very short url? :P/>
so i could know how many people download my program :)/>
Edited on 07 November 2013 - 03:31 PM
375 posts
Location
USA
Posted 07 November 2013 - 04:37 PM
This is unfinished, right? There are no physics and no levels. Just portals. There isn't even a way to exit the program. You're using os.pullEventRaw to get your events for some unknown reason so ctrl-t doesn't work either.
Edited on 07 November 2013 - 03:37 PM
500 posts
Posted 07 November 2013 - 05:20 PM
I havent't tested this yet, but I would like to say two things:
1. Please make a pastebin link
2. Please add screenshots
the goo.gl link links to pastebin
Screenshots Added!
Pretty cool idea.
You can improve your code alot by indenting the lines!
Also why did you use goo.gl for an already very very short url? :P/>
so i could know how many people download my program :)/>
Pastebin tells you that already (Number of hits)
135 posts
Posted 07 November 2013 - 07:54 PM
This is unfinished, right? There are no physics and no levels. Just portals. There isn't even a way to exit the program. You're using os.pullEventRaw to get your events for some unknown reason so ctrl-t doesn't work either.
im not even sure if physics are possible in computercraft
375 posts
Location
USA
Posted 07 November 2013 - 09:05 PM
im not even sure if physics are possible in computercraft
Simple 2D bounding box collision physics are pretty simple as far as physics go. It's quite possible and has been done before in other CC games. Just give each moving entity a velocity and position value and have the physics engine calculate where each object should be in the next physics tick.