Page 1 of 1

Overhead view type framework?

Posted: Mon Dec 14, 2015 9:22 pm
by ploaded
Hi everyone. I'm new to Love2D, and I figured I'd sign up for the forum and get some help from you nice folks.

I'm currently trying to write a game with a top down perspective while using the orthogonal type map from Tiled. I've gone as far as getting the tiled map loader to work, some movement, and shooting some projectiles around. Of course, I still need to create collisions with walls, projectiles, enemies, and all sorts of other things.

I feel like since this is such a generic type of thing, hopefully someone would know of some base/example code I could borrow from. If not, when I'm done I might just post some myself.

I'm just eager to get started on making my game idea come to life, and I don't want to waste weeks if not months replicating code thousands of people have already done.

Thanks.

Re: Overhead view type framework?

Posted: Tue Dec 15, 2015 3:03 pm
by ploaded
I see this thread has a few dozen views and no replies, so maybe others are interested in the same thing?

I stumbled upon this github user and it looks like he's written some pretty cool tools (collision detection, visual postprocessing, etc...):
https://github.com/vrld/

and an audio manager:
https://github.com/sonic2kk/SPAM


I checked out the free game resources sticky and saw a lot of tutorials, but not a lot of libraries.

Re: Overhead view type framework?

Posted: Tue Dec 15, 2015 6:27 pm
by Beelz
Firstly, hello and welcome! :ultrahappy:

Now for collision detection, I prefer to write and use my own code(learn by doing). However I have used, and I recommend using, libraries... Especially if you are new to Lua and Love. This thread has a link to a GitHub repo that contains some very useful stuff. Take a look at Bump in the physics section, very nice library.

Re: Overhead view type framework?

Posted: Tue Dec 15, 2015 8:09 pm
by s-ol
ploaded wrote:I see this thread has a few dozen views and no replies, so maybe others are interested in the same thing?

I stumbled upon this github user and it looks like he's written some pretty cool tools (collision detection, visual postprocessing, etc...):
https://github.com/vrld/

and an audio manager:
https://github.com/sonic2kk/SPAM


I checked out the free game resources sticky and saw a lot of tutorials, but not a lot of libraries.
For AABB collision detection and resolution, kikito's bump.lua is the state of the art solution :P
You should check out his github account aswell, he also has a bunch of useful tools.

For the original question; there aren't a lot of LÖVE frameworks around (that I know of?). I think that's mostly because what people like about LÖVE is that it is very minimal so you can do what you like. If you want a rigid framework than you can already use Unity again basically. To kickstart a new project IMO it's best to mix-and-match libraries for everything you need (things like spritesheet animation, collision, sound if a more abstract interface is needed there, map loading if required, gamestates, vector math, tweening) and rolling your own structure.

Re: Overhead view type framework?

Posted: Wed Dec 16, 2015 12:30 am
by ploaded
Awesome, these will come in handy. Thank you.