fixed conversion errors, game should now compile

This commit is contained in:
magicalfeyfenny 2021-06-29 00:31:54 -04:00
parent f7dbfd3bfc
commit 60bfb17de6
37 changed files with 96 additions and 40 deletions

0
TMoLaD.yyp Executable file → Normal file
View File

4
objects/obj_HUD/Create_0.gml Executable file → Normal file
View File

@ -1,2 +1,6 @@
global.stuffs = 25000 global.stuffs = 25000
moddy = 0;
global.shottype = 0;
global.currentmin = 0;
global.dead = 0;

2
objects/obj_HUD/Draw_0.gml Executable file → Normal file
View File

@ -39,7 +39,7 @@ switch global.RANK
draw_text(950,720,string_hash_to_newline(fps)); draw_text(950,720,string_hash_to_newline(fps));
draw_text(50,720,string_hash_to_newline("Lives:")); draw_text(50,720,string_hash_to_newline("Lives:"));
moddy = 0 moddy = 0
repeat (global.lives) repeat (global.life)
{ {
draw_sprite(spr_lives,0,150+moddy,720); draw_sprite(spr_lives,0,150+moddy,720);
moddy += 50 moddy += 50

0
objects/obj_HUD/obj_HUD.yy Executable file → Normal file
View File

6
objects/obj_advance/Create_0.gml Executable file → Normal file
View File

@ -4,3 +4,9 @@ if !__b__
{ {
action_sound(snd_EisiolsTheme, 1); action_sound(snd_EisiolsTheme, 1);
} }
blah = 0;
delayer = 0;
global.difficulty = 2;
menupos = 0;
tickers = 0;

2
objects/obj_advance/KeyPress_90.gml Executable file → Normal file
View File

@ -13,7 +13,7 @@ if menupos == 1
} }
if menupos == 2 if menupos == 2
{ {
instance_create(0,0,object27); instance_create_depth(0,0, -5, object27);
} }
if menupos == 3 if menupos == 3
{ {

0
objects/obj_advance/obj_advance.yy Executable file → Normal file
View File

2
objects/obj_bossSprite/Alarm_0.gml Executable file → Normal file
View File

@ -25,7 +25,7 @@ if global.bossHP < 17501 and global.bossHP > 4000
{ {
global.bossHP = 17500 global.bossHP = 17500
untouchable = 1 untouchable = 1
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[1] = 60 alarm[1] = 60
alarm[0] = -1 alarm[0] = -1

4
objects/obj_bossSprite/Alarm_1.gml Executable file → Normal file
View File

@ -6,6 +6,7 @@ if global.shottype != 8
global.shottype = 2 global.shottype = 2
if shooting = 1 if shooting = 1
{ {
if (instance_exists( obj_player ) ) {
stuff = instance_create(x,y,obj_bullet_boss_1); stuff = instance_create(x,y,obj_bullet_boss_1);
with (stuff) with (stuff)
{ {
@ -13,6 +14,7 @@ if shooting = 1
speed = 9; speed = 9;
} }
sound_play(snd_themshoot); sound_play(snd_themshoot);
}
alarm[1] = 5-global.RANK; alarm[1] = 5-global.RANK;
} }
if global.bossHP > 17000 if global.bossHP > 17000
@ -21,7 +23,7 @@ if global.bossHP < 17001 and global.bossHP > 4000
{ {
untouchable = 1 untouchable = 1
global.bossHP = 17000 global.bossHP = 17000
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[2] = 120 alarm[2] = 120
alarm[1] = -1 alarm[1] = -1

2
objects/obj_bossSprite/Alarm_10.gml Executable file → Normal file
View File

@ -32,7 +32,7 @@ if global.bossHP < 22501 and global.bossHP > 4000
{ {
global.bossHP = 22500 global.bossHP = 22500
untouchable = 1 untouchable = 1
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[9] = 60 alarm[9] = 60
alarm[10] = -1 alarm[10] = -1

2
objects/obj_bossSprite/Alarm_2.gml Executable file → Normal file
View File

@ -36,7 +36,7 @@ if global.bossHP < 14001 and global.bossHP > 4000
{ {
global.bossHP = 14000 global.bossHP = 14000
untouchable = 1 untouchable = 1
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[3] = 120 alarm[3] = 120
alarm[2] = -1 alarm[2] = -1

4
objects/obj_bossSprite/Alarm_3.gml Executable file → Normal file
View File

@ -27,6 +27,7 @@ if shooting = 1
globs += 1 globs += 1
if globs = 40 if globs = 40
{ {
if ( instance_exists( obj_player ) ) {
repeat (3 + 3*global.RANK){ repeat (3 + 3*global.RANK){
stuff = instance_create(x,y,obj_bullet_boss_4); stuff = instance_create(x,y,obj_bullet_boss_4);
with (stuff) with (stuff)
@ -37,6 +38,7 @@ if shooting = 1
} }
global.gods += 1 global.gods += 1
} }
}
global.gods = 0 global.gods = 0
globs = 0; globs = 0;
} }
@ -48,7 +50,7 @@ if global.bossHP < 12001 and global.bossHP > 4000
{ {
untouchable = 1 untouchable = 1
global.bossHP = 12000 global.bossHP = 12000
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[4] = 120 alarm[4] = 120
alarm[3] = -1 alarm[3] = -1

2
objects/obj_bossSprite/Alarm_4.gml Executable file → Normal file
View File

@ -29,7 +29,7 @@ if global.bossHP < 9001 and global.bossHP > 4000
{ {
global.bossHP = 9000 global.bossHP = 9000
untouchable = 1 untouchable = 1
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
__background_set( e__BG.Visible, 1, false ) __background_set( e__BG.Visible, 1, false )
alarm[5] = 120 alarm[5] = 120

2
objects/obj_bossSprite/Alarm_5.gml Executable file → Normal file
View File

@ -36,7 +36,7 @@ if global.bossHP < 6001 and global.bossHP > 4000
{ {
global.bossHP = 6000 global.bossHP = 6000
untouchable = 1 untouchable = 1
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[6] = 120 alarm[6] = 120
alarm[5] = -1 alarm[5] = -1

2
objects/obj_bossSprite/Alarm_6.gml Executable file → Normal file
View File

@ -24,7 +24,7 @@ if global.bossHP < 4500 and global.bossHP > 4000
{ {
global.bossHP = 4500 global.bossHP = 4500
untouchable = 1 untouchable = 1
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[7] = 120 alarm[7] = 120
alarm[6] = -1 alarm[6] = -1

2
objects/obj_bossSprite/Alarm_8.gml Executable file → Normal file
View File

@ -25,7 +25,7 @@ if global.bossHP < 17501 and global.bossHP > 4000
{ {
global.bossHP = 17500 global.bossHP = 17500
untouchable = 1 untouchable = 1
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[1] = 60 alarm[1] = 60
alarm[0] = -1 alarm[0] = -1

2
objects/obj_bossSprite/Alarm_9.gml Executable file → Normal file
View File

@ -44,7 +44,7 @@ if global.bossHP < 20001 and global.bossHP > 4000
{ {
global.bossHP = 20000 global.bossHP = 20000
untouchable = 1 untouchable = 1
global.lives += 1 global.life += 1
sound_play(snd_attackcomplete) sound_play(snd_attackcomplete)
alarm[0] = 60 alarm[0] = 60
alarm[9] = -1 alarm[9] = -1

28
objects/obj_bossSprite/Create_0.gml Executable file → Normal file
View File

@ -6,3 +6,31 @@ global.bossHP = 25000;
alarm[11] = 15 alarm[11] = 15
global.RANK = global.difficulty; global.RANK = global.difficulty;
blocks = 0;
untouchable = 0;
prevhp = 0;
blah = 0;
moving = 0;
possible = 0;
dirs = 0;
mult = 0;
multgrav = 0;
typo = 0;
shooting = 0;
erase = 0;
talks = 0;
global.steppers = 0;
wara = 0;
global.blanks = 0;
global.wara = 0;
global.rotator = 0;
global.ero = 0;
global.modos = 0;
global.turner = 0;
global.mods = 0;
globs = 0;
global.gods = 0;
global.roms = 0;
global.romsb = 0;
global.send = 0;
global.directs = 0;

2
objects/obj_bossSprite/Step_0.gml Executable file → Normal file
View File

@ -31,6 +31,7 @@ if moving <= 0 and possible = 1
{ {
movex = x-100+irandom(200) movex = x-100+irandom(200)
movey = y-20+irandom(40) movey = y-20+irandom(40)
if (instance_exists(obj_player) ) {
if (movex < x and x > obj_player.x) or (movex > x and x < obj_player.x) if (movex < x and x > obj_player.x) or (movex > x and x < obj_player.x)
{ {
if movey > 300 if movey > 300
@ -52,6 +53,7 @@ if moving <= 0 and possible = 1
moving = 20 moving = 20
move_towards_point(movex,movey,3); move_towards_point(movex,movey,3);
} }
}
friction = .05 friction = .05
} }

0
objects/obj_bossSprite/obj_bossSprite.yy Executable file → Normal file
View File

1
objects/obj_bullet_boss_1/Create_0.gml Executable file → Normal file
View File

@ -1,2 +1,3 @@
image_xscale = 2 image_xscale = 2
stuffs = 0;

0
objects/obj_bullet_boss_1/obj_bullet_boss_1.yy Executable file → Normal file
View File

5
objects/obj_bullet_boss_11/Create_0.gml Executable file → Normal file
View File

@ -1,2 +1,7 @@
speed = 6; speed = 6;
action_set_friction(.125); action_set_friction(.125);
tacos = 0;
global.qwerty = 0;
qqq = 0;
jumps = 0;

0
objects/obj_bullet_boss_11/obj_bullet_boss_11.yy Executable file → Normal file
View File

2
objects/obj_bullet_player/Destroy_0.gml Executable file → Normal file
View File

@ -1 +1 @@
action_create_object_motion(obj_bullet_boss_particle, x, y, 2, -direction -50+ random(100)); action_create_object_motion(obj_bullet_boss_particle, 0, 0, 2, -direction -50+ random(100));

0
objects/obj_bullet_player/obj_bullet_player.yy Executable file → Normal file
View File

3
objects/obj_player/Create_0.gml Executable file → Normal file
View File

@ -1,2 +1,5 @@
invuln = 300; invuln = 300;
swap = 1; swap = 1;
stuffsooo = 0;
blah = 0;

4
objects/obj_player/Destroy_0.gml Executable file → Normal file
View File

@ -1,7 +1,7 @@
action_set_relative(1); action_set_relative(1);
global.lives += -1; global.life += -1;
var __b__; var __b__;
__b__ = action_if_variable(global.lives, -1, 0); __b__ = action_if_variable(global.life, -1, 0);
if __b__ if __b__
{ {
{ {

0
objects/obj_player/obj_player.yy Executable file → Normal file
View File

3
objects/obj_talker/Create_0.gml Executable file → Normal file
View File

@ -1,3 +1,6 @@
ticker = 0;
if ticker < 1 if ticker < 1
sound_play(snd_MysteriousBeing); sound_play(snd_MysteriousBeing);
blah = 0;

0
objects/obj_talker/obj_talker.yy Executable file → Normal file
View File

2
objects/object24/Destroy_0.gml Executable file → Normal file
View File

@ -1,5 +1,5 @@
var __b__; var __b__;
__b__ = action_if_variable(global.lives, -1, 2); __b__ = action_if_variable(global.life, -1, 2);
if __b__ if __b__
{ {
action_create_object(obj_player, 512, 608); action_create_object(obj_player, 512, 608);

4
objects/object27/Draw_0.gml Executable file → Normal file
View File

@ -1,6 +1,6 @@
tickers = 75
draw_set_color(c_white) draw_set_color(c_white)
draw_set_alpha(tickers/100) draw_set_alpha(.75)
draw_rectangle(-1,-1,1024,768,false); draw_rectangle(-1,-1,1024,768,false);
draw_set_alpha(1); draw_set_alpha(1);
draw_set_color(c_black); draw_set_color(c_black);

0
objects/object27/object27.yy Executable file → Normal file
View File

2
rooms/rm_game/RoomCreationCode.gml Executable file → Normal file
View File

@ -1 +1 @@
global.lives = 2 global.life = 2

2
rooms/rm_game/rm_game.yy Executable file → Normal file
View File

@ -32,7 +32,7 @@
{"spriteId":{"name":"background0","path":"sprites/background0/background0.yy",},"colour":4294967295,"x":0,"y":0,"htiled":true,"vtiled":true,"hspeed":-2.0,"vspeed":-2.0,"stretch":false,"animationFPS":1.0,"animationSpeedType":1,"userdefinedAnimFPS":false,"visible":false,"depth":2147483500,"userdefinedDepth":true,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Compatibility_Background_0_background0","tags":[],"resourceType":"GMRBackgroundLayer",}, {"spriteId":{"name":"background0","path":"sprites/background0/background0.yy",},"colour":4294967295,"x":0,"y":0,"htiled":true,"vtiled":true,"hspeed":-2.0,"vspeed":-2.0,"stretch":false,"animationFPS":1.0,"animationSpeedType":1,"userdefinedAnimFPS":false,"visible":false,"depth":2147483500,"userdefinedDepth":true,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Compatibility_Background_0_background0","tags":[],"resourceType":"GMRBackgroundLayer",},
], ],
"inheritLayers": false, "inheritLayers": false,
"creationCodeFile": "RoomCreationCode.gml", "creationCodeFile": "${project_dir}/rooms/rm_game/RoomCreationCode.gml",
"inheritCode": false, "inheritCode": false,
"instanceCreationOrder": [ "instanceCreationOrder": [
{"name":"inst_DE361DDB","path":"rooms/rm_game/rm_game.yy",}, {"name":"inst_DE361DDB","path":"rooms/rm_game/rm_game.yy",},

2
sprites/sprite22/sprite22.yy Executable file → Normal file
View File

@ -44,7 +44,7 @@
{"id":"1f6038ea-bf4f-40d6-b9dc-9ce5206a381b","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"f36ff6a5-1fd5-40b7-a46d-9014b212d46c","path":"sprites/sprite22/sprite22.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",}, {"id":"1f6038ea-bf4f-40d6-b9dc-9ce5206a381b","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"f36ff6a5-1fd5-40b7-a46d-9014b212d46c","path":"sprites/sprite22/sprite22.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
],"resourceVersion":"1.0","resourceType":"KeyframeStore<SpriteFrameKeyframe>",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",}, ],"resourceVersion":"1.0","resourceType":"KeyframeStore<SpriteFrameKeyframe>",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",},
], ],
"visibleRange": {"x":0.0,"y":0.0,}, "visibleRange": null,
"lockOrigin": false, "lockOrigin": false,
"showBackdrop": true, "showBackdrop": true,
"showBackdropImage": false, "showBackdropImage": false,