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

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

0 Members and 2 Guests are viewing this topic.

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: SFML Game Engine for Android and PC ☆☆☆ New Version ☆☆☆
« Reply #15 on: July 14, 2020, 08:40:36 pm »
Hi all,
- is::Engine for CMake is available here.
This time there is a surprise waiting for you in the Demo!
- SDM now allows you to give names (yes real names ^^) to objects so that you can better control them.

Here is an example of code that makes the player jump :
// We add the player object
SDMaddSceneObject(std::shared_ptr<Player>(new Player()), true, true, "Player One");

// Use the player object
if (auto player = SDMgetObject("Player One"); player != nullptr) player.jump();
 

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: SFML Game Engine for Android and PC ☆☆☆ v2.2 Available ☆☆☆
« Reply #16 on: August 07, 2020, 09:11:31 pm »
Hello,  :)
is::Engine 2.2 is available! New features :

Now the SDM can fully manage an SFML window, i.e. it automatically manages:
- Close, focus and keyboard / touch events (on Android)
- Update and display of SFML Sprites
- The display of a confirmation dialog when you try to close the application with the CANCEL key (Configurable key in GameConfig.h)

Note that you can change the way is::Engine handles events and dialog box answers (YES, OK, NO), by simply overriding the SDMmanageSceneEvents() and SDMmanageSceneMsgAnswers() methods.

A Background system that allows you to easily create backgrounds in a scene.

Improved Basic Collision Engine:
- Added Circle collision mask
- Possibility to draw (in a scene) the collision masks of each object (the engine automatically determines the type of mask used)

The purpose of the Basic Collision Engine is not to replace Box 2D but to allow you to easily do simple collision tests. Believe me, a lot can be done with Basic collisions (Rectangle and Circle) proof the first game of the engine I Can Transform was created only with Rectangle collision masks.

The user guide is now available in a web version (HTML).

Improved Level Editor



The Demo project which is on Git hub has been replaced by an is::Engine-style Hello World Project in order to get you started quickly with the engine.

In less than 50 lines of code the Hello World project scene does these things:
- Load resources (music, texture, font)
- Manage SFML window events (focus, close, key)
- Displays a confirmation box when you press ESCAPE (represents the Back key on Android)
- Set a background color for the scene
- Change the game language (English / French)
- Communicate with you through an RPG-style dialog box
- Automatically display an SFML Sprite
- Automatically displays a background that fills the scene and scrolls vertically and horizontally (with speed)
- Updates and draws an object that animates (Of course a Class has been created for this object ^^)
- Play good music

You can take a look at the project to see it yourself!

The goal of is::Engine is to allow you to create everything you want easily and simply!  ;)
« Last Edit: August 07, 2020, 09:31:47 pm by IsDaouda »

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: SFML Game Engine for Android and PC ☆☆☆ v2.2 Available ☆☆☆
« Reply #17 on: September 07, 2020, 08:06:13 pm »
Hi everyone, hope you are doing well!  :)
is::Engine 3.0 is available and brings huge new features:

Support for TMXLite and TMXLoader library: which allows you to use the Tiled level editor with the engine.
Official supported version is TMXLite link. You can use another engine version with TMXLoader link.



Multiplatform engine: You can now use a single project to develop on Android, Windows and Linux (To compile on different OS, just change the IDE).

Support of several development tools: You can use Android Studio, CMake, Visual Studio Code and Code::Blocks with the same project.

Event system for object: allows to use SFML events in objects (Was used in the TMXLoader example).

Button System: Allows you to create customizable buttons and use them in your games (Was used in the TMXLoader example).

Engine optimization: The games are two (2) times faster.

This time the Engine Demo is about an iconic game that marked a whole generation and which celebrates its 35th anniversary this year:
It's Super Mario Bros!



As a bonus some small additions have been made to this version to make it even more Fun!  ;D

Happy Birthday Super Mario Bros!

Here is the video of the demo:
Sorry for the quality of the video and the slowing down of the game. Apparently my Graphics Card doesn't want me to play a game and do video capture at the same time!  ::)

« Last Edit: September 07, 2020, 08:19:49 pm by IsDaouda »

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: SFML Game Engine for Web (HTML 5 - CSS 3), Android and PC
« Reply #18 on: October 07, 2020, 08:31:31 pm »
Hi everyone, I hope you are doing well! :D
is::Engine 3.1 is available, here are the new features:

Web support (HTML 5 - CSS 3): you can now run your C/C++ games in a Web Browser.



GRM (Graphics Resources Manager) system: allows you to use Textures and fonts without using (instantiating) an SFML object in the code.

CFF (CMake Files Fusion) system: Now all the CMakeLists.txt files that allow you to compile your games on Android, PC and Web are all linked to the same include file (app_src.cmake / isengine.cmake).
Explanation:
When you fill in a source file (.cpp) in the app_src.cmake or isengine.cmake include file, it is automatically detected in all CMakeLists.txt files which allows you to compile on different platform (Web, Windows, Linux & Android).
Note that:
You can decide how the file will be included (eg: prevent C++ files which are intended only for the PC from being supported when compiling on Android / Web)!

