fixed 'treat uninitialized variables as 0' errors from conversion, added README.md

This commit is contained in:
magicalfeyfenny 2021-06-17 02:58:58 -04:00
parent 1ea7d036be
commit 7f5a9f8a34
20 changed files with 51 additions and 32 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
escape from the wintry fortress
===
my ludum dare 21 entry converted to gamemaker studio 2 format

View File

@ -0,0 +1 @@
tacos = 0;

View File

@ -18,7 +18,8 @@
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"parent":{"name":"obj_HUD","path":"objects/obj_HUD/obj_HUD.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],

View File

@ -4,4 +4,5 @@ gravity_direction = 270
vspeed = -1.875 + random(.25) vspeed = -1.875 + random(.25)
orig_y = y orig_y = y
hspeed = random(.5) - .25; hspeed = random(.5) - .25;
tested = 0;

View File

@ -21,8 +21,8 @@
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"obj_ef_cartridge","path":"objects/obj_ef_cartridge/obj_ef_cartridge.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"parent":{"name":"obj_ef_cartridge","path":"objects/obj_ef_cartridge/obj_ef_cartridge.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],

View File

@ -1,3 +1,5 @@
// Inherit the parent event
event_inherited();
life = 1000; life = 1000;
direction = 359; direction = 359;

View File

@ -24,10 +24,10 @@
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"obj_enemy_boss","path":"objects/obj_enemy_boss/obj_enemy_boss.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":1,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":1,"collisionObjectId":null,"parent":{"name":"obj_enemy_boss","path":"objects/obj_enemy_boss/obj_enemy_boss.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"parent":{"name":"obj_enemy_boss","path":"objects/obj_enemy_boss/obj_enemy_boss.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"parent":{"name":"obj_enemy_boss","path":"objects/obj_enemy_boss/obj_enemy_boss.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],

View File

@ -1,4 +1,9 @@
life = 250; life = 250;
hit = 0;
direction = 350; direction = 350;
alarms = 0;
sounder = 0;
hit = 0;
shots = 0;
lnp_x = 0;
lnp_y = 0;

View File

@ -1,4 +1,4 @@
if hit = 1 if hit == 1
{ {
life -= 100 life -= 100
if alarms = 0 if alarms = 0
@ -136,4 +136,4 @@ if (place_meeting(x,y+vspeed,obj_walls))
vspeed = 0; vspeed = 0;
} }
image_index = round(direction / 360 * 16); image_index = round(direction / 360 * 16);

View File

@ -1,4 +1,4 @@
life = 250; // Inherit the parent event
direction = 180; event_inherited();
direction = 180;

View File

@ -24,7 +24,7 @@
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"obj_enemy_mook_180deg","path":"objects/obj_enemy_mook_180deg/obj_enemy_mook_180deg.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],

View File

@ -1,3 +1,4 @@
life = 250; // Inherit the parent event
direction = 270; event_inherited();
direction = 270;

View File

@ -24,7 +24,7 @@
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"obj_enemy_mook_270deg","path":"objects/obj_enemy_mook_270deg/obj_enemy_mook_270deg.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],

View File

@ -1,3 +1,4 @@
life = 250; // Inherit the parent event
direction = 359; event_inherited();
direction = 0;

View File

@ -24,7 +24,7 @@
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"obj_enemy_mook_359deg","path":"objects/obj_enemy_mook_359deg/obj_enemy_mook_359deg.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],

View File

@ -1,3 +1,4 @@
life = 250; // Inherit the parent event
direction = 90; event_inherited();
direction = 90;

View File

@ -24,7 +24,7 @@
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"obj_enemy_mook_90deg","path":"objects/obj_enemy_mook_90deg/obj_enemy_mook_90deg.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],

View File

@ -0,0 +1 @@
tacos = 0;

View File

@ -18,8 +18,9 @@
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"parent":{"name":"obj_mimsy","path":"objects/obj_mimsy/obj_mimsy.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":90,"eventType":9,"collisionObjectId":null,"parent":{"name":"obj_mimsy","path":"objects/obj_mimsy/obj_mimsy.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":90,"eventType":9,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],

View File

@ -3,4 +3,5 @@ global.ammos = 14;
global.clips = 3; global.clips = 3;
friction = .5; friction = .5;
shot = 0; shot = 0;
reloading = 0;