Pages: 1 2 »
  Print  
Author Topic: LateralGM ported to CPP  (Read 3336 times)
Offline (Male) edsquare
Posted on: June 24, 2014, 02:48:21 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
Just that, a few minutes ago I took the code of LateralGM and used Tangible Software Solutions Java to C++ Converter and now everything is in CPP.

Now I "only" need to learn enough C++ to complete the conversion.
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Offline (Male) time-killer-games
Reply #1 Posted on: June 24, 2014, 09:14:25 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
RadialGM was a wasted effort if this is true.
Logged
Offline (Male) edsquare
Reply #2 Posted on: June 24, 2014, 09:41:39 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
RadialGM was a wasted effort if this is true.

Not even if I already knew enough to complete the conversion, The code that can be reused is that of the actions, you still need the graphical frontend of RadialGM (or any other project) to take advantage of it and Enigma together in order to make a game.

It's possible to write a game with only the engine and a code editor, but you can't port the gui part of Java to C++.

By the way if anybody wants the converted code just tell me and I will upload it.
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Online  (Male) Goombert
Reply #3 Posted on: June 24, 2014, 10:20:31 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
You mean the drag and drop actions? I already rewrote those, C++11 compliant.
https://github.com/enigma-dev/ActionLibraryReader
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) edsquare
Reply #4 Posted on: June 24, 2014, 11:51:35 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
You mean the drag and drop actions? I already rewrote those, C++11 compliant.
https://github.com/enigma-dev/ActionLibraryReader

No I mean every single line of java code (Or almost) in LGM is now C++, not shure how standard compliant though.

If you think it could save you some time then by almeans download them:

http://www63.zippyshare.com/v/8604310/file.html
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Online  (Male) Goombert
Reply #5 Posted on: June 25, 2014, 01:32:35 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
Weird, I noticed it converted all the Swing controls verbatim. Anyway it would take substantial effort to even build this, what would be more practical is something like a Java Native Compiler, which sadly doesn't exist, but a C# one does and Microsoft is making it. Well Java does have one, but it's outdated.

At any rate, the whole point of a C++ IDE for us to have something efficient, it would be better to take a bottom up approach to writing and developing it so that we can optimize it as we go instead of just gluing everything together as we go.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) edsquare
Reply #6 Posted on: June 25, 2014, 07:20:52 AM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
Weird, I noticed it converted all the Swing controls verbatim. Anyway it would take substantial effort to even build this, what would be more practical is something like a Java Native Compiler, which sadly doesn't exist, but a C# one does and Microsoft is making it. Well Java does have one, but it's outdated.

At any rate, the whole point of a C++ IDE for us to have something efficient, it would be better to take a bottom up approach to writing and developing it so that we can optimize it as we go instead of just gluing everything together as we go.

I hear you, and couldn't agree more, same thing happens when I'm making something, be it a POS system or something much more simple, the bottom up aproach not only garanties everything works it also gives you more modularity, since every piece of code must work well on its own and in place.
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Online  (Male) Goombert
Reply #7 Posted on: June 25, 2014, 07:16:15 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
ed, I still wish someone would get off their asses and make the JNC work though.
« Last Edit: June 26, 2014, 02:00:39 AM by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) edsquare
Reply #8 Posted on: June 25, 2014, 11:05:51 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
ed, I still wish should would get off their asses and make the JNC work though.

What? Where? Who?

even if they fixed the JVN (Java Virtual N?) I still think Enigma need a compiled IDE
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Online  (Male) Goombert
Reply #9 Posted on: June 26, 2014, 02:02:05 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
Sorry I made a typo, I meant Oracle or the community, anybody. I was talking about the Java Native Compiler it's the closest thing Java ever got to compiling natively but it is horribly outdated. Microsoft on the hand is developing their .NET native compiler and it's actually functional.
http://blogs.msdn.com/b/dotnet/archive/2014/04/02/announcing-net-native-preview.aspx
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) edsquare
Reply #10 Posted on: June 26, 2014, 07:44:46 AM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
Sorry I made a typo, I meant Oracle or the community, anybody. I was talking about the Java Native Compiler it's the closest thing Java ever got to compiling natively but it is horribly outdated. Microsoft on the hand is developing their .NET native compiler and it's actually functional.
http://blogs.msdn.com/b/dotnet/archive/2014/04/02/announcing-net-native-preview.aspx

I get it, not to mention that C# is ten times easier to learn, read and understand than java, but the only interpreted language I wish had a compiler is python, that is a trully beautiful language, concise, precise, with tons of libraries and the easiet to learn I know.
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Online  (Male) Goombert
Reply #11 Posted on: June 26, 2014, 11:09:21 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
Yeah but Java has a lot of advantages.

1) It's developed to be cross-platform, so there is no having to rewrite your app in Mono using GTK#
2) Java applications tend to boot faster on average, I've noticed this myself.
3) JavaFX can do 3D and stuff now as well as OGG audio playback.
4) Windows Forms is the only GUI available for C# Microsoft hasn't made a CSS engine yet, JavaFX has one.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) edsquare
Reply #12 Posted on: June 26, 2014, 11:51:38 AM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
Yeah but Java has a lot of advantages.

1) It's developed to be cross-platform, so there is no having to rewrite your app in Mono using GTK#
2) Java applications tend to boot faster on average, I've noticed this myself.
3) JavaFX can do 3D and stuff now as well as OGG audio playback.
4) Windows Forms is the only GUI available for C# Microsoft hasn't made a CSS engine yet, JavaFX has one.

Yeah but Python is more stable

It also is crossplatform
It boots really fast
It can do OGL, OpenAL, GLES, Allegro, OGG and a ton of other things
It has a lot of GUIs
It's community driven and developed
It has less security breaches than Java and C#, and they are fixed more quickly
Did I mention the simplicity, beauty, and ease of learning?
I can only find one but : But it doesn't have a native compiler!

If I knew how I would make my life's goal to develop a Python-like/Python-compatible compiled language, it would be as easy and simple and could use Python's libraries; that's the wet dream of many programmers.  :D
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Online  (Male) Goombert
Reply #13 Posted on: June 26, 2014, 12:09:13 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
Well a lot of those Java can do as well, JOGL and stuff and probably python too still rely on native dll's I'd imagine, just like C# would. I am saying the language has no native way, native as in API, but JavaFX provides one for Java, so no additional dependencies as it becomes part of the SE.

But yes, someone could also do it as a GCC front-end like FreeBASIC.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) egofree
Reply #14 Posted on: June 26, 2014, 12:13:18 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
Quote
3) JavaFX can do 3D and stuff now as well as OGG audio playback.

Wouldn't it be possible to do it also with Swing ?

Quote
4) Windows Forms is the only GUI available for C# Microsoft hasn't made a CSS engine yet, JavaFX has one.

Windows forms is outdated, it has been replaced by WPF (c.f http://en.wikipedia.org/wiki/Windows_Presentation_Foundation)

Logged
Pages: 1 2 »
  Print