This engine is allot like XNA and uses the same work style but this engine is used for making RPG/Sandbox like games.

Report RSS Adding Images in The Explorer Engine

This tutorial will teach you how to add images in The Explorer Engine.

Posted by on - Basic Client Side Coding

When adding images it is almost like adding images in XNA.

using System;
using Explorer.Drawing;

namespace MYNAMESPACE
{
    public class MYCLASS : Egame
    {
        private DrawMod mod = new DrawMod();
        private GameImage img = new GameImage("image path");

        protected override void Draw()
        {
            mod.start();
            mod.Draw(0, 0, 0, 0, img); // mod.Draw(x position, y position, width, height, image to draw);
            mod.end();

            base.Draw();
        }
    }
}
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: