Infinite world
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Infinite world
Box2D is great for any game which is physics-based or otherwise uses realistic physics... But almost all platformer games don't (the only one I can think of that does is Gish). It's a matter of using the right tool for the job, not just random hatred of an awesome little engine.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Infinite world
It's not that people hate Box2D, it's that people try to use it for platformers --- and Box2D works nothing like the physics in most platformers. (Things like little or no inertia, selective collisions, etc.)tentus wrote:Seriously, why do we even have Box2D in Love if everyone hates it so much?
Help us help you: attach a .love.
Re: Infinite world
Well, you don't throw everything onto your RAM unless your game is very small. If you manage your working memory and serialize then you can have an effectively "infinite" world, procedural or not.miko wrote: You cannot have really infinite world within finite amount of RAM (unless your world is procedural). You need to think about your game design. For the beginning, you can make it "big enough", then splice it as needed.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Infinite world
There is a difference between infinite and merely very large.Kadoba wrote:Well, you don't throw everything onto your RAM unless your game is very small. If you manage your working memory and serialize then you can have an effectively "infinite" world, procedural or not.
Help us help you: attach a .love.
Re: Infinite world
I understand that, hence the quotation marks. I was just pointing out that RAM doesn't have a large constraint on the world size.Robin wrote:There is a difference between infinite and merely very large.
Re: Infinite world
Box2D has a partitioning system so the documentation suggests keeping the worlds to a reasonable size.
Having said that I have used fairly large world dimensions without any loss in performance or memory consumption.
Having said that I have used fairly large world dimensions without any loss in performance or memory consumption.
Re: Infinite world
on top of that, i'm not really a fan of callback-based collision detection, at least as the only method of checking for obstacles; i'd rather do explicit checksRobin wrote:It's not that people hate Box2D, it's that people try to use it for platformers --- and Box2D works nothing like the physics in most platformers. (Things like little or no inertia, selective collisions, etc.)tentus wrote:Seriously, why do we even have Box2D in Love if everyone hates it so much?
fortunately hardoncollider (specifically the spatialhash module) exists!
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 5 guests