Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Android x64 Support + SDL 2] SFML Game Engine for Web (HTML), Android & PC  (Read 28627 times)

0 Members and 1 Guest are viewing this topic.

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Hi everyone, hope you are doing well!

You can now run SFML C++ games with the SDL 2 library, export your SFML games to Android 64-bit, use multiple game libraries at the same time, and easily send your C++ data to JavaScripts with version 3.3 of is::Engine.

Game Engine Link

Details of new features:
- The is::LibConnect function: Allows you to develop with several game libraries at the same time (SFML, SDL 2, SMK (Emscripten)) in one and the same project!

- Possibility to develop C++ SFML games with SDL 2 (Your SFML games will run on the SDL 2 library! Yes, yes it is possible!).

- Support for Android x64 architectures: Now you can export your C++ games to several Android architectures (armeabi-v7a, arm64-v8a, x86, x64,…).
Which means that you can now publish your C++ games on Google Play! (Yeaaah !!!)

- The OpenURL function now allows you to open web links on many system: PC (Windows / Linux), Web (HTML 5), Android.

- A new function to manipulate dates

- Very practical data sending system for sending C++ data to javascript (Emscripten).

Example code to display C++ data in Javascript:

std::vector<std::string> vectorArray;
vectorArray.push_back("is::Engine is really great!");
vectorArray.push_back("With this tool everything is possible!");
vectorArray.push_back("I'm sure you'll love it!");

// The javascripts part
EM_ASM_ARGS({
    var vectorArray = new Module.VectorString($0);
    console.log(vectorArray.get(0));
    console.log(vectorArray.get(1));
    console.log(vectorArray.get(2));
    }, &vectorArray);
 

Output in the browser console:
Quote
is::Engine is really great!
With this tool everything is possible!
I'm sure you'll love it!

Have a good day!

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Hi everyone, I hope you are all doing well!
is::Engine 3.3.1 is available! Here are the new features:

- Fixed the bug that distorted images when using rotation.
- Optimization of the rendering part of the engine that uses SDL. Games are now smoother!
- Integration of a file saving system for the Web (HTML 5). No need to re-implement yours anymore!
- The OpenURL function now allows making phone calls (on Android) and contacting by email.

is::openURL("www.yoursiteweb.com", is::OpenURLAction::Http); // open link
is::openURL("youremail@gmail.com", is::OpenURLAction::Email); // open email
is::openURL("+2280011223344", is::OpenURLAction::Tel); // Make a call
 

Have a good day ! :)

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Hi everyone, I hope you’re okay!

Version 3.3.2 of is::Engine is available! This version focuses more on improving engine resource management:
1. Fixed bug that prevented permanent deletion of files on the Web (HTML 5) (see removeFile function).
2. Delete unused resources and permissions on Android.
2. Optimizing the part of the engine that loads resources.
You can notice it with this new version of I Can Transform Web. Now the levels load faster than before!

Good week start!

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Hi everyone, hope you are doing well!

is::Engine 3.3.3 is available! Here are the new features:
Now your SFML games will run on the Web (HTML 5) with SDL 2!
- The advantage is that most of the engine functions will be able to run on the web, your games will be compatible with several web browsers and more fluid!
- You can see for yourself the improvements that are made to the engine with this new version of the game I Can Transform Web (HTML 5).

Engine demo (Super Mario Bros NES) is now web compatible!



Good weekend to all ! :)

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Hi all, :)

The is::Engine Demo Level Editor has been updated with is::Engine 3.3.3 !
You can now use it with the Qt IDE (The advantage is that you can associate Qt widgets with the project!).
You can also use SDL 2 to develop with the level editor's SFML project!



Hava a nice day !  ;)

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Re: [Android x64 Support + SDL 2] SFML Game Engine for Web (HTML), Android & PC
« Reply #35 on: September 07, 2021, 01:30:17 pm »
Hi all,
I hope you are doing well and starting the new school year well!
is::Engine 3.3.4 is released! Now your texts and geometric figures will become more beautiful with these new features:

1. Now you can put texts and geometric forms (Rectangle, Circle) in Outline (Support of SFML functions setOutlineColor and setOutlineThickness) on Web and Android.
2. Use text styles (Underline, Bold, Italic, ...) on Web et Android.
3. Correction of bugs. (That was well hidden!)
4. Improved engine resource management (possibility of making your resources permanent and global).

Sample code :
class HelloScene : public is::GameDisplay
{
public:
    HelloScene(is::GameSystemExtended &gameSysExt):
        GameDisplay(gameSysExt, sf::Color::Black /* => scene color*/) {}

    void loadResources()
    {
        // Load font and texture of the engine
        // Allows to load system resource (very important never forgot to call him)
        // Also allows the scene to use permanent resources (loaded before this line)
        GameDisplay::loadParentResources();
       
        // We load a sound that will be global and permanent in all scenes (Throughout the engine)
        m_gameSysExt.GRMaddSound("is_engine_is_cool", is::GameConfig::SFX_DIR + "is_engine_is_cool.wav");
       
        // We load these textures (that will only be used in this scene)
        GRMaddTexture("sfml", is::GameConfig::SPRITES_DIR + "sfml.png");
        GRMaddTexture("sdl_2", is::GameConfig::SPRITES_DIR + "sdl_2.png");
       
        // We load this font (that will only be used in this scene)
        GRMaddFont("yeah", is::GameConfig::FONT_DIR + "yeah.ttf");
       
        // Allows the scene to use sound permanent resources ("is_engine_is_cool.wav" and others)
        GRMuseGameSystemSound();
       
        GRMdeleteFont("yeah"); // Manual font Removal
    }
};
 

Have a nice day !
« Last Edit: September 07, 2021, 01:42:36 pm by IsDaouda »

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Hi all,
I hope you are doing well!
Now you can run SFML games / applications with SDL 2 on Linux with the is::Engine 3.3.5 !

- Here is a tutorial video that shows you how to integrate your SFML project in the Game Engine.
https://youtu.be/x_YQLHoPMbc

- Here is a video trailer of a game created with the Game Engine.
https://youtu.be/2GGiBC8TMLg

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Re: [Android x64 Support + SDL 2] SFML Game Engine for Web (HTML), Android & PC
« Reply #37 on: December 07, 2021, 06:44:56 pm »
Hi all,
I hope you are well and that you are preparing well for the holiday season!

is::Engine 3.3.6 released!
Here are the improvements to the engine:
- Support for sf::Music class on Android by SDL 2 library.
- Bug fixed.

Happy New Year's Eve everyone and take care of yourself!

IsDaouda

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
Hi all,
Hope you are doing well and starting this new year well!

is::Engine 3.3.7 is available. Here are the new features:

- Adding GRMuseGameSystemResources() function.
- Possibility to change the color of Virtual Game Pad on Android.
- Finger motion bug fixed.

 

anything