12
Wolf3d-style 3d engine (proof of concept)
Started by GopherAtl, Feb 28 2013 09:35 PM
56 replies to this topic
#21
Posted 03 March 2013 - 01:27 PM
goTech1? Looking pretty sharp- great job Gopher I may have a play around with this at some stage.
#22
Posted 03 March 2013 - 07:34 PM
You just unlock the possibly of the actual Minecraft in Minecraft? lol.....
#25
Posted 04 March 2013 - 07:27 AM
I thought off the possibility to create Slender.
=3
=3
#29
Posted 18 March 2013 - 01:57 PM
GopherAtl, on 28 February 2013 - 10:46 PM, said:
oeed: thanks. Additions, mainly collision handling with walls, have pushed it to around 250 lines now, but yeah, this kind of engine is surprisingly simple to implement, heh.
BigSHinyToys: no COD, lol. Adding enemies would be ... problematic. 16-color sprites at this resolution really don't scale well!
TheOriginalBit: I've toyed with making it run on monitors, but it would have to have on-screen touch controls, ipad-style, which seems like it'll be awkward. Unless there's actually a working version of ccinput around somewhere, seems every time I've tried to use ccinput, it has not wanted to work properly...
BigSHinyToys: no COD, lol. Adding enemies would be ... problematic. 16-color sprites at this resolution really don't scale well!
TheOriginalBit: I've toyed with making it run on monitors, but it would have to have on-screen touch controls, ipad-style, which seems like it'll be awkward. Unless there's actually a working version of ccinput around somewhere, seems every time I've tried to use ccinput, it has not wanted to work properly...
#30
Posted 24 March 2013 - 08:20 PM
Mind blown...
#31
Posted 25 March 2013 - 04:05 AM
My gawd. Quick port this to CCLights2! Now we can have Minecraft in Minecraft!
#34
Posted 14 June 2013 - 03:47 PM
thses are not requests/demands. Instead they are me thinking out loud for the those interested (or not interested )
If one uses CClights2's mouse_move events isnt it possible to truly track the mouse?
Also CClights (not 2) has a very nice pixeldrawing system, 128x128 but its only external! (damnit ccinput)
Anyways, amazing
If one uses CClights2's mouse_move events isnt it possible to truly track the mouse?
Also CClights (not 2) has a very nice pixeldrawing system, 128x128 but its only external! (damnit ccinput)
Anyways, amazing
#35
Posted 14 June 2013 - 05:33 PM
Well, portal 3 can now be made with computercraft in THREE-DEEE! Yay!
#37
Posted 14 June 2013 - 08:29 PM
this is insane. you are insane. will you marry me?
#38
Posted 16 June 2013 - 02:18 AM
The 3D stuff that is being pulled off is amazing. Really great job on this. I am wondering if someday someone might apply this to a floor/wall/ceiling monitor configuration with lan cables and make a holodeck of sorts. That would be so awesome.
#39
Posted 16 June 2013 - 11:19 PM
Amazing. I thought it would crash when I edited the map but it didn't! Nice work.
#40
Posted 17 June 2013 - 01:14 PM
I thought this would be the most appropriate place to share this, as it is this.
Earlier Gopher said about entities scaling badly and stuff, so to test this theory I tried it out. So far I have done nothing but prove him correct, however whilst playing around with his code I added a few new features
Here's a pastebin:
http://pastebin.com/VHrMFTE7
what I added:
"bobbing" - you bobb when you move now... rather simple.
"vision" - adds vision distance to the game, can't see anything but a gray silhouette when out of vision radius
"mouse" - can control the game with the mouse (will explain later)
"sprint" - lets you move faster, toggled by middle mouse button or "e" key
"white_circle" - fits with ceilings_floors and vision kinda, I don't like it tbh
"ceilings_floors" - makes the floors lightGray and the ceilings black
NOTE: all of this can be toggled off at the top of the code with the "settings" table, just make things true/false
mouse controls:
clicking the left quarter of the screen with your left mouse button moves you left,
clicking the right quarter of the screen with your left mouse button moved you right,
clicking the top-middle quarter of the screen with your left mouse button moves you forwards,
clicking the bottom-middle quarter of the screen with your left mouse button moves you backwards,
clicking the right side of the screen with your right mouse button makes you look right,
clicking the left side of the screen with your right mouse button makes you look left,
clicking the middle mouse button will toggle sprint
NOTE: mouse_drag is enabled so move your mouse slightly side to side inside one of these zones to move properly
this isn't trying to steal Gopher's thunder or anything, it's just me sharing the results of what Gopher produced, btw Gopher, this is awesome
I might still try and work on getting entities to work but I dunno...
maybe adding switched and doors would be cooler, with the use-item key being F or clicking the middle of the screen.
Earlier Gopher said about entities scaling badly and stuff, so to test this theory I tried it out. So far I have done nothing but prove him correct, however whilst playing around with his code I added a few new features
Here's a pastebin:
http://pastebin.com/VHrMFTE7
what I added:
"bobbing" - you bobb when you move now... rather simple.
"vision" - adds vision distance to the game, can't see anything but a gray silhouette when out of vision radius
"mouse" - can control the game with the mouse (will explain later)
"sprint" - lets you move faster, toggled by middle mouse button or "e" key
"white_circle" - fits with ceilings_floors and vision kinda, I don't like it tbh
"ceilings_floors" - makes the floors lightGray and the ceilings black
NOTE: all of this can be toggled off at the top of the code with the "settings" table, just make things true/false
mouse controls:
clicking the left quarter of the screen with your left mouse button moves you left,
clicking the right quarter of the screen with your left mouse button moved you right,
clicking the top-middle quarter of the screen with your left mouse button moves you forwards,
clicking the bottom-middle quarter of the screen with your left mouse button moves you backwards,
clicking the right side of the screen with your right mouse button makes you look right,
clicking the left side of the screen with your right mouse button makes you look left,
clicking the middle mouse button will toggle sprint
NOTE: mouse_drag is enabled so move your mouse slightly side to side inside one of these zones to move properly
this isn't trying to steal Gopher's thunder or anything, it's just me sharing the results of what Gopher produced, btw Gopher, this is awesome
I might still try and work on getting entities to work but I dunno...
maybe adding switched and doors would be cooler, with the use-item key being F or clicking the middle of the screen.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users