Would A Classic Doom Inspired Game Work In LOVE2D?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Manio
Prole
Posts: 5
Joined: Sun Dec 28, 2014 5:52 am

Would A Classic Doom Inspired Game Work In LOVE2D?

Post by Manio »

I've always wanted to make a game like Doom 1, Hexen, Quake, etc. I was just curious if there was anyway it would be possible in the engine, and what kind of difficulty I'd be looking at here.
mongrol
Prole
Posts: 33
Joined: Fri Nov 30, 2012 1:01 am

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by mongrol »

Perfectly doable I reckon although you're not going to get much help from Love2d in terms of acceleration. Generally you'll be parsing a BSP tree, finding out texture is needed for the camera Y column you're on, finding out which column of the wall texture is needed at that point, obtaining the pixel data from the texture you've loaded then software drawing it.

Actually, now I think of it, once you find out the texture Y column needed you could crop it out the texture and scale it with love rendering. So you will get acceleration.

Sounds like a good exercise. I once wrote a wolf3d raycaster in Blitzbasic. It was 64x64, greyscaled and ran about 1 fps. :)
User avatar
adrix89
Party member
Posts: 135
Joined: Fri Oct 15, 2010 10:58 am

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by adrix89 »

Why do people keep want to do 3D stuff in a 2d engine?

Use Unity or some other engine.
I use Workflowy but you can check out Dynalist as its the better offer.
User avatar
Manio
Prole
Posts: 5
Joined: Sun Dec 28, 2014 5:52 am

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by Manio »

adrix89 wrote:Why do people keep want to do 3D stuff in a 2d engine?

Use Unity or some other engine.
I wouldn't do anything 3D. It'd be the same style of gameplay, but with a visual style like this.

Image
mongrol
Prole
Posts: 33
Joined: Fri Nov 30, 2012 1:01 am

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by mongrol »

adrix89 wrote:Why do people keep want to do 3D stuff in a 2d engine?

Use Unity or some other engine.
Doom and it'd ilk aren't 3d. Replicating the Doom renderer is an interesting exercise. Doing it in a 3d engine would defeat the purpose.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by josefnpat »

I have been working on a raycasting library, but It's not really ready for use, but help is always welcome!
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by Jasoco »

adrix89 wrote:Why do people keep want to do 3D stuff in a 2d engine?

Use Unity or some other engine.
Image
Because we can.

Image
Because it's there.

Image
Because it's a challenge.

Image
And so on.
Last edited by Jasoco on Mon Jan 05, 2015 11:02 pm, edited 1 time in total.
User avatar
nfey
Citizen
Posts: 63
Joined: Tue Feb 18, 2014 9:50 am
Location: Romania

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by nfey »

Because making a 3D game in a modern engine like Unity is exponentially more complicated, expensive and time-consuming
User avatar
Jeeper
Party member
Posts: 611
Joined: Tue Mar 12, 2013 7:11 pm
Contact:

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by Jeeper »

nfey wrote:Because making a 3D game in a modern engine like Unity is exponentially more complicated, expensive and time-consuming
Not quite sure I agree on that, if you want to make a fullscale "real" 3d game, doing it in löve rather than Unity would be a lot harder, take a lot longer and yield a lot worse results.

That being said, I find it very cool that people have been able to do 3d stuff in Löve and a lot of 2d games can benefit from having parts be in 3d. A good example being some of the things that Jasoco has linked.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Would A Classic Doom Inspired Game Work In LOVE2D?

Post by Jasoco »

Unity costs a lot to port to iOS, Android and other devices and consoles. And they charge you separately for each one. So unless you're a big studio or an Indie with a Kickstarter you're only going to get OS X and Windows ports. Plus you don't get all the good features either unless you spend even more money.

Unity is expensive if you want to do the good stuff.

Of course if you want real 3D for free there's always Java. But it's Java. And Java isn't Lua. It's much harder to understand how to do things without a lot of learning. (Maybe you can fly to Sweden and have Notch tutor you on how he does all his wonderful things so easily)
Post Reply

Who is online

Users browsing this forum: No registered users and 132 guests