Current branch: template
You can switch to main branch to get my game source
A game compilation of my self-made Undertale fangames
Also a open-source template based on UNDERTALE Engine by TML
Use the latest release version of GameMaker to open yyp file
Gamejolt page:
https://gamejolt.com/games/Undergame-Engine/783903
Edit the macro LOCK_LANGUAGE in the project to corresponding language can lock the language
Insert Switch Debug
~ Console
Home Undead mode
Delete Change turn
End overworld(switch block, trigger, landmark visible) battle(switch bone.out)
PageUp Start Shop
PageDown Encounter Battle
Space Pause game
Plus HP+
Minus HP-
L Ctrl LV-
R Ctrl LV+
keypad0 red soul
keypad1 blue soul
keypad2 aqua soul
keypad3 orange soul
keypad4 yellow soul
keypad5 green soul
keypad1+2 blue+aqua soul
keypad2+3 aqua+orange soul
keypad4+2 yellow+aqua soul
keypad4+3 yellow+orange soul
keypad4+2+3 yellow+aqua+orange soul
keypad5+2 green+aqua soul
L Alt anti-clockwise rotate screen
R Alt clockwise rotate screen
Middle mouse button Reset screen rotate
Front mouse sidekey Next room
Back mouse sidekey Previous room
S Shown saving menu (invalid while blue soul or blue+aqua soul)
L Load save
F Set Save Slot
Tab switch window size (1x/1.5x/2x)
F3 goto room
F5 switch language
F6 End turn
F7 change turn timer (Battle_SetTurnTime)
F8 change turn timer (battle_turn.timer)
F9 stop all audio
F12 switch mode
WASD dir setting of blue soul and blue+aqua soul
Bone (battle_bullet_bone) By SheepYhangCN
Battle_MakeMenuBone By SheepYhangCN Edited based on Battle_MakeBone
Battle_MakeBone series By OneZhazha
Battle_MakeBoneWall series By OneZhazha
bone_box By SheepYhangCN
Battle_MakeBoneWallRound By SheepYhangCN
battle_bone_rd & oRoundBone By Unknown
Battle_MakeBoneWallRound_Rotate By SheepYhangCN
bone_box_round By OneZhazha
Smooth Bone Wall(Battle_MakeBoneWall...Anim) By Schizoid_Doge
3D bone cube (obj_bone_cube) By Siki
Battle_MakeBoneCube By SheepYhangCN
Gaster Blaster By FDY
Gaster Blaster spawn function(Battle_MakeBlaster) By SheepYhangCN Edited based on FDY
Platform By OneZhazha
bounce of platform By SheepYhangCN
Wave & LineBomb & FriendlyPellet & DusttrustKnife & Gun By SheepYhangCN
(obj=object, spr=sprite)
(With asterisk means optional arguments)
Battle_MakePlatform(x,y,*obj,*sticky,*width,*angle,*hspeed,*vspeed,*bounce,*auto destroy after out of the room)
Battle_MakeBone/MenuBone(x,y,length,hspeed,vspeed,color type,will it shown outside of board,angle,rotate speed,auto destroy after out of the room,*duration,*obj,*spr)
Battle_MakeBoneH and Battle_MakeBoneV are same but without "angle"
Battle_MakeBoneLeft/Right(y,length,vspeed,color type,will it shown outside of board,rotate speed,auto destroy after out of the room,*duration,*obj,*spr)
Battle_MakeBoneTop/Bottom are same but replace "y" with "x", replace "vspeed" with "hspeed"
Battle_MakeBoneTwoPoints(x of first point,y of first point,x of second point,y of second point,color type,will it shown outside of board,auto destroy after out of the room,*duration,*obj,*spr)
Battle_MakeBoneTwoH(x,y,hspeed,gap scale,auto destroy after out of the room,*duration,*obj,*spr)
Battle_MakeBoneTwoV is same but replace "hspeed" with "vspeed"
Battle_MakeBoneCube(x,y,xangle,yangle,zangle,xrotate speed,yrotate speed,zrotate speed,xscale,yscale,zscale,*bone obj,*bone spr)
Battle_MakeBoneWallBottom/Top/Left/Right(wait time,length,duration,*color type,*obj,*bone spr)
Battle_MakeBoneWallRound(the gap between bones,the range between the end of the bone and the center of board,length,color type,wait time,*duration,*bone obj,*bone spr)
Battle_MakeBoneWallRound_Rotate(rotate speed,length,color type,wait time,*duration,*are there any warning box or sound(bone_box_round),*make bone go out instead of spawn instantly,*obj,*bone spr)
Battle_MakeBlaster(x,y,target x,target y,angle,target angle,wait time before shoot,xscale,yscale,beam duration,intro time,color type,*will it shake screen,*spr,*obj,*intro audio,*shoot audio,*beam spr)
Battle_MakeFriendlyPellet(x,y,target x,target y,*color type,*wait time before shoot,*time taken to move to the target xy,*speed after launch,*angle of movement dependence,*image angle,*auto destroy after out of the room,*tween,*obj,*spr)
Battle_MakeLineBomb(x,y,*angle,*width,*(0=Line, 1=X, 2=米),*color type,*xscale,*yscale,*intro time,*wait time before explode,*beam duration,*outro time,*will it shake screen,*obj,*spr)
Battle_MakeDtKnife(*x,*y,*obj,*angle,*color type,*width,*warning duration,*knife duration,*the damage that hit at the moment that spawn)
Battle_MakeWave(x,y,*color type,*scaling speed,*start scale,*obj)
Battle_GunShoot(x,y,*angle,*color type,*intro time,*wait time before shoot,*xscale,*yscale,*the range between the xy and the aim image before shoot,*are there horizontal aim image,*are there vertical aim image,*obj,*spr,*prepare audio,*shoot audio)