This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class script { | |
scene@ g; | |
textfield@ txt; | |
int init_filth; | |
int init_filth_block; | |
int init_enemy; | |
script() { | |
@g = get_scene(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const string EMBED_sound1 = "test1.ogg"; | |
class script { | |
scene@ g; | |
script() { | |
@g = get_scene(); | |
} | |
void build_sounds(message@ msg) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const string EMBED_test1 = "test1.png"; | |
const string EMBED_test2 = "test2.png"; | |
class script { | |
int frame_count; | |
sprites@ spr; | |
script() { | |
frame_count = 0; | |
@spr = create_sprites(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class script { | |
scene@ g; | |
int frame; | |
script() { | |
@g = get_scene(); | |
frame = 0; | |
} | |
void step(int entities) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All Stream Names | |
amb_birds | |
amb_hollow | |
amb_city | |
amb_crickets | |
amb_wind | |
amb_machinery | |
amb_computers | |
amb_rain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int MAX_PLAYERS = 4; | |
class script { | |
scene@ g; | |
array<controllable@> players; | |
script() { | |
@g = get_scene(); | |
players.resize(MAX_PLAYERS); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class script { | |
bool firstFrame; | |
script() { | |
firstFrame = true; | |
} | |
void step(int entities) { | |
if (!firstFrame) { | |
return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int MAX_PLAYERS = 4; | |
class script { | |
/* We don't actually use the scene object in this script, but most will. */ | |
scene@ g; | |
/* Keep track of how much dust we had in the last frame. */ | |
array<int> dust_last; | |
/* Keep track of how much dust we had when the last checkpoint was saved. */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class script { | |
/* We don't actually use the scene object in this script, but most will. */ | |
scene@ g; | |
prop@ p; | |
int frame; | |
int frame_cp; | |
script() { | |
@g = get_scene(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AI_controller | |
ambience_trigger | |
camera_node | |
check_point | |
dust_girl | |
dust_kid | |
dust_man | |
dustmod_entity_tool | |
dust_worth | |
dust_wraith |