I requested this in the old project under the same name, but I can't find the post any more.
Anyway, I'm not sure how code is set up for the arenas (I'm sure it's just a calculation on an int since it's pretty much just a square), so I don't know how hard this would be.
I think it would be really fun to play in arenas that aren't rectangular (one could argue that it's cubic, but we're really just playing in 2d.) Of course, I'm not necessarily arguing for things like circles, but maybe just a bunch of connected squares. If people wanted, they could create mazes with this.
It'd be even more interesting if we could actually play in three dimensions, though I think this would bring most older machines to a crawl.
The other idea related to this would be 3d-like arenas, where it would be more like playing on the surface of a planet. You wouldn't really be playing in 3d, but the arenas would "feel" more like 3d. This would be less intensive than a real 3d environment, since the maps could still be represented in 2d with slightly extra information.
Non-rectangular/cubic arenas
- philippeqc
- Long Poster - Project Developer - Sage
- Posts: 1526
- Joined: Mon Jul 12, 2004 8:55 am
- Location: Stockholm
- Contact:
Re: Non-rectangular/cubic arenas
Hi,
This idea and similar have floated around. But you seem to have a good understanding of the way to do it, as you present them ordered by dificulty. Nice work!
As I'm quite busy at the moment, my participation level has suck a bit (before yesterday, I had a inactivity of about 5 weeks). That should leave you lots of place to try and check how to address the problem. It would be quite enjoyable to have a hand on this.
Feel free to ask when you have some questions.
-ph
This idea and similar have floated around. But you seem to have a good understanding of the way to do it, as you present them ordered by dificulty. Nice work!
I dont remember the function name from the top of my head. Some one else will have to tell you where the arena walls are set. Just play with it and get a feel of it. You will probably get to a point where the walls dont loop. Just make sure the first point is ALSO scaled.ndogg wrote:Anyway, I'm not sure how code is set up for the arenas (I'm sure it's just a calculation on an int since it's pretty much just a square), so I don't know how hard this would be.
Due to engine limitation, the current arena can be ANY single concave shape. There are bits for a "parser" floating around, allowing for the server to send the definition of the arena to all the clients. This could be fixed quite easily.ndogg wrote: I think it would be really fun to play in arenas that aren't rectangular (one could argue that it's cubic, but we're really just playing in 2d.) Of course, I'm not necessarily arguing for things like circles, but maybe just a bunch of connected squares. If people wanted, they could create mazes with this.
MUCH has to be done for this. A model has been proposed (by me) for this. I, very modestly, suggest you check it up in the forums. But this is several order of magnitude of work. I started a bit on it (check the world-2 branch in cvs). But its only a start.ndogg wrote: It'd be even more interesting if we could actually play in three dimensions, ...
It is a nice idea. I'm sure it would be quite fun to play it.ndogg wrote: The other idea related to this would be 3d-like arenas, where it would be more like playing on the surface of a planet. You wouldn't really be playing in 3d, but the arenas would "feel" more like 3d. This would be less intensive than a real 3d environment, since the maps could still be represented in 2d with slightly extra information.
As I'm quite busy at the moment, my participation level has suck a bit (before yesterday, I had a inactivity of about 5 weeks). That should leave you lots of place to try and check how to address the problem. It would be quite enjoyable to have a hand on this.
Feel free to ask when you have some questions.
-ph
Canis meus id comedit.




