Lummox JR

Joined: Sep 1 2001

Home page

BYOND developer, author, and future beloved supervillain


Sep 10 2014, 4:53 pm
Any plans on re-uploading Incursion for playability?
Lummox JR
Jul 1 2013, 12:14 pm
Writing A New One wrote:
For those without an Amazon account that are too lazy to make one but wish to purchase your e-books, can it be sent through PayPal?

Amazon doesn't take PayPal. You'd need to create an account. However if you don't have a credit card to link up, all is not lost; Amazon lets you link a bank account for e-check payment, or you can visit any Coinstar and get a gift card for your change. (Coinstar doesn't charge a fee when you use it to get a gift card.)
Writing A New One
Jul 1 2013, 11:25 am
For those without an Amazon account that are too lazy to make one but wish to purchase your e-books, can it be sent through PayPal?
Jun 12 2013, 12:50 pm
150th fan heu heu
Lummox JR
Jan 7 2013, 10:14 am
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.

[See all] [Login to shout]

Lummox JR's Games
A board game of world conquest
Re: About Incursion
A tiny little RPG
Re: About Runt
Scream of the Stickster Volume II: The Crayon Massacre
Even sketchier mayhem! More weapons, more ways to play, more ways to gruesomely perish!
Lummox JR's Demos
Utility: Create a set of autojoiner icons from source icons you supply.
Re: About IconCutter
Runt Source
The source code to a tiny little RPG
Re: About Runt Source
Second HUD
See how to use BYOND's multiple HUD feature
Sound Playground
Find the right soundscape for your game
About Sound Playground
Stickster Source
Source code for Scream of the Stickster (BYONDscape 4K Challenge 2002)
About Stickster Source
Lummox JR's Libraries
Are You Sure?
Confirmation dialogs made easy
About Are You Sure?
An advanced text-on-map library
About DmiFonts
An advanced text-on-map library for BYOND 4.0
Re: About DmiFontsPlus
Create friendly HTML file selection popups
About EasyFiles
Create custom-colored icons and cache them to reuse as needed.
Re: Dynamic icon coloring
A library for manipulating icons and colors
Re: About IconProcs
Easy locking mechanism for doors, containers, and rooms
About JRlock
A regular expression library for DM
About Regex
An extensible smiley library
About SmileyPlus
Load, save, and reuse temporary maps for unlimited worlds
Syntax Highlighter
Highlight DM code in easy HTML output for chat or CGI applications
Re: About Syntax Highlighter
JRUtils - Numbers
Helpful procs for using numbers in text
Re: JRUtils - Numbers
A configurable name generator based on Werd
About sWerd