GamedevFramework / gf

A C++17 framework for 2D games
https://gamedevframework.github.io/
Other
190 stars 21 forks source link

Workflow questions #69

Closed MetalMaxMX closed 1 year ago

MetalMaxMX commented 1 year ago

Hello! I've read about this project following a comment on an user from the FastTracker II repo (an issue from it). And there was something curious that I wanted to know about this project in particular.

See, the project advertises itself as "It is not a game engine, it is more something like a framework, similar to libGDX in the Java world." and that is something that I am curious about, because LibGDX, by virtue of its Java heritage, can cross-compile and export on a variety of platforms from a single host/PC to many other OSes or devices. And this is where I am going with this.

What's the official way to release binaries from multiple OSes with this? Could one install something like MinGW on a Linux box and be able to cross-compile and build for Windows? I've noticed from this link (https://gamedevframework.github.io/v1.2.0/build_and_install.html) on the docs that Linux requires GCC or Clang while Windows requires MSVC. No mention of MinGW (be it from MSYS on Windows or from Linux itself)

Lastly. What's the scripting language support for this framework? Or are you meant to work natively with what the examples give? (so, C++)

Cheers! MetalMaxMX

jube commented 1 year ago

Hello ! We have never tested to build gf with MinGW or MSYS. It should work more or less, as these are GCC-based compiler. And I think all the dependencies compiles with these two (especially SDL2).

As for the scripting language, it is planned for v2 of the library (with many other breaking changes). It has no release date at the moment. But for v1, no scripting language support.

MetalMaxMX commented 1 year ago

Hi! Thanks for answering my queries, I do know that SDL2 does compiles to other platforms through MinGW so this project probably can as well, awesome.

Out of curiosity, what is the scripting language planned for v2? I imagine Lua due to its portability, or maybe Squirrel?

jube commented 1 year ago

I am still hesitating. It will be either Python (because it is very widespread) or a home-made scripting language.

MetalMaxMX commented 1 year ago

I think the idea of a home-made scripting language makes more sense since it'll be custom-tailored for the framework itself while Python is more generic and all so is harder to tame in some scenarios. Just my 2 cents though.

Feel free to close the issue now, as you got my current questions solved now. Good luck with v2 and the choice of scripting language!