Have nice day ! ;)

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: SFML Game Engine for Web (HTML 5 - CSS 3), Android and PC
« Reply #19 on: October 27, 2020, 10:56:07 pm »
Hi, everyone, I hope you’re all okay.
The web demo of is::Engine is available here:
is::Engine Web Demo
« Last Edit: October 28, 2020, 02:24:53 am by IsDaouda »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: SFML Game Engine for Web (HTML 5 - CSS 3), Android and PC
« Reply #20 on: October 31, 2020, 02:03:30 pm »
Pretty dramatic music for a game engine :P

Is the demo somehow interactive? If not, you might consider adding some interactive elements, and showcase more features directly.

The text on the rotating cogwheel is hardly readable, and the changing thickness looks a bit like a glitch. Maybe make it more smooth and consistent.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: SFML Game Engine for Web (HTML 5 - CSS 3), Android and PC
« Reply #21 on: November 01, 2020, 06:33:20 pm »
Hi,
Thank you for your feedback, they will be taken into account.
Good day to you.  :)

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: Web Game + SFML Game Engine for Web (HTML 5 - CSS 3), Android and PC
« Reply #22 on: November 08, 2020, 07:00:55 pm »
Hi everyone, hope you are doing well!  :)

A new update of is::Engine is available but this time it comes with a web game that was created with it.
This is a special version of the game (Complete game overhaul) I Can Transform (released on Android) created to celebrate these 2 years.
The game was created with SFML except the physics engine that I had coded myself (It was a real pleasure ^^).

Here are the new features of version 3.1.1
IS_ENGINE_RENDER: allows you to optimize your games so that they can run on old computers (mine for example ^^).
Game Slider: allows you to do sliding actions (like on Smartphones) to manipulate your menus.
Transition Effect: allows you to make Fade Out and Fade In type transition effects.
Improved web support: many bugs have been fixed.
Support of Render Texture in web development.

Game Engine link: Here



Here is web game link: Here
(It's a web game so it's playable on PC and mobile)
A tip to start the game well, note that the environment is your best ally in this game.

Here is the trailer:



The development of the game and the engine update were done during this week (at my free time of course)
so I didn’t have time to create many levels. But believe me, there’s enough for you to have a good time. :)

Your questions are welcome.

Have a good day :)
« Last Edit: November 08, 2020, 07:17:06 pm by IsDaouda »

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: Web Game + SFML Game Engine for Web (HTML 5 - CSS 3), Android and PC
« Reply #23 on: November 09, 2020, 01:06:45 pm »
Hi,
An update has been made to the web game.

Web Game Link

Your feedback will be welcome.
Have a good day.

sfml_noob

  • Newbie
  • *
  • Posts: 5
  • Arch Linux - g++ 10.2.0
    • View Profile
    • Email
Re: Web Game + SFML Game Engine for Web (HTML 5 - CSS 3), Android and PC
« Reply #24 on: November 19, 2020, 06:50:43 am »
the mouse pointer isn't working for me (the click is detected in the game though but on the menu I can't click the title menu).
I'm on Firefox.

Keyboard works though

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Re: Web Game + SFML Game Engine for Web (HTML 5 - CSS 3), Android and PC
« Reply #25 on: November 26, 2020, 06:49:13 pm »
Thank you for your feedback. :)
We will work on it.

Have a good day.

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Hi everyone, :)
Hope you are well and ready for the holiday season. ^^
is::Engine 3.2 is released and it comes with a lot of new features that you will have a good time with during the holidays.

Without further ado here they are:
Qt Creator 5.12.9+ support: now you can develop with the game engine without configuring the IDE.
A Youtube Tutorial that shows you how to import an SFML project into is::Engine in order to benefit from the engine's features such as exporting to the Web (HTML), Android, etc.



Another Youtube Tutorial that shows you how to make a game (Arkanoid) with the game engine.



A pack of examples: that shows you how to use the different features (Box 2D, Virtual Game Pad, Animation, etc.) of the engine.
Github Link
A new C++ Web game: Arkanoid.
Web Game Link



Here is! This is what I have to offer you for the holiday season. :)

Your questions and feedback are welcome.

Thanks for reading and happy New Year's Eve everyone!
« Last Edit: December 07, 2020, 08:43:56 pm by IsDaouda »

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Greetings to all, :)

The source code of the C++ web game : Arkanoid is available here.



Happy weekend to all!

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Hi all, :)
is::Engine 3.2.1 is available. This time it comes with features that allow you to be in contact with your users and be able to easily monetize your games / applications on mobile.

Without further ado here are the new features:
Web Push Notification Support: Very useful for contacting your users when you update your web game (this is just one example among many, it's up to you to adapt it according to your needs ^^).
Github Link
The Firebase file is available and the Admob sample has been updated.
GitHub Link
Tip for easily updating an is::Engine project.
Github Link

Thanks for reading and have a nice day!
« Last Edit: February 07, 2021, 05:49:01 pm by IsDaouda »

IsDaouda

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • Email
Hi all,
A new update has been made to the is::Engine project on Github.
This addition shows you how to activate Admob in order to use it to monetize your games.

Happy Valentine's Day to all programming and video game lovers!