texit.app

A few example programs using texit. Just run dub build with one of the follwing versions to see them

  • HelloWorld
  • RandomCharacters
  • ScrollingZooming
  • AudioExample

Members

Functions

beat
float beat(float v)
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin Texit!("qbicfeet_10x10.png", 10, 2, 64, 32, 64, 32, "Hello World")
Undocumented in source.
__anonymous
mixin Texit!("qbicfeet_10x10.png", 10, 2, 64, 32, 64, 32, "Random Characters")
Undocumented in source.
__anonymous
mixin Texit!("qbicfeet_10x10.png", 10, 2, 128, 64, 64, 32, "Scrolling & Zooming")
Undocumented in source.
__anonymous
mixin Texit!("qbicfeet_10x10.png", 10, 2, 128, 64, 64, 32, "Audio Example")
Undocumented in source.
__anonymous
mixin Texit!("qbicfeet_10x10.png", 10, 2, 64, 32, 64, 32, "Image Example")
Undocumented in source.

Mixed In Members

From mixin Texit!("qbicfeet_10x10.png", 10, 2, 64, 32, 64, 32, "Hello World")

WIDTH
enum WIDTH;
Undocumented in source.
HEIGHT
enum HEIGHT;
Undocumented in source.
WORLD_WIDTH
enum WORLD_WIDTH;
Undocumented in source.
WW
alias WW = WORLD_WIDTH
Undocumented in source.
WORLD_HEIGHT
enum WORLD_HEIGHT;
Undocumented in source.
WH
alias WH = WORLD_HEIGHT
Undocumented in source.
window
SimpleWindow window;
Undocumented in source.
world
Tile[worldHeight][worldWidth] world;

The world

chars
bool[charSize][charSize][256] chars;

Bitmap of each character

start
SysTime start;

When the program was started

aot
AudioOutputThread* aot;
Undocumented in source.
offset
float offset;

Offset to start at

Event
class Event

Represents single thing that can appear or happen on the screen

events
Event[] events;

List of events queued

queue
void queue(Event e)

Queues an event

audio
void audio(string path)

Plays OGG audio

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text onto the screen

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text with an event

puts
void puts(int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text without an event

TextEvent
class TextEvent

Simple event to place text onto the screen at a given time

TypeTextEvent
class TypeTextEvent

Types text onto the screen. Doesn't play well with easings that go backwards (easeBack, easeBounce)

FlashingTextEvent
class FlashingTextEvent

Flashing text.

BoxEvent
class BoxEvent

Creates a box using the +, -, and | characters

mapBetween
float mapBetween(float x, float min0, float max0, float min1, float max1)
Undocumented in source. Be warned that the author may not have intended to support it.
TranslationEvent
class TranslationEvent

Translates the screen from an origin to a destination over an amount of time

ZoomEvent
class ZoomEvent

Changes zoom level by one value to another over an amount of time

textures
uint[1000] textures;
Undocumented in source.
main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

From mixin Texit!("qbicfeet_10x10.png", 10, 2, 64, 32, 64, 32, "Random Characters")

WIDTH
enum WIDTH;
Undocumented in source.
HEIGHT
enum HEIGHT;
Undocumented in source.
WORLD_WIDTH
enum WORLD_WIDTH;
Undocumented in source.
WW
alias WW = WORLD_WIDTH
Undocumented in source.
WORLD_HEIGHT
enum WORLD_HEIGHT;
Undocumented in source.
WH
alias WH = WORLD_HEIGHT
Undocumented in source.
window
SimpleWindow window;
Undocumented in source.
world
Tile[worldHeight][worldWidth] world;

The world

chars
bool[charSize][charSize][256] chars;

Bitmap of each character

start
SysTime start;

When the program was started

aot
AudioOutputThread* aot;
Undocumented in source.
offset
float offset;

Offset to start at

Event
class Event

Represents single thing that can appear or happen on the screen

events
Event[] events;

List of events queued

queue
void queue(Event e)

Queues an event

audio
void audio(string path)

Plays OGG audio

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text onto the screen

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text with an event

puts
void puts(int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text without an event

TextEvent
class TextEvent

Simple event to place text onto the screen at a given time

TypeTextEvent
class TypeTextEvent

Types text onto the screen. Doesn't play well with easings that go backwards (easeBack, easeBounce)

FlashingTextEvent
class FlashingTextEvent

Flashing text.

BoxEvent
class BoxEvent

Creates a box using the +, -, and | characters

mapBetween
float mapBetween(float x, float min0, float max0, float min1, float max1)
Undocumented in source. Be warned that the author may not have intended to support it.
TranslationEvent
class TranslationEvent

Translates the screen from an origin to a destination over an amount of time

ZoomEvent
class ZoomEvent

Changes zoom level by one value to another over an amount of time

textures
uint[1000] textures;
Undocumented in source.
main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

From mixin Texit!("qbicfeet_10x10.png", 10, 2, 128, 64, 64, 32, "Scrolling & Zooming")

WIDTH
enum WIDTH;
Undocumented in source.
HEIGHT
enum HEIGHT;
Undocumented in source.
WORLD_WIDTH
enum WORLD_WIDTH;
Undocumented in source.
WW
alias WW = WORLD_WIDTH
Undocumented in source.
WORLD_HEIGHT
enum WORLD_HEIGHT;
Undocumented in source.
WH
alias WH = WORLD_HEIGHT
Undocumented in source.
window
SimpleWindow window;
Undocumented in source.
world
Tile[worldHeight][worldWidth] world;

The world

chars
bool[charSize][charSize][256] chars;

Bitmap of each character

start
SysTime start;

When the program was started

aot
AudioOutputThread* aot;
Undocumented in source.
offset
float offset;

Offset to start at

Event
class Event

Represents single thing that can appear or happen on the screen

events
Event[] events;

List of events queued

queue
void queue(Event e)

Queues an event

audio
void audio(string path)

Plays OGG audio

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text onto the screen

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text with an event

puts
void puts(int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text without an event

TextEvent
class TextEvent

Simple event to place text onto the screen at a given time

TypeTextEvent
class TypeTextEvent

Types text onto the screen. Doesn't play well with easings that go backwards (easeBack, easeBounce)

FlashingTextEvent
class FlashingTextEvent

Flashing text.

BoxEvent
class BoxEvent

Creates a box using the +, -, and | characters

mapBetween
float mapBetween(float x, float min0, float max0, float min1, float max1)
Undocumented in source. Be warned that the author may not have intended to support it.
TranslationEvent
class TranslationEvent

Translates the screen from an origin to a destination over an amount of time

ZoomEvent
class ZoomEvent

Changes zoom level by one value to another over an amount of time

textures
uint[1000] textures;
Undocumented in source.
main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

From mixin Texit!("qbicfeet_10x10.png", 10, 2, 128, 64, 64, 32, "Audio Example")

WIDTH
enum WIDTH;
Undocumented in source.
HEIGHT
enum HEIGHT;
Undocumented in source.
WORLD_WIDTH
enum WORLD_WIDTH;
Undocumented in source.
WW
alias WW = WORLD_WIDTH
Undocumented in source.
WORLD_HEIGHT
enum WORLD_HEIGHT;
Undocumented in source.
WH
alias WH = WORLD_HEIGHT
Undocumented in source.
window
SimpleWindow window;
Undocumented in source.
world
Tile[worldHeight][worldWidth] world;

The world

chars
bool[charSize][charSize][256] chars;

Bitmap of each character

start
SysTime start;

When the program was started

aot
AudioOutputThread* aot;
Undocumented in source.
offset
float offset;

Offset to start at

Event
class Event

Represents single thing that can appear or happen on the screen

events
Event[] events;

List of events queued

queue
void queue(Event e)

Queues an event

audio
void audio(string path)

Plays OGG audio

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text onto the screen

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text with an event

puts
void puts(int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text without an event

TextEvent
class TextEvent

Simple event to place text onto the screen at a given time

TypeTextEvent
class TypeTextEvent

Types text onto the screen. Doesn't play well with easings that go backwards (easeBack, easeBounce)

FlashingTextEvent
class FlashingTextEvent

Flashing text.

BoxEvent
class BoxEvent

Creates a box using the +, -, and | characters

mapBetween
float mapBetween(float x, float min0, float max0, float min1, float max1)
Undocumented in source. Be warned that the author may not have intended to support it.
TranslationEvent
class TranslationEvent

Translates the screen from an origin to a destination over an amount of time

ZoomEvent
class ZoomEvent

Changes zoom level by one value to another over an amount of time

textures
uint[1000] textures;
Undocumented in source.
main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

From mixin Texit!("qbicfeet_10x10.png", 10, 2, 64, 32, 64, 32, "Image Example")

WIDTH
enum WIDTH;
Undocumented in source.
HEIGHT
enum HEIGHT;
Undocumented in source.
WORLD_WIDTH
enum WORLD_WIDTH;
Undocumented in source.
WW
alias WW = WORLD_WIDTH
Undocumented in source.
WORLD_HEIGHT
enum WORLD_HEIGHT;
Undocumented in source.
WH
alias WH = WORLD_HEIGHT
Undocumented in source.
window
SimpleWindow window;
Undocumented in source.
world
Tile[worldHeight][worldWidth] world;

The world

chars
bool[charSize][charSize][256] chars;

Bitmap of each character

start
SysTime start;

When the program was started

aot
AudioOutputThread* aot;
Undocumented in source.
offset
float offset;

Offset to start at

Event
class Event

Represents single thing that can appear or happen on the screen

events
Event[] events;

List of events queued

queue
void queue(Event e)

Queues an event

audio
void audio(string path)

Plays OGG audio

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text onto the screen

puts
void puts(Event e, int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text with an event

puts
void puts(int x, int y, float[3] bg, float[3] fg, string text, bool replace)

Puts text without an event

TextEvent
class TextEvent

Simple event to place text onto the screen at a given time

TypeTextEvent
class TypeTextEvent

Types text onto the screen. Doesn't play well with easings that go backwards (easeBack, easeBounce)

FlashingTextEvent
class FlashingTextEvent

Flashing text.

BoxEvent
class BoxEvent

Creates a box using the +, -, and | characters

mapBetween
float mapBetween(float x, float min0, float max0, float min1, float max1)
Undocumented in source. Be warned that the author may not have intended to support it.
TranslationEvent
class TranslationEvent

Translates the screen from an origin to a destination over an amount of time

ZoomEvent
class ZoomEvent

Changes zoom level by one value to another over an amount of time

textures
uint[1000] textures;
Undocumented in source.
main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta