882 posts
Location
Behind you.
Posted 31 January 2014 - 10:23 PM
I'm using Gamax92's port of GopherATL's wolf3D engine and adding some stuff to it. Any suggestions?
Gamax92's port:
DownloadWebsite for My Download:
http://www.deathprogramming.comWebsite might be offline at any time!
Edited on 08 February 2014 - 01:24 AM
2151 posts
Location
Auckland, New Zealand
Posted 31 January 2014 - 10:27 PM
I haven't looked in to it really, but are there any other Lua based 3D engines?
995 posts
Location
Canada
Posted 31 January 2014 - 11:05 PM
882 posts
Location
Behind you.
Posted 01 February 2014 - 12:16 AM
Then I guess I don't need to work on this anymore :I
799 posts
Location
Land of Meh
Posted 01 February 2014 - 01:30 AM
If anyone's interested in how this works, there's a nice article on it here:
http://www.permadi.com/tutorial/raycast/index.html
2151 posts
Location
Auckland, New Zealand
Posted 01 February 2014 - 01:34 AM
Then I guess I don't need to work on this anymore :I
Just because someone else's done it doesn't mean you shouldn't. If everyone had that attitude we'd still be stuck with Ford Model Ts, not have Windows (arguable if that was a good thing :P/>) and wouldn't be able to fly anywhere (other than a few hundred meters).
995 posts
Location
Canada
Posted 01 February 2014 - 10:13 AM
oeed makes a point, but arguably you can see a few features in each OS that were derived from the other :)/>/>. I like both, and I believe that either OS would not be where it is now without the other as competition.
I gave you that link so you could get some ideas, sorry if I sounded like I was telling you not to do it.
Edited on 01 February 2014 - 09:14 AM
770 posts
Location
In My Lonely Little Computer Corner
Posted 01 February 2014 - 12:30 PM
Beat ya' to it! :P/>
156 posts
Posted 01 February 2014 - 12:51 PM
Nice, but not releasing the code to the port is insulting to Gopher, Death, and the people who wanted said port.
770 posts
Location
In My Lonely Little Computer Corner
Posted 01 February 2014 - 01:08 PM
It's not a port, it's based of of Sorroko's emulator, running at a high resolution, at 15 frames per minute. :P/>
2151 posts
Location
Auckland, New Zealand
Posted 01 February 2014 - 05:25 PM
Beat ya' to it! :P/>
Wow! That looks amazing, well compared to the normal CC graphics. It's not quite Battlefield 4 :P/>
It's not a port, it's based of of Sorroko's emulator, running at a high resolution, at 15 frames per minute. :P/>
So, this is actually running in CC? Did you change the pixel ratio so they're square?
156 posts
Posted 01 February 2014 - 08:16 PM
Uhh, I did this port about 5 1/2 hours ago, forgot to post it.
Credits to ds84182, he improved the raycasting code so it wasn't so sluggish.
Enhancements:Unlocked fps (if it gets below 20 fps, which it shouldn't, the demo slows down as well)
Supports multiple keys.
The gray floor and ceiling are not lines anymore, entire screen is set to gray and then walls are drawn.
Download
Edited on 01 February 2014 - 07:17 PM
770 posts
Location
In My Lonely Little Computer Corner
Posted 02 February 2014 - 10:07 AM
Uhh, I did this port about 5 1/2 hours ago, forgot to post it.
Credits to ds84182, he improved the raycasting code so it wasn't so sluggish.
Enhancements:Unlocked fps (if it gets below 20 fps, which it shouldn't, the demo slows down as well)
Supports multiple keys.
The gray floor and ceiling are not lines anymore, entire screen is set to gray and then walls are drawn.
Download
Just…. wow. I wish I knew more LOVE so I could make something out of this. My code is totally outdated now. XD
EDIT: You need to make a CC thing like I did, so I can run CC code in Love2D. WE COULD MAKE EPICNESS!
Edited on 02 February 2014 - 09:10 AM
995 posts
Location
Canada
Posted 02 February 2014 - 11:03 AM
Sorroko has a LÖVE CC emulator, and gamax made a fork of it with a few new features.
770 posts
Location
In My Lonely Little Computer Corner
Posted 02 February 2014 - 11:16 AM
Sorroko has a LÖVE CC emulator, and gamax made a fork of it with a few new features.
I know, that's what I made my 3D thing out of. :(/>
I mean, does anyone have a CC emulator with a high resolution with descent speed? I made one but the performance is so poor I want to puke. XD
2151 posts
Location
Auckland, New Zealand
Posted 02 February 2014 - 03:38 PM
Sorroko has a LÖVE CC emulator, and gamax made a fork of it with a few new features.
I know, that's what I made my 3D thing out of. :(/>
I mean, does anyone have a CC emulator with a high resolution with descent speed? I made one but the performance is so poor I want to puke. XD
CC isn't really designed for high resoultions. I'd try making it from scratch. That way you're not double handing, or even triple handling, code.
156 posts
Posted 02 February 2014 - 05:35 PM
I agree, even after porting the code to run in Love2D directly, the old method for drawing lines was still dragging it down.
I moved it from doing pixel by pixel to doing lines and instantly fast.
770 posts
Location
In My Lonely Little Computer Corner
Posted 02 February 2014 - 06:54 PM
The problem is, I don't really know that much of Love 2D. XD
882 posts
Location
Behind you.
Posted 03 February 2014 - 10:00 AM
I'm now working (slowly) on a way to integrate the mouse and moving left-right with l/r keys. And maybe adding in wasd if it isn't already
286 posts
Location
United States
Posted 03 February 2014 - 10:26 AM
Ny good resources on getting Love to work in OSX? I downloaded it, but I have no idea what to do to install the cc emulator after that. All I get is the Baby Inspector with the guy that looks like N Korea's Baby Kim saying "No Game!"
Edited on 03 February 2014 - 09:29 AM
882 posts
Location
Behind you.
Posted 03 February 2014 - 11:05 AM
surferpup: I'll get working on a .app for it; which one are you talking about?
286 posts
Location
United States
Posted 03 February 2014 - 02:26 PM
Well, I downloaded Love for OSX, and I have no idea how to install the CC emulator or anything else in it. And I can't find any resources to explain it. Love runs fine, just has nothing to run.
I downloaded it form
https://love2d.org using the LÖVE 0.9.0 for Mac OS X – Zipped 64-bit Build link.
2151 posts
Location
Auckland, New Zealand
Posted 03 February 2014 - 03:29 PM
Well, I downloaded Love for OSX, and I have no idea how to install the CC emulator or anything else in it. And I can't find any resources to explain it. Love runs fine, just has nothing to run.
I downloaded it form
https://love2d.org using the LÖVE 0.9.0 for Mac OS X – Zipped 64-bit Build link.
Drag the emulator.love on to the dock icon should do it.
286 posts
Location
United States
Posted 03 February 2014 - 05:27 PM
Drag the emulator.love on to the dock icon should do it.
Any idea where I snag emulator.love?
286 posts
Location
United States
Posted 03 February 2014 - 05:38 PM
I found it finally. Sorry – just a search fail on my part. Thanks oeed for the help.
882 posts
Location
Behind you.
Posted 06 February 2014 - 01:15 AM
Uploaded it to my site
http://www.deathprogramming.com. I might also add FTP or something so I can get to the files easier and I don't have to worry about two different code files.
882 posts
Location
Behind you.
Posted 08 February 2014 - 02:25 AM
Bump - Added in a cute little crosshair and also working on the ability to make custom maps, I might make a video explaining how this is done.
770 posts
Location
In My Lonely Little Computer Corner
Posted 10 February 2014 - 02:47 PM
Death, ur website doesn't work. It gives me a error when I try to download stuff.
882 posts
Location
Behind you.
Posted 10 February 2014 - 03:34 PM
Yeah, a few posts below this one in General states that my website is deleted. I'm rewriting most of it right now, sorry.
EDIT - rewrote directory trees to help with archiving old versions. Also, it's working now.
Edited on 10 February 2014 - 03:59 PM
463 posts
Location
Germany
Posted 11 February 2014 - 07:54 AM
Tested it, but it doesn't seem like it works, the cube in the demo seems broken when you watch it (don't know if he wanted it to look like this). I tested it too, but it printed a wierd triangle instead of a block, and I'm pretty sure it's not my fault…
Also, the API is like 3 years old ^^
995 posts
Location
Canada
Posted 11 February 2014 - 11:12 AM
This is a bit late, but a reply to nutcase:
I believe GravityScore is making a JS-based CC emulator, and I think (don't quote me) he is putting his code on GitHub, so if you know JavaScript, you could use that. I was considering making one in Python, but now I'm reconsidering both if I'm even going to make it and my choice of language - I can only find a LuaJIT VM for Python, not LuaJ, which is something I want in the emulator.
EDIT: Damn ninja :ph34r:/>
Edited on 11 February 2014 - 06:09 PM
882 posts
Location
Behind you.
Posted 11 February 2014 - 12:15 PM
I'm still working on custom maps and a bit more mouse integration. Also, FTP doesn't seem to be working out for me, so I'll be updating some stuff on the site, there's probably going to be a lot of stupid stuff hosted on there over the next week.
770 posts
Location
In My Lonely Little Computer Corner
Posted 11 February 2014 - 01:02 PM
This is a bit late, but a reply to nutcase:
I believe GravityScore is making a JS-based CC emulator, and I think (don't quote me) he is putting his code on GitHub, so if you know JavaScript, you could use that. I was considering making one in Python, but now I'm reconsidering both if I'm even going to make it and my choice of language - I can only find a LuaJIT VM for Python, not LuaJ, which is something I want in the emulator.
Cool, thanks.
2151 posts
Location
Auckland, New Zealand
Posted 11 February 2014 - 03:28 PM
This is a bit late, but a reply to nutcase:
I believe GravityScore is making a JS-based CC emulator, and I think (don't quote me) he is putting his code on GitHub, so if you know JavaScript, you could use that. I was considering making one in Python, but now I'm reconsidering both if I'm even going to make it and my choice of language - I can only find a LuaJIT VM for Python, not LuaJ, which is something I want in the emulator.
Yes, he is. It requires you to download node-webkit and place the app in the src folder though.
https://github.com/GravityScore/Mimic
500 posts
Posted 11 February 2014 - 08:56 PM
This is a bit late, but a reply to nutcase:
I believe GravityScore is making a JS-based CC emulator, and I think (don't quote me) he is putting his code on GitHub, so if you know JavaScript, you could use that. I was considering making one in Python, but now I'm reconsidering both if I'm even going to make it and my choice of language - I can only find a LuaJIT VM for Python, not LuaJ, which is something I want in the emulator.
EDIT: Damn ninja :ph34r:/>
Oddstr13 has a CC Python Emulator, so you can get guidance from him if needed.
995 posts
Location
Canada
Posted 11 February 2014 - 09:57 PM
I probably not write it in Python, as I want LuaJ. Also, sorry I had to go on IRC - got an incoming video Skype call, and they wouldn't want to see/hear me typing to someone else.