Skip to content

AuthenticEshkinKot/DGLE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

DGLE is a powerful independent cross platform engine for 2D/3D games and real-time visualizations. Young, strong and crazy!

Project mission

The goal of the project is to provide developers with flexible & extandable cross platform easy-to-learn professional technology, capable of building any 2D/3D games, real-time visualizations, scientific applications etc. It should be easy to make great projects only by using editors and scripts or go deeper and use your programming skills of your favorite language to create really exciting projects. Users can also add new formats and functionality by creating new plugins for engine and share them with others over the web or just get plugins already made by others. When project is complete it can be easily build for every popular platform.

What does DGLE abbreviation means?

This abbreviation is some kind of legacy and it is a long story... Now officially this means: Dynamite Groovy Lightweight Engine that is more correct, concerning to the spirit of the project. Sometimes engine is named DGLEngine or DGLE engine, both variants are also correct.

More information

See gallery for screenshots of projects based on this engine.

Visit official website for more details on this project and also plugins, articles, tutorials, examples and forum.

Features

  • Full cross platform.
  • Plugin based architecture with micro-core principles.
  • Flexible and highly extensible via plugins.
  • Multi render support: OpenGL (1.x-2.x and 4.x), OpenGL ES (1.1, 2.0 and 3.0), Direct3D (9.0c and 11.1).
  • Have set of visual editors for rapid application development. Also for non programmers.
  • Provides all necessary API for development high quality 2D and 3D real-time applications.
  • Flexible abstraction levels allow you to programming without any restrictions from API.
  • Made by experienced in game development professionals for you with LoVe!

Supported Platforms

  • Windows Desktop (XP and later) and RT.
  • Linux (Ubuntu and almost any distributive)
  • Mac OS X (10.6 and later)
  • iOS (4.3 and later)
  • Android (2.3 and later)
  • Adobe Flash (11 and later)

Supported Programming Languages

  • C++
  • C# and any .Net language
  • Objective C
  • Delphi
  • Free Pascal
  • Lua (for scripting purpose only)

Getting Started

Simple C++ "HelloWorld" application for Windows. This code will setup engine, create window and render "Hello, World!" text on screen via default font. You can copy-paste this code to your 'main.cpp' and you are done! Also don't forget to copy engine headers (you can find them in "include/cpp" folder) and library 'DGLE.dll' (you can find it in "bin/win" folder) in suitable locations to be found by compiler and executable.

#include "DGLE.h"

using namespace DGLE;

DGLE_DYNAMIC_FUNC

IEngineCore *pEngineCore = NULL;
IBitmapFont *pFont = NULL;
IRender2D *pRender2D = NULL;

void DGLE_API Init(void *pParametr)
{
	IResourceManager *resMan;
	pEngineCore->GetSubSystem(ESS_RESOURCE_MANAGER, (IEngineSubSystem *&)resMan);

	IRender *render;
	pEngineCore->GetSubSystem(ESS_RENDER, (IEngineSubSystem *&)render);
	render->GetRender2D(pRender2D);
	
	resMan->GetDefaultResource(EOT_BITMAP_FONT, (IEngBaseObj *&)pFont);
}

void DGLE_API Render(void *pParametr)
{
	pFont->Draw2D(0, 0, "Hello, World!");
}

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
	if ( GetEngine("DGLE.dll", pEngineCore) )
	{
		pEngineCore->InitializeEngine(NULL, "My First App");
		pEngineCore->AddProcedure(EPT_INIT, &Init);
		pEngineCore->AddProcedure(EPT_RENDER, &Render);
		pEngineCore->StartEngine();
		FreeEngine();
	}
	else
		MessageBoxA(NULL, "Couldn't load \"DGLE.dll\"!", "My First App", MB_OK | MB_ICONERROR | MB_SETFOREGROUND);
	
	return 0;
}

You can find more examples in the "src/examples" folder. Also for other supported languages.

You can find build instructions here.

Also if you want to participate in the project development process you must read and understand Development Rules.

Documentation

You can find engine API documentation here.

License

Licensed under the LGPL license.

Latest SDK version

Compiled and ready to use latest cross platform SDK always could be found here.

See ChangeLog for full list of changes.

Credits

Project Leader and Lead Programmer

Andrey Korotkov aka DRON also known as megaDRONe86.

Follow me on Twitter.

Additional Programming

Alexey Shaydurov aka Ash (3D graphics programming)

Kuznecov Stanislav aka STAlkerS (plugins and tools development)

Mikhail Shestakov aka Mike (C# GUI and tools development, also png and jpg loaders)

Firstin Anton aka First (Delphi/C# headers and minor additional programming)

Semen Kotlyarov aka Kimer (plugins and tools development)

Ilya Sivkov aka Sin (DCP packs and minor additional programming)

Svyatoslav Lobov aka FascioRoma (GUI components development)

Special Thanks

artyks aka Ksenya Artemova for logo design

Woolf for project support

MadRain for Pyro particles

John Moff, R.I.P. friend

All DeeProSoft employees for project support

Contacts

Visit http://dgle.dronprogs.org for more details.

Feel free to mail us dgle@dronprogs.org with any questions.

About

Powerful independent cross platform engine for 2D/3D games and visualizations. Young, strong and crazy!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 55.5%
  • C# 31.1%
  • Component Pascal 8.5%
  • C 4.4%
  • Other 0.5%