Ashramaru
 Joined: Mar 2014
Posts: 4
|
 |
Posted on: March 22, 2014, 10:46:25 AM |
|
|
|
hello I am currently developing a programming language for creating games that can produce Win, Mac, Linux, IOs and android binaries from one single source file. The structure of a CPGCL program will be like this
program test{
sprite spr_1 { file: "enemy.png"
}
font font_1{ file: "Arial.ttf"
}
object obj_1{ depth: 5; sprite: spr_1;
key_down(){ if(vk_right){
}
}
}
map map_1{ file: "maps/1.map"; place_objects: {obj_1};
}
run(){ load_map(map_1);
}
}
and to build will be as simple as this: cpgcl test.cpgcl -target android
I will be posting video previews soon
|
|
|
TheExDeus
 Joined: Apr 2008
Posts: 1,860
|
 |
Reply #1 Posted on: March 22, 2014, 11:47:42 AM |
|
|
|
So it supports GML for coding? Although just using vk_down to check a button is slightly different. If it supports syntax like GML or EDL, then it could be possible to make an export for LGM, which would take a GMK/EGM or whatever and create this file with resources. Looking forward to seeing the video.
|
|
|
onpon
 Joined: Feb 2010
Posts: 102
|
 |
Reply #2 Posted on: March 22, 2014, 01:19:47 PM |
|
|
Quotea programming language for creating games that can produce Win, Mac, Linux, IOs and android binaries from one single source file That's not exactly special. Languages being cross-platform has been a normal thing for decades now. Even Game Maker supports at least the popular systems now. I'm looking at your example code, I don't see anything special about it. It looks like a variant of JSON with a couple of minor changes and the unnecessary "if" syntax. If you want to create ENIGMA files in a JSON-like structure, why not just use JSON? Side note: no indentation = ugly.
|
|
|
TheExDeus
 Joined: Apr 2008
Posts: 1,860
|
 |
Reply #3 Posted on: March 22, 2014, 02:22:09 PM |
|
|
QuoteThat's not exactly special. Nothing is really "special". UE4 is also nothing really special. But his take is quite original. It seems to give the ease of development given by GML and the same time allows you to do so without a special IDE. It's basically like python, only better (because almost everything is better than python).
|
|
|
onpon
 Joined: Feb 2010
Posts: 102
|
 |
Reply #4 Posted on: March 22, 2014, 03:06:25 PM |
|
|
It's just a structured file with data, like a JSON or XML file... how exactly is that "original"? Game Maker has been using XML files for quite a while now. Trying to devise a syntax which is almost identical to JSON from scratch just strikes me as a complete waste of effort. QuoteIt seems to give the ease of development given by GML and the same time allows you to do so without a special IDE. We're talking about throwing the data into a non-standard structural format that looks a lot like JSON. Well, that's fine, but again, why not just use JSON or even XML? In fact, that raises another question: how is it any better than the Game Maker XML format? I'm not opposed to this, but it seems it's being done in a way that wastes a lot of effort for very little if any gain.
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #5 Posted on: March 22, 2014, 03:39:33 PM |
|
|
|
wut?
GM XML format, do you mean GMX by that? If so that is the format your project is saved in, not the format of the scripting...
|
|
|
TheExDeus
 Joined: Apr 2008
Posts: 1,860
|
 |
Reply #6 Posted on: March 22, 2014, 05:16:09 PM |
|
|
|
onpon, the OP idea is not about a file format. It's about a way to code the game. So it's a lot more about the compiler/parser than how data looks. If you make a compiler/parser than can turn structured JSON into .exe, then I am willing to check that out as well.
|
|
|
Ashramaru
 Joined: Mar 2014
Posts: 4
|
 |
Reply #7 Posted on: August 30, 2014, 04:49:54 AM |
|
|
|
i added new capabilities to the language. Users can include packages and classes. So users can code GML and c++ along together for more flexibility.
program test{
namespace helper{
public class move_to{
public move_to(){
}
public void set(){
}
}
}
sprite spr_1 { file: "enemy.png"
}
font font_1{ file: "Arial.ttf"
}
object obj_1{ depth: 5; sprite: spr_1;
create(){ helper.move_to mt = new helper.move_to();
mt.set();
}
key_down(){ if(vk_right){
}
}
}
map map_1{ file: "maps/1.map"; place_objects: {obj_1};
}
run(){ load_map(map_1);
}
}
|
|
|
|
|
Dran768
 Joined: Sep 2014
Posts: 1
|
 |
Reply #9 Posted on: September 04, 2014, 11:02:17 PM |
|
|
that is cool 3d android game maker  is it ready for download?
|
|
|
Ashramaru
 Joined: Mar 2014
Posts: 4
|
 |
Reply #10 Posted on: September 07, 2014, 01:06:29 AM |
|
|
let's talk about the software here
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #11 Posted on: September 07, 2014, 09:26:13 PM |
|
|
|
Please don't create duplicate accounts for the sake of self-promotion.
|
|
|
|