Jesper Lundgren
Engine & Tools
Home
Projects
Variable Exposing Island Generator Tale of Stavros Spite: Into the Bog
LinkedIn
Other projects

Tale of Stavros

Take revenge on the monster that destroyed your village, seek the assistance of the gods to be able to get the village to return to normal. Ruins of a village act as your main hub. You are the last survivor of a village that will kill the monster behind the destruction.
Engine People Timeframe Genre
TGA2D
12
5 Programmers
3 Level Designers
4 Graphical Artists
8 weeks (20h/week) Top Down Adventure
Engine TGA2D
People
12
5 Programmers
3 Level Designers
4 Graphical Artists
Timeframe 8 weeks (20h/week)
Genre Top Down Adventure
My main focus was on
  • NPC
  • Text rendering
  • Level loading pipeline with Tiled

The game is available for download on Itch.io

Table of Content
  1. Sprite Font Rendering
    1. Dialog System
  2. Miscellaneous

# Sprite Font Rendering

Tale of Stavros is a pixelated game and as such, a pixelated font is a must! With the text rendering provided by the engine, TGA2D, as awesome it is, I felt that I could not do what I wanted to achieve with it. I wanted a pipeline with customizable text that was easy to use that could perform out of the usual behaviour, such as wavy behaviour. To overcome this problem I created a sprite font rendering system that I had complete control over. Each glyph has its corresponding width and texture coordinates in the font image which are determined in a .json-file.

Sprite font bitmap showing all supported characters.

The sprite font bitmap showing all supported characters.
For readability a shadow has been added. This is not a part of the image.

The text is configurable through pure input (strings).

Amazing [wave=2][color=FFAE00]"SpriteFont"[wave=0][color=FFFFFF] in use

Text displaying <i>"Amazing 'SpriteFont' in use"</i> in which the word "SpriteFont" is wavy.
Text displaying "Amazing 'SpriteFont' in use" in which the word "SpriteFont" is wavy.

Special characters such as buttons can also be written using special character codes.

Press %XBOX-B% to win!

Text displaying "Press <B> to win!".
Text displaying "Press <B> to win!".

# Dialog System

Made a skippable dialog system that makes glyphs "pop in".

Video showcasing the dialog system.

# Miscellaneous

To create smooth room transitions I made a fading screen that fades to black in the direction of the entrance. Supported directions are left, right, up, and down.

Video showcasing room transitions.


Return to the top of this page
Other projects

Home

    • About
    • Highlights

Projects

    • Variable Exposing
    • Island Generator
    • Tale of Stavros
    • Spite: Into the Bog

External resources

    • LinkedIn

Contact

    • contact@noijig.net