1 guests
0 members
0 Anonymous Members
0 members
0 Anonymous Members
- Groups legend
- Top Members
The newest member is Oliver Schwing (MonoKompatibel)
Most users ever online was 16 on 24/11/2020, 08:04
//####################################################
//# Default Scene_Game #
//# Warning: #
//# This class is vital. #
//# You can Clear all content in this script #
//# and make empty all function #
//# But you cannot remove the file. #
//# Mire depends on it. #
//#--------------------------------------------------#
//# By Mire Dev #
//####################################################
#include "Bitmap.js" //Bitmap Class
#include "Actors.js" //Actor Class
#include "Keyboard.js"
function Scene_Game()
{
this.bitmap = new Bitmap();
this.Actor = new Actors();
this.keyboard = new Keyboard();
this.scene = new Scene_Manager();
};
//Initialize Method for Scene Game
Scene_Game.prototype.Initialize = function()
{
var act = new Actors();
act.Initialize();
act.Enable();
act.Controls(true);
};
//Update Method for Scene Game
Scene_Game.prototype.Update = function()
{
if(this.keyboard.GetKey() == "escape")
{
this.scene.Call("Scene_Menu");
}
};
Last comments