Skip to content

Commit

Permalink
Game Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
RedEdge967 authored Jun 21, 2022
1 parent 0d2b9fe commit 0f775ed
Show file tree
Hide file tree
Showing 99 changed files with 3,732 additions and 0 deletions.
Binary file added Coin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Coins 10.aac
Binary file not shown.
Binary file added D-pad bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added D-pad top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Defender_Strange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Defender_Strange2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Doctor_Strange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Doctor_Strange2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Fly_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Grey block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Grey block_broken.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added HD-wallpaper-doctor-strange-2021-art.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Home_Blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Home_Green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Home_Grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Home_Red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Home_Yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image20211007140445.jpg
Binary file added Monster_Fire_1.png
Binary file added Monster_Fire_10.png
Binary file added Monster_Fire_2.png
Binary file added Monster_Fire_3.png
Binary file added Monster_Fire_4.png
Binary file added Monster_Fire_5.png
Binary file added Monster_Fire_6.png
Binary file added Monster_Fire_7.png
Binary file added Monster_Fire_8.png
Binary file added Monster_Fire_9.png
Binary file added Monster_Idle_1.png
Binary file added Monster_Idle_2.png
Binary file added NewSprite-1.png
Binary file added One Player Button Red_Pressed.png
Binary file added One Player Button Red_Unpressed.png
Binary file added Red Gem.png
Binary file added Red Jewel.png
Binary file added Sinister_Strange.png
Binary file added Sinister_Strange2.png
Binary file added Star button.png
Binary file added Star round button.png
Binary file added Start button.png
Binary file added Supreme_Strange.png
Binary file added Supreme_Strange2.png
Binary file added Yellow Gem.png
Binary file added Yellow Jewel.png
Binary file added Zombie_Doctor_Strange.png
Binary file added Zombie_Doctor_Strange2.png
Binary file added cloud (1).png
89 changes: 89 additions & 0 deletions code0.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
gdjs.Start_95sceneCode = {};
gdjs.Start_95sceneCode.GDNewBBTextObjects1= [];
gdjs.Start_95sceneCode.GDNewBBTextObjects2= [];
gdjs.Start_95sceneCode.GDStartButtonObjects1= [];
gdjs.Start_95sceneCode.GDStartButtonObjects2= [];
gdjs.Start_95sceneCode.GDNewBBText2Objects1= [];
gdjs.Start_95sceneCode.GDNewBBText2Objects2= [];
gdjs.Start_95sceneCode.GDDoctor_95StrangeObjects1= [];
gdjs.Start_95sceneCode.GDDoctor_95StrangeObjects2= [];
gdjs.Start_95sceneCode.GDDefender_95StrangeObjects1= [];
gdjs.Start_95sceneCode.GDDefender_95StrangeObjects2= [];
gdjs.Start_95sceneCode.GDSinister_95StrangeObjects1= [];
gdjs.Start_95sceneCode.GDSinister_95StrangeObjects2= [];
gdjs.Start_95sceneCode.GDSupreme_95StrangeObjects1= [];
gdjs.Start_95sceneCode.GDSupreme_95StrangeObjects2= [];
gdjs.Start_95sceneCode.GDZombie_95StrangeObjects1= [];
gdjs.Start_95sceneCode.GDZombie_95StrangeObjects2= [];
gdjs.Start_95sceneCode.GDNewBBText3Objects1= [];
gdjs.Start_95sceneCode.GDNewBBText3Objects2= [];
gdjs.Start_95sceneCode.GDStarButtonObjects1= [];
gdjs.Start_95sceneCode.GDStarButtonObjects2= [];

gdjs.Start_95sceneCode.conditionTrue_0 = {val:false};
gdjs.Start_95sceneCode.condition0IsTrue_0 = {val:false};
gdjs.Start_95sceneCode.condition1IsTrue_0 = {val:false};


gdjs.Start_95sceneCode.mapOfGDgdjs_46Start_9595sceneCode_46GDStarButtonObjects1Objects = Hashtable.newFrom({"StarButton": gdjs.Start_95sceneCode.GDStarButtonObjects1});gdjs.Start_95sceneCode.mapOfGDgdjs_46Start_9595sceneCode_46GDStartButtonObjects1Objects = Hashtable.newFrom({"StartButton": gdjs.Start_95sceneCode.GDStartButtonObjects1});gdjs.Start_95sceneCode.eventsList0 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("StarButton"), gdjs.Start_95sceneCode.GDStarButtonObjects1);

gdjs.Start_95sceneCode.condition0IsTrue_0.val = false;
{
gdjs.Start_95sceneCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.Start_95sceneCode.mapOfGDgdjs_46Start_9595sceneCode_46GDStarButtonObjects1Objects, runtimeScene, true, false);
}if (gdjs.Start_95sceneCode.condition0IsTrue_0.val) {
{gdjs.evtTools.window.openURL("https://github.com/RedEdge967", runtimeScene);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("StartButton"), gdjs.Start_95sceneCode.GDStartButtonObjects1);

gdjs.Start_95sceneCode.condition0IsTrue_0.val = false;
{
gdjs.Start_95sceneCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.Start_95sceneCode.mapOfGDgdjs_46Start_9595sceneCode_46GDStartButtonObjects1Objects, runtimeScene, true, false);
}if (gdjs.Start_95sceneCode.condition0IsTrue_0.val) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Level_01", false);
}}

}


};

gdjs.Start_95sceneCode.func = function(runtimeScene) {
runtimeScene.getOnceTriggers().startNewFrame();

gdjs.Start_95sceneCode.GDNewBBTextObjects1.length = 0;
gdjs.Start_95sceneCode.GDNewBBTextObjects2.length = 0;
gdjs.Start_95sceneCode.GDStartButtonObjects1.length = 0;
gdjs.Start_95sceneCode.GDStartButtonObjects2.length = 0;
gdjs.Start_95sceneCode.GDNewBBText2Objects1.length = 0;
gdjs.Start_95sceneCode.GDNewBBText2Objects2.length = 0;
gdjs.Start_95sceneCode.GDDoctor_95StrangeObjects1.length = 0;
gdjs.Start_95sceneCode.GDDoctor_95StrangeObjects2.length = 0;
gdjs.Start_95sceneCode.GDDefender_95StrangeObjects1.length = 0;
gdjs.Start_95sceneCode.GDDefender_95StrangeObjects2.length = 0;
gdjs.Start_95sceneCode.GDSinister_95StrangeObjects1.length = 0;
gdjs.Start_95sceneCode.GDSinister_95StrangeObjects2.length = 0;
gdjs.Start_95sceneCode.GDSupreme_95StrangeObjects1.length = 0;
gdjs.Start_95sceneCode.GDSupreme_95StrangeObjects2.length = 0;
gdjs.Start_95sceneCode.GDZombie_95StrangeObjects1.length = 0;
gdjs.Start_95sceneCode.GDZombie_95StrangeObjects2.length = 0;
gdjs.Start_95sceneCode.GDNewBBText3Objects1.length = 0;
gdjs.Start_95sceneCode.GDNewBBText3Objects2.length = 0;
gdjs.Start_95sceneCode.GDStarButtonObjects1.length = 0;
gdjs.Start_95sceneCode.GDStarButtonObjects2.length = 0;

gdjs.Start_95sceneCode.eventsList0(runtimeScene);
return;

}

gdjs['Start_95sceneCode'] = gdjs.Start_95sceneCode;
622 changes: 622 additions & 0 deletions code1.js

Large diffs are not rendered by default.

643 changes: 643 additions & 0 deletions code2.js

Large diffs are not rendered by default.

715 changes: 715 additions & 0 deletions code3.js

Large diffs are not rendered by default.

715 changes: 715 additions & 0 deletions code4.js

Large diffs are not rendered by default.

715 changes: 715 additions & 0 deletions code5.js

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions code6.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
gdjs.Last_32sceneCode = {};
gdjs.Last_32sceneCode.GDNewBBTextObjects1= [];
gdjs.Last_32sceneCode.GDNewBBTextObjects2= [];
gdjs.Last_32sceneCode.GDNewBBText2Objects1= [];
gdjs.Last_32sceneCode.GDNewBBText2Objects2= [];
gdjs.Last_32sceneCode.GDBlankButton2Objects1= [];
gdjs.Last_32sceneCode.GDBlankButton2Objects2= [];
gdjs.Last_32sceneCode.GDBlankButtonObjects1= [];
gdjs.Last_32sceneCode.GDBlankButtonObjects2= [];
gdjs.Last_32sceneCode.GDNewBBText3Objects1= [];
gdjs.Last_32sceneCode.GDNewBBText3Objects2= [];
gdjs.Last_32sceneCode.GDNewBBText4Objects1= [];
gdjs.Last_32sceneCode.GDNewBBText4Objects2= [];

gdjs.Last_32sceneCode.conditionTrue_0 = {val:false};
gdjs.Last_32sceneCode.condition0IsTrue_0 = {val:false};
gdjs.Last_32sceneCode.condition1IsTrue_0 = {val:false};


gdjs.Last_32sceneCode.mapOfGDgdjs_46Last_9532sceneCode_46GDBlankButtonObjects1Objects = Hashtable.newFrom({"BlankButton": gdjs.Last_32sceneCode.GDBlankButtonObjects1});gdjs.Last_32sceneCode.mapOfGDgdjs_46Last_9532sceneCode_46GDBlankButton2Objects1Objects = Hashtable.newFrom({"BlankButton2": gdjs.Last_32sceneCode.GDBlankButton2Objects1});gdjs.Last_32sceneCode.eventsList0 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("BlankButton"), gdjs.Last_32sceneCode.GDBlankButtonObjects1);

gdjs.Last_32sceneCode.condition0IsTrue_0.val = false;
{
gdjs.Last_32sceneCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.Last_32sceneCode.mapOfGDgdjs_46Last_9532sceneCode_46GDBlankButtonObjects1Objects, runtimeScene, true, false);
}if (gdjs.Last_32sceneCode.condition0IsTrue_0.val) {
{gdjs.evtTools.window.openURL("https://github.com/RedEdge967/Doctor-Strange", runtimeScene);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("BlankButton2"), gdjs.Last_32sceneCode.GDBlankButton2Objects1);

gdjs.Last_32sceneCode.condition0IsTrue_0.val = false;
{
gdjs.Last_32sceneCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.Last_32sceneCode.mapOfGDgdjs_46Last_9532sceneCode_46GDBlankButton2Objects1Objects, runtimeScene, true, false);
}if (gdjs.Last_32sceneCode.condition0IsTrue_0.val) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Start_scene", false);
}}

}


};

gdjs.Last_32sceneCode.func = function(runtimeScene) {
runtimeScene.getOnceTriggers().startNewFrame();

gdjs.Last_32sceneCode.GDNewBBTextObjects1.length = 0;
gdjs.Last_32sceneCode.GDNewBBTextObjects2.length = 0;
gdjs.Last_32sceneCode.GDNewBBText2Objects1.length = 0;
gdjs.Last_32sceneCode.GDNewBBText2Objects2.length = 0;
gdjs.Last_32sceneCode.GDBlankButton2Objects1.length = 0;
gdjs.Last_32sceneCode.GDBlankButton2Objects2.length = 0;
gdjs.Last_32sceneCode.GDBlankButtonObjects1.length = 0;
gdjs.Last_32sceneCode.GDBlankButtonObjects2.length = 0;
gdjs.Last_32sceneCode.GDNewBBText3Objects1.length = 0;
gdjs.Last_32sceneCode.GDNewBBText3Objects2.length = 0;
gdjs.Last_32sceneCode.GDNewBBText4Objects1.length = 0;
gdjs.Last_32sceneCode.GDNewBBText4Objects2.length = 0;

gdjs.Last_32sceneCode.eventsList0(runtimeScene);
return;

}

gdjs['Last_32sceneCode'] = gdjs.Last_32sceneCode;
2 changes: 2 additions & 0 deletions data.js

Large diffs are not rendered by default.

Binary file added fence.png
Binary file added fence_Broken.png
Binary file added fence_Open.png
Binary file added floralcapsnouveau.medium2.ttf
Binary file not shown.
2 changes: 2 additions & 0 deletions force.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions gd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 120 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>

<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

<meta name="theme-color" content="#000000" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

<style>
body {
margin: 0;
padding: 0;
background-color: #000000;
overflow: hidden;
}
#canvasArea {
margin-left: auto;
margin-right: auto;
overflow: hidden;
}


</style>
<!-- Libs and GDJS core files : -->
<script src="libs/jshashtable.js" crossorigin="anonymous"></script>
<script src="logger.js" crossorigin="anonymous"></script>
<script src="gd.js" crossorigin="anonymous"></script>
<script src="libs/rbush.js" crossorigin="anonymous"></script>
<script src="inputmanager.js" crossorigin="anonymous"></script>
<script src="jsonmanager.js" crossorigin="anonymous"></script>
<script src="timemanager.js" crossorigin="anonymous"></script>
<script src="runtimeobject.js" crossorigin="anonymous"></script>
<script src="profiler.js" crossorigin="anonymous"></script>
<script src="runtimescene.js" crossorigin="anonymous"></script>
<script src="scenestack.js" crossorigin="anonymous"></script>
<script src="polygon.js" crossorigin="anonymous"></script>
<script src="force.js" crossorigin="anonymous"></script>
<script src="layer.js" crossorigin="anonymous"></script>
<script src="timer.js" crossorigin="anonymous"></script>
<script src="runtimegame.js" crossorigin="anonymous"></script>
<script src="variable.js" crossorigin="anonymous"></script>
<script src="variablescontainer.js" crossorigin="anonymous"></script>
<script src="oncetriggers.js" crossorigin="anonymous"></script>
<script src="runtimebehavior.js" crossorigin="anonymous"></script>
<script src="spriteruntimeobject.js" crossorigin="anonymous"></script>
<script src="events-tools/commontools.js" crossorigin="anonymous"></script>
<script src="events-tools/variabletools.js" crossorigin="anonymous"></script>
<script src="events-tools/runtimescenetools.js" crossorigin="anonymous"></script>
<script src="events-tools/inputtools.js" crossorigin="anonymous"></script>
<script src="events-tools/objecttools.js" crossorigin="anonymous"></script>
<script src="events-tools/cameratools.js" crossorigin="anonymous"></script>
<script src="events-tools/soundtools.js" crossorigin="anonymous"></script>
<script src="events-tools/storagetools.js" crossorigin="anonymous"></script>
<script src="events-tools/stringtools.js" crossorigin="anonymous"></script>
<script src="events-tools/windowtools.js" crossorigin="anonymous"></script>
<script src="events-tools/networktools.js" crossorigin="anonymous"></script>
<script src="splash/gd-logo-dark-colored.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/pixi.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/pixi-filters-tools.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/runtimegame-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/runtimescene-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/layer-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/pixi-image-manager.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/pixi-bitmapfont-manager.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/spriteruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/loadingscreen-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="pixi-renderers/pixi-effects-manager.js" crossorigin="anonymous"></script>
<script src="howler-sound-manager/howler.min.js" crossorigin="anonymous"></script>
<script src="howler-sound-manager/howler-sound-manager.js" crossorigin="anonymous"></script>
<script src="fontfaceobserver-font-manager/fontfaceobserver.js" crossorigin="anonymous"></script>
<script src="fontfaceobserver-font-manager/fontfaceobserver-font-manager.js" crossorigin="anonymous"></script>
<script src="Extensions/BBText/bbtextruntimeobject.js" crossorigin="anonymous"></script>
<script src="Extensions/BBText/bbtextruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="Extensions/BBText/pixi-multistyle-text/dist/pixi-multistyle-text.umd.js" crossorigin="anonymous"></script>
<script src="Extensions/PlatformBehavior/platformruntimebehavior.js" crossorigin="anonymous"></script>
<script src="Extensions/PlatformBehavior/platformerobjectruntimebehavior.js" crossorigin="anonymous"></script>
<script src="Extensions/PlatformBehavior/platformtools.js" crossorigin="anonymous"></script>
<script src="Extensions/TiledSpriteObject/tiledspriteruntimeobject.js" crossorigin="anonymous"></script>
<script src="Extensions/TiledSpriteObject/tiledspriteruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="Extensions/TextObject/textruntimeobject.js" crossorigin="anonymous"></script>
<script src="Extensions/TextObject/textruntimeobject-pixi-renderer.js" crossorigin="anonymous"></script>
<script src="code0.js" crossorigin="anonymous"></script>
<script src="Extensions/SystemInfo/systeminfotools.js" crossorigin="anonymous"></script>
<script src="code1.js" crossorigin="anonymous"></script>
<script src="code2.js" crossorigin="anonymous"></script>
<script src="code3.js" crossorigin="anonymous"></script>
<script src="code4.js" crossorigin="anonymous"></script>
<script src="code5.js" crossorigin="anonymous"></script>
<script src="code6.js" crossorigin="anonymous"></script>
<script src="data.js" crossorigin="anonymous"></script>


</head>
<body>


<script>

(function() {
//Initialization
var game = new gdjs.RuntimeGame(gdjs.projectData, {});

//Create a renderer
game.getRenderer().createStandardCanvas(document.body);

//Bind keyboards/mouse/touch events
game.getRenderer().bindStandardEvents(game.getInputManager(), window, document);

//Load all assets and start the game
game.loadAllAssets(function() {
game.startGameLoop();
});
})();

</script>
</body>
</html>
Loading

0 comments on commit 0f775ed

Please sign in to comment.