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

Author Topic: SFML Game Engine for Android and PC  (Read 1219 times)

0 Members and 1 Guest are viewing this topic.

IsDaouda

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
SFML Game Engine for Android and PC
« on: November 12, 2019, 02:09:40 pm »
Hello everyone,

I present to you is::Engine v1.0 a 2D game engine created with SFML. It offers you tools (Game Scene, Box 2D, Config System, Admob, ...) that allow you to easily develop your games on PC (Windows, Linux) and Android. It comes with the IDE that corresponds to the target platform (Note that you have the choice to use your own IDE).

https://github.com/Is-Daouda/is-Engine

In this post I will show you how to use it to develop on Android :
It is necessary to know the basics of SFML and OOP in C++ before you can use this engine.
This tutorial is for Windows users. Let's go !
If all goes well you will have a Starship game on your Android emulator.

   
 

Enjoy!

All comments are welcome.
« Last Edit: February 04, 2020, 11:33:13 pm by IsDaouda »

aisman

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: SFML Game Engine for Android
« Reply #1 on: November 19, 2019, 07:44:45 am »
Can you please provide a githup link for your engine and the other stuff.
Thanks a lot.

IsDaouda

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: SFML Game Engine for Android
« Reply #2 on: November 19, 2019, 02:10:06 pm »
Hi,
Thank you for your comment.
Here you have the project github link : https://github.com/Is-Daouda/is-Engine

IsDaouda

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: SFML Game Engine for Android
« Reply #3 on: December 07, 2019, 04:31:52 pm »
Hello everyone,
An update was made to the project.
- Added the project_cache.zip file which contains the project's caches, this allows you to easily compile the project.

The contents of the zip file are invisible because they are hidden folders. Download the file and unzip the content and they will be visible.
« Last Edit: December 07, 2019, 04:36:04 pm by IsDaouda »

IsDaouda

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: SFML Game Engine for Android
« Reply #4 on: January 10, 2020, 06:33:21 pm »
Hi,
New update for is::Engine (Android version) :
- Support for the Box 2D engine

To use it, you must add the directory ext_lib/Box2D in app_modules of your project :
https://github.com/Is-Daouda/is-Engine/tree/master/SFML_AndroidStudio-master/app/src/main/cpp/app_modules

Add the sources of Box2D thanks to CMakeLists.txt :
https://github.com/Is-Daouda/is-Engine/tree/master/SFML_AndroidStudio-master/app/CMakeLists.txt

The sources are already included in the Github CMakeLists.txt.
« Last Edit: January 10, 2020, 06:52:37 pm by IsDaouda »

Cryostriker

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: SFML Game Engine for Android
« Reply #5 on: January 12, 2020, 12:14:23 pm »
It's interesting that it seems based on what  I'm ready that SFML needs the ndk android-ndk-r12b-windows-x86_64, which is marked as obsolete and unsupported by the Android developers. Is there a reason for this? It would be preferable to use the current as quite a lot has changed, but the use of a 4 year old version indicates there is a strong reason.

IsDaouda

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: SFML Game Engine for Android
« Reply #6 on: January 12, 2020, 01:59:18 pm »
Yes indeed I had been using the recent versions of NDK some time ago and I had noticed stability problems with SFML. So I preferred to advise the user to choose the most stable version. But note that this may change over time.

IsDaouda

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: SFML Game Engine for Android
« Reply #7 on: January 12, 2020, 03:27:58 pm »
Hi,
The example which shows how to use is::Engine and Box 2D for your games : Link

IsDaouda

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: SFML Game Engine for Android and PC
« Reply #8 on: February 10, 2020, 09:08:26 pm »
Hi everyone,
You can now use is::Engine with Visual Studio Code to develop your games on Windows or Linux.
Link: https://github.com/Is-Daouda/is-Engine/tree/master/SFML_VSCode