Jump to content




Wolf3d-style 3d engine (proof of concept)


56 replies to this topic

#21 nitrogenfingers

    Lua Professor

  • Members
  • 551 posts
  • LocationAustralia

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 brett122798

  • Members
  • 298 posts
  • LocationIn the TARDIS at an unknown place in time.

Posted 03 March 2013 - 07:34 PM

You just unlock the possibly of the actual Minecraft in Minecraft? lol.....

#23 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 03 March 2013 - 07:49 PM

View Postbrett122798, on 03 March 2013 - 07:34 PM, said:

You just unlock the possibly of the actual Minecraft in Minecraft? lol.....

First thing I thought when I saw this :P

#24 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 03 March 2013 - 07:52 PM

View Postoeed, on 03 March 2013 - 07:49 PM, said:

View Postbrett122798, on 03 March 2013 - 07:34 PM, said:

You just unlock the possibly of the actual Minecraft in Minecraft? lol.....

First thing I thought when I saw this :P
I thought of Wolfenstein and Doom before Minecraft.

#25 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 04 March 2013 - 07:27 AM

I thought off the possibility to create Slender.
=3

#26 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 04 March 2013 - 08:19 AM

View Postoeed, on 03 March 2013 - 07:49 PM, said:

View Postbrett122798, on 03 March 2013 - 07:34 PM, said:

You just unlock the possibly of the actual Minecraft in Minecraft? lol.....

First thing I thought when I saw this :P

He would need to rework it to use 3d maps first wouldn't he.

#27 nutcase84

  • Members
  • 711 posts
  • LocationIn My Lonely Little Computer Corner

Posted 04 March 2013 - 12:14 PM

View PostLeft4Cake, on 04 March 2013 - 08:19 AM, said:

He would need to rework it to use 3d maps first wouldn't he.

<sarcasm>No way...</sarcasm>

#28 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 05 March 2013 - 11:41 PM

View Postnutcase84, on 04 March 2013 - 12:14 PM, said:

View PostLeft4Cake, on 04 March 2013 - 08:19 AM, said:

He would need to rework it to use 3d maps first wouldn't he.

<sarcasm>No way...</sarcasm>

U mad?

#29 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 18 March 2013 - 01:57 PM

View PostGopherAtl, 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...
you can just use another monitor with keys and send the keys over wireless modems

#30 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 24 March 2013 - 08:20 PM

Mind blown...

#31 ds84182

  • Members
  • 184 posts

Posted 25 March 2013 - 04:05 AM

My gawd. Quick port this to CCLights2! Now we can have Minecraft in Minecraft!

#32 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 25 March 2013 - 04:53 AM

I was looking at the method you used to do this, and I get it! :D I'm going to make my own in Python.

Really helpful paper on Raycasting here, if anyone else is interested in how it works.

#33 paus3d

  • New Members
  • 1 posts

Posted 24 April 2013 - 07:52 AM

Sorry for offtopic, but there is a shooter on bash with the same graphics.

#34 ArchAngel075

  • Members
  • 149 posts

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 :P)
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 :D

#35 basdxz

  • Members
  • 116 posts

Posted 14 June 2013 - 05:33 PM

Well, portal 3 can now be made with computercraft in THREE-DEEE! Yay!

#36 nutcase84

  • Members
  • 711 posts
  • LocationIn My Lonely Little Computer Corner

Posted 14 June 2013 - 06:28 PM

View Postbasdxz, on 14 June 2013 - 05:33 PM, said:

Well, portal 3 can now be made with computercraft in THREE-DEEE! Yay!

Portal 3? If you want to make a prototype Portal 3, make it outside CC please. I LOVE PORTAL.

#37 murky white

  • Members
  • 7 posts

Posted 14 June 2013 - 08:29 PM

this is insane. you are insane. will you marry me?

#38 Nuchaz

  • Members
  • 7 posts

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 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

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 billysback

  • Members
  • 569 posts

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 :P

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 :D

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