Hi guys ,

you know , from long time i say someting about creating a translator for our games to web and android platforms . but i found some problems to convert lite-c functions like procs and some other functions. so i create a new engine on c++ and i recreate it on html5 webgl , with this i can now convert all my functions from c++ to web then to android .

the sdk provide:
very fast rendring
http download fast and not freeze the engine
wait function (limited to android >= 5.1 and above + new browsers)
sounds and music players
PANELS,TEXTS,ENTITYS,ACTION

80% of acknex function recreated in this sdk.
and you also use effects and much more ...


if you intersted in to test my engine , just pm me then i will upload your new sdk for the engine.
and before i forget ,
you can use code::block to scripting bec is very fast and crossplatform and have a small size than vc++

link to compiler : http://www.mediafire.com/file/83jx0t9qb24o4x4/alphabox+engine+v1.23+compiler.rar
link to engine library : http://www.mediafire.com/file/bqcv0y3hikezk6k/engine+files+and+librarys.rar

the android compiler need JDK and this is the link : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Now just create your map in wed and convert it to directx and add it to your asset folder like the exemple in compiler folder.

and don't forget to edit .bat file , its important for translating and compiling to android.


This is some images from unfinished interface for the engine :








and this is an old project created with the sdk :




you see here some exemple scripts

Code:
#include "include/alphabox_engine.h"


BMAP* exemple_bmap   = bmp_create("bmap_name.jpg",NULL,NULL ,0);

PANEL* exemple_panel = create_pan(exemple_bmap,1); /// 1 : layer

int main()
{
	
	set(exemple_panel,SHOW);
	exemple_panel->pos_x = 50;
	exemple_panel->pos_y = 50;
	exemple_panel->scale_x = 1;
	exemple_panel->scale_y = 1;
	
	while(1)
	{
		exemple_panel->roll += 1; /// exemple roll
		
		
		wait(1);
	}
}



loading an entity :

Code:
#include "include/alphabox_engine.h"


void action_player()
{
	set(me,SHOW);
	my->alpha = 100
	while(1)
	{
		my->pan += 2;
		wait(1);
	}
	
}




ENTITY* exemple_ent = ent_create("entity.x",&vector(0,0,0),action_player);

int main()
{
	
	
	while(1)
	{
		exemple_ent->roll += 1; /// exemple roll
		
		
		wait(1);
	}
}




[size:14pt][/size]

This is how to use wait corotine :

Code:
#include <alphabox_engine.h>

void exemple_function()
{
	while(1)
	{
		printf("\nresult 1");
		wait(1);
	}
}


int main()
{
	
	add_function(exemple_function); /// with this now your function accept wait corotine
	
	while(1)
	{
		
		printf("\nresult 2");
		wait(1);
	}
}




and the resulta :

Code:
result1
result2
result1
result2
result1
result2
result1
result2
result1
result2
result1
result2
...




and finaly this is just a simple game engine and with you guys we can make it better and better .


Some demos to show how to load maps and apply collision: http://www.mediafire.com/file/2ahb3ak2s9xre5d/demos.rar


Last edited by Dico; 11/17/16 23:38.