Lummox JR

Joined: Sep 1 2001

Shoutbox

Lummox JR
Jan 7, 1:14 pm
Incursion takes a pretty simplistic approach to the borders.

Each tile is broken into 16x16-pixel subtiles (Incursion was designed prior to the new icon size stuff), and each potential grid intersection (offset from the subtile proper by 8 pixels diagonally) has bitflags indicating which parts belong to which territories. Essentially, a T-junction intersection can be three icons: One for the territory on one side, and one each for the ones in each corner.

Bit 0: Territory in NE
Bit 1: Territory in SE
Bit 2: Territory in SW
Bit 3: Territory in NW
Bits 4-5: Style (0-2)

Basically if any of the bits 0-3 are empty, the territory in that section belongs to whatever nearest bit was set counterclockwise. E.g., 5 means NE and SE are the same (bit 0 on, bit 1 off) and SW and NW are the same (bit 2 on, bit 2 off), so it's a vertical divider. The style number allows for one of three different graphic styles to be chosen at random. A non-intersection, belonging to all one territory, is always 0.

The icon format is [N].[B] or [N].b[B]. The number N is described above, but B is a number from 0-3 representing one of the bits, starting clockwise from NW rather than NE because apparently I did not think the system through well the first time. This says which of the territories this icon state belongs to; E.g., 5.0 means we're dealing with the territory that belongs to the northwest corner of a vertical divide. The lowercase b means this icon is a border icon, and has special highlighting.

There are some things I don't like about this format: It is still too blocky, and the icons only come in three limited flavors each. A more organic approach is possible now.

When Incursion starts up, it takes the icon file and does dome operations on it to create missing states (e.g., it does some rotations), then it does shifts so it has icons that are easier to work with in the 32x32 realm without using pixel offsets--because it was first written before pixel offsets. Territory icons are built as combinations of icon operations so that each should contain the exact states needed to show the territory, and Insert() is used so it can all be kept in a nice tight package.
Gooseheaded
Dec 30 2012, 3:14 am
Hey there!

I'm trying to make a game similar to Incursion, and I've noticed that the 'borders' between 'territories' look amazing and randomized and straight up beautiful.

I don't see how to change from a standard 'autojoin' look to something similar to what is seen on Incursion.

If you could, maybe, write an article about it, or just give me a general idea of how it was accomplished somehow, I'd be thankful.

Keep up the good work on BYOND!
OrangeWeapons
Nov 16 2011, 4:02 pm
A request: Please judge the cartridge classic entries by the end of 2011. =)
OrangeWeapons
Oct 30 2011, 1:20 pm
When are Cartridge Classic entries being judged?
Zetaiva
Oct 28 2011, 3:34 pm
Lummox, it's Zetaiva, the one in which posts have been blocked from the front page due to leak/spam. Well, if you'd kindly remove the blockage of my posts I'll assure no more of my prejudicial actions. Thank you.

[See all] [Login to shout]

Subject
Replies
Date
Location
 
I've been in the community one year as of today. Yay! So far I have just one game (incomplete, at that) to show for my …
17
 
This was sent from an uknown sender, apparently to everyone on AOL whose screen name (listed, anyway) starts with …
18
 
This is somewhat related to my other topic, but it's a generalized enough question that I feel this deserves a …
6
 
RaeKwon/Alatar, I'm gonna ask this just once, and I ask it rhetorically: What the heck were you thinking? We've covered …
Page: 1 2
29
 
Last night I got to the first test of my new collision engine, and it's failing miserably. Here's, in a nutshell, how …
0
 
At last report, I was trying to solve an equation: Ax2+2Bxy+Cy2+2Dx+2Ey+F=0 Two equations, actually: The equations are …
Page: 1 2 3
52
 
I present you with my math problem. I'm trying to work out the exact moment in time at which two ellipses will …
Page: 1 2
21
 
I'm working ou tthe initial designs for my next game, which will be more of an action, and I've decided to go with …
6
 
About Wednesday or Thursday the appropriate harmony for the Incursion theme popped into my head, so I was able to use …
19
 
I bring you all my quandary: When I moved to Windows 98 SE two years ago, I lost support for virtually all my old DOS …
6
 
Problem: Because BYOND uses floating point numbers, world.realtime is rounded off to the nearest 6.4 seconds (because …
6
 
I had another brainstorm last night that I'd like some feedback on. People have often suggested a Plague or Nuke card …
2
2
 
I'm presently unable to submit changes to my hub listing for Incursion. If I click the Submit button on the form, I'm …
6
 
I'm looking for a formula that will determine if a text color is too close to the background color, and if so, by how …
0
 
This is my first shot at "symphonizing" the ditty I came up with into the main theme for Incursion. I'd like some …
Page: 1 2
21
 
Today a simple tune popped into my head, that I believe is original, and it's got enough "play" to expand it into a few …
Page: 1 2 3
45
 
In addition to the oft-rerequested features of list.Swap() and list.Insert(), I'd like to propose a new one: …
16
 
Well, I have a slight problem. Right now I'm working on the redeployment interface for Incursion. To move resources …
1
 
In message-type input() boxes, I noticed there's no word wrap. Why is that? Word wrap should be supported by the basic …
4
 
I'm absolutely loving many of the game banners I've seen lately. (Well, not so much the ones for anime-related games, …
Page: 1 2
28
 
As some of you may know, for a while now I've been in the market for a set of water icons for Incursion. I wanted 5 …
Page: 1 2
21
 
I have some plans in the works for future cards to add to the "deck" in Incursion. Right now, as recent players know, …
1
 
It seems to me that smooth motion could be, well, faster. I feel like games that time movement to keep up with the …
3
 
Just thought I'd take the time again to ask for lists to get an Insert(index,value, associated_value) proc and a …
4
 
Aside from icon operations already on the list, I thought I'd throw in a request with this one: Right now, whenever you …
1
 
Last night after seeing my post, babble.13287, buried by that ridiculously extended NAACP thread, it occurred to me …
8
 
I've posted a few times asking for ideas on how to handle various interfaces in Incursion. I figure now's a good time …
0
2
 
I have a small request for a few more CSS attributes to be supported in the text output box: I'd like to be able to set …
0
 
I can't believe I didn't think to mention it sooner, but in all my work with lists I've never seen anything for …
0
 
Listen up, people; Incursion needs your help. I'm presently designing a map-based interface for most actions in …
12
 
Well, Incursion has finally seen some progress on the map generator, so I thought I'd share with you all some of the …
4
 
In the code editor for DreamMaker, I would find a "match brace" command with a Ctrl+Something keyboard shortcut …
3
1
A board game of world conquest
4
 
Having finally seen the film, I was wondering what everyone else (who saw it opening night or earlier) thought of it …
Page: 1 2
28
 
I have a stupid request. Which is to say, very very low priority, don't bother with anything like it for a while; but …
1
 
As some of you now know, I'm working on a board game for BYOND modeled a little bit after Risk. My goal is to end up …
18
 
BYOND's built-in text macros are amazing, but I've been thinking: There are a couple of problems here. One is that …
3
 
Hey, everyone. Just wanted to let those of you who've wondered--those of you who wonder such things, that is--where …
0
 
My current project has nothing to do with leveling or anything. Despite being a bit busy to work on it this week, I …
Page: 1 2
24
0
 
Currently, line numbers appear in debug messages, but unless I actually load my source file in another text editor, …
5
 
I've been doing profiling lately to try to thin out some complicated code in my new game, and noticed something …
1
3
4
 
The idea of picking at random from a list was brought up on Newbie Central, but as a general BYOND feature I think the …
3
 
Having worked with lists a bit, I've discovered that there are a few useful operations that aren't supported, but could …
1
2
Page: 1 2 3 ... 8 9 10 11