Non-rectangular/cubic arenas

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
ndogg
On Lightcycle Grid
Posts: 13
Joined: Wed Mar 02, 2005 1:31 pm
Location: Oshkosh, WI
Contact:

Non-rectangular/cubic arenas

Post by ndogg »

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.
User avatar
n54
MVP
Posts: 1587
Joined: Sun Dec 21, 2003 12:40 pm

Post by n54 »

This has all been suggested and discussed (a lot) before, let's just say it's possible ideas for the future.

Edit: spelling mistake
User avatar
philippeqc
Long Poster - Project Developer - Sage
Posts: 1526
Joined: Mon Jul 12, 2004 8:55 am
Location: Stockholm
Contact:

Re: Non-rectangular/cubic arenas

Post by philippeqc »

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!
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.
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: 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.
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: It'd be even more interesting if we could actually play in three dimensions, ...
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: 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.
It is a nice idea. I'm sure it would be quite fun to play it.

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.
User avatar
Sabarai
The Former Man of Cheese
Posts: 2383
Joined: Sat Jun 19, 2004 9:00 pm
Location: 52°09'30.24"N 5°18'48.17"

Post by Sabarai »

but are you still thinking of symmetric figures or also asymmetric figures? would be interesting 2 have asymmetric; you can't just turn or somthing or you can't just grind since there will be a wall somewhere where it wasn't before...
Image
Image
Image
Image
Image
Post Reply