TUXDB - LINUX GAMING AGGREGATE
by NuSuey
NEWSFEED
▪️ GAMES
▪️ STEAM DECK ▪️ DEALS ▪️ CROWDFUNDING ▪️ COMMUNITY
tuxdb.com logo
Support tuxDB on Patreon
Currently supported by 8 awesome people!

🌟 Special thanks to our amazing supporters:


✨ $10 Tier: [Geeks Love Detail]
🌈 $5 Tier: [Arch Toasty][Benedikt][David Martínez Martí]


Creating graphics for Airships

There are two purposes to this blog post: one is to explain in detail how the lighting system works in Airships, and the other is to show you how to create graphics for the game that are in the same style as the rest. Graphics in Airships are composed of two parts: the spritesheet and the bump map. The spritesheet image determines the basic colours of the image, while the bump map determines how they are lit up by light sources in-game. Here's an example: The spritesheet image of a light wooden armour tile:
Its bump map, and each of the three colour channels in it:



Different ways it can look like in-game:



Note that the spritesheet image is literally just a brown square. All the texture in-game comes from the bump map. The bump map stores three pieces of information for each pixel: whether the surface is facing up or down, whether it's facing left or right, and how shiny the surface is. This information is stored in the red, green and blue colour channels of the image. For example, the redder a pixel is, the more strongly it gets lit up by light from above. The game's graphics only use three values for the blue shinyness channel:


  • 128: shiny metallic things

  • 92: normal things

  • 48: dull or recessed things
And they use five values each for the red and green channels. Red:

  • 255: pointing straight up

  • 192: pointing slightly up

  • 128: pointing towards the player

  • 64: pointing slightly down

  • 0: pointing straight down
Green:

  • 255: pointing straight left

  • 192: pointing slightly left

  • 128: pointing towards the player

  • 64: pointing slightly right

  • 0: pointing straight right
For example, a metal box:
could have the following bump map:
The box is a more bluish colour than the surrounding area, because it's made of metal. Its top is more red, because it's facing upwards, its bottom is less red, its left is more green, and its right is less green. Or the same image could be a cylinder with this bump map:
The best way to work with Airships' graphics is to install the GIMP image editor( (yes, that's its name) and use the mod graphics template file for it. This lets you easily edit each colour channel of the bump map separately and then combine them. But i that whole talk of channels doesn't make sense, you can also just think of the bump map as a simple image with a set of colours. Here is a complete overview of the colour values that appear on bump maps:
So to create a properly lit piece of art for Airships, you need to create both a 1024x1024 pixel spritesheet and a bump map of the same size that tells the game how to light the spritesheet. Beyond that, if you want the graphics to fit with the rest of the game, you should use the game's graphics palette:
This is a fairly simple palette, but remember: these are only the base colours of things. All the light and shadow in the game derives from the bump map. So, for example, if you want to make a machine with some panels, don't draw this:
Draw this:
And then use this bump map, and the lighting system will take care of it:
One last thing needs covering: fragment maps. These are specific to module and armour tile graphics and are used to indicate how a module or tile will break apart into pieces. Each contiguous area of the same colour turns into one fragment, and white areas are ignored. So, for example, if the machine from above has a fragment map like this:
it will break apart into two halves, with the tank going one way and the machine going the other. Or if the fragment map is like like this:
its panels will fall off independently, the rest of the machine will shatter into bits, and the tank will break in half. Adding fragment maps to your modules will make destroying them look way more awesome, which is why you should do it.
Once you have these three images for your mod, you combine them into a "Spritesheet Bundle", by creating a file in your mod's SpritesheetBundle directory that looks something like this:
More on that in this tutorial video. I hope this was a useful infodump. Go forth and mod, and feel free to message me with questions!


[ 2016-03-21 12:55:13 CET ] [ Original post ]



Airships: Conquer the Skies
David Stark
  • Developer

  • David Stark
  • Publisher

  • 2018-08-16
  • Release

  • Action Indie Strategy Singleplayer Multiplayer
  • Tags

  • Game News Posts 306  
    🎹🖱️Keyboard + Mouse
  • Controls

  • Overwhelmingly Positive

    (5250 reviews)


  • Review Score

  • http://www.zarkonnen.com/airships/
  • Website

  • https://store.steampowered.com/app/342560 
  • Steam Store

  • The Game includes VR Support



    Airships Linux 53 [139.2 M]Airships Linux 64 [545.79 M]

  • Public Linux depots

  • Airships: Conquer the Skies - Soundtrack
    Airships: Heroes and Villains
  • Available DLCs

  • Design steampunk pixel airships out of functional modules and conquer the skies!

    In the game, ships are viewed side-on, and their modules are operated by individual crew members. During combat, players give high-level commands to a small fleet, positioning their ships, ramming and boarding others. Ships and terrain are fully destructible: they can catch fire, explode, break apart, and fall. Players can also compete against one another in Internet and LAN matches.

    The ships are highly detailed, teeming with sailors moving around at their individual tasks, like an ant farm or a cut-away drawing. The player's choices in ship layout are crucial, and an important part of the game is exploring the design space of different airships and their matching tactics.
    MINIMAL SETUP
    • OS: Ubuntu/Debian/Mint
    • Processor: 1.8 Ghz+Memory: 256 MB RAM
    • Memory: 256 MB RAM
    • Graphics: 1 GB VRAM+
    • Storage: 1 GB available spaceAdditional Notes: Not currently compatible with Intel HD graphics controllers. May run on other Linux distros. but no guarantees.
    RECOMMENDED SETUP
    • OS: Ubuntu/Debian/Mint
    • Processor: 2.2Ghz+ Dual-coreMemory: 2 GB RAM
    • Memory: 2 GB RAM
    • Graphics: 2 GB VRAM+Network: Broadband Internet connection
    • Storage: 1 GB available spaceAdditional Notes: Not currently compatible with Intel HD graphics controllers. May run on other Linux distros. but no guarantees.
    GAMEBILLET

    [ 5951 ]

    8.19$ (18%)
    4.39$ (78%)
    3.67$ (8%)
    14.58$ (51%)
    16.95$ (15%)
    3.81$ (81%)
    3.99$ (20%)
    0.68$ (86%)
    7.87$ (61%)
    49.79$ (17%)
    5.00$ (75%)
    1.41$ (86%)
    7.35$ (8%)
    12.29$ (18%)
    12.99$ (48%)
    15.29$ (39%)
    2.00$ (80%)
    20.49$ (18%)
    4.12$ (17%)
    9.78$ (61%)
    24.87$ (17%)
    8.27$ (17%)
    8.12$ (46%)
    7.64$ (15%)
    5.92$ (15%)
    37.79$ (16%)
    2.15$ (78%)
    8.99$ (40%)
    8.25$ (17%)
    12.59$ (16%)
    GAMERSGATE

    [ 3198 ]

    5.5$ (75%)
    2.63$ (62%)
    11.99$ (40%)
    0.68$ (92%)
    1.13$ (92%)
    2.25$ (89%)
    2.03$ (89%)
    1.5$ (75%)
    1.13$ (89%)
    3.0$ (85%)
    0.38$ (92%)
    14.29$ (43%)
    8.0$ (60%)
    0.56$ (81%)
    2.55$ (83%)
    1.05$ (85%)
    2.5$ (50%)
    6.6$ (67%)
    0.56$ (81%)
    7.49$ (25%)
    4.5$ (62%)
    2.25$ (85%)
    4.4$ (78%)
    4.05$ (73%)
    0.85$ (91%)
    13.99$ (30%)
    12.0$ (70%)
    1.2$ (85%)
    2.64$ (78%)
    17.99$ (40%)

    FANATICAL BUNDLES

    Time left:

    1 days, 4 hours, 39 minutes


    Time left:

    24 days, 4 hours, 39 minutes


    Time left:

    6 days, 4 hours, 39 minutes


    Time left:

    37 days, 4 hours, 39 minutes


    Time left:

    43 days, 4 hours, 39 minutes


    HUMBLE BUNDLES

    Time left:

    3 days, 22 hours, 39 minutes


    Time left:

    3 days, 22 hours, 39 minutes


    Time left:

    12 days, 22 hours, 39 minutes


    Time left:

    19 days, 22 hours, 39 minutes

    by buying games/dlcs from affiliate links you are supporting tuxDB
    🔴 LIVE