A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Is-Daouda/is-Engine-Demo below:

Is-Daouda/is-Engine-Demo: This version is made for 35 years of Super Mario Bros!

is::Engine (Infinity Solutions::Engine) 3.3.3 Demo

About the project components Example of a project created with the engine How to use is::Engine with the different development tools: Android Studio

This project uses the template of Georgik and Lauchmelder23.

1. Prerequisites

Very important

2. Installation

  1. Download Android Studio 3.x (recommended version 4.0.1).
  2. Download the Android SDK and install it in C:/Android/SDK.
  3. Download Android NDK android-ndk-r20b-windows-x86_64 and create a folder on your disk as follows C:/Android/NDK then extract the contents of the zip in this folder.
  4. Set the environment variable ANDROID_NDK with the path C:/Android/NDK.
  5. Move the is-Engine-Demo project to your C:/ (C:/is-Engine-Demo).
  6. Open the is-Engine-Demo folder with Android Studio and start the compilation.

If all goes well you will have a is::Engine Demo Screen on your Android emulator.

Enjoy!

2. How to replace the package name (com.author.isengine) of the application

  1. Replace this line in the gradle.app file.
  2. Replace this line in the AndroidManifest.xml file.
  3. Replace this line in the SDLActivity.java file.
  4. Replace the abresence com/author/isengine in which is the file SDLActivity.java that you have just modified at the top by yours (example com/yourname/yourgamename).
  5. Replace this part ..._ com_author_isengine _... of line 20 and 23 in the file SDL_android_main.c by yours (example com_yourname_yourgamename).
  6. Replace this part ..._ com_author_isengine _... on the 23 lines of the file SDL_android.c by yours (example com_yourname_yourgamename).
  1. Replace this line in the GameConfig.h file.

3. Adding Source Files

4. Application location

Web (HTML 5 - CSS 3)

1. Prerequisites

2. Installation

  1. Download Emscripten and install it in C:/emsdk, define its path in the environment variable Path
  2. Download Python after installation, define its path in the environment variable Path
  3. Download CMake after installation, define its path in the environment variable Path
  4. Download Java after installation, define its path in the environment variable Path
  5. Move the is-Engine-Demo project to your C:/ (C:/is-Engine-Demo).
  6. Execute this command :
cd c:/is-Engine-Demo/app/src/main
mkdir bin-web
cd bin-web
emsdk activate latest
emcmake cmake ..
make -j3
python -m http.server
  1. Visit this url localhost:8000 in your Web Browser.

If all goes well you will have a is::Engine Demo Screen on your Web Browser.

Enjoy!

3. Adding Source Files

Very important Web Push Notification
  1. Web browser (preferably Google Chrome)
  2. Web server for Chrome or your own web server.
  3. Define the Application Server Keys in the main.js file. You can get this keys (We will use the public key) here.
  4. Launch the web or bin-web folder (generate using emscripten) via the web server.
  5. Click on the "Enable Push Messaging" button to activate the sending of Push Notifications. Once done you will have a code (which can be used to send you push notifications).
  6. Go to this site and enter the code in the "Subscription to Send To" text field followed by your message in "Text to Send" text field. Click on the "Send Push Message" button.
  7. If all goes well you will have a push notification followed by the message you sent in the console (development tool) of your browser.

Configure the Push Notification
  1. To change the information (title, details, ...) of the Push Notification you must refer to the sw.js file.
  2. To change the Push Notification image files, refer to the images folder.
  3. To change the page that is launched when you click on the notification, refer to the sw.js file.
CMake

1. Prerequisites

2. Installation

  1. Compile SFML with CMake to have static libraries and put on C:/ (C:/SFML).
  2. Move the is-Engine-Demo project to your C:/ (C:/is-Engine-Demo).
  3. Execute this command :
cmake -S "C:/is-Engine-Demo" -B "C:/build"
cd build
make
  1. Install SFML 2.5.1 on your machine.
  2. Move the is-Engine-Demo project to /home/user/ (/home/user/is-Engine-Demo).
  3. Execute this command :
sudo cmake -S "is-Engine-Demo" -B "build"
cd build
sudo make

3. After installation

5. Adding Source Files

Qt

1. Installation

  1. Download Qt 5.12.9 MinGW here and install it.
  2. Download this version of SFML already compiled for Qt 5.12.9 and extract it in C:/ (C:/SFML_Qt_MinGW).

2. Opening the project with the IDE:

  1. Run the file open_qt_creator.bat in the main directory (Make sure you have included the path to the Qt executable in your PATH environment variable).
  2. Or open the file is-Engine.pro in the location is-Engine-Demo/app/src/main/qt

3. Executable location

Visual Studio Code

This project uses the template of andrew-r-king. For more information on this template click here.

1. Prerequisites

2. Installation

  1. Download & Extract SFML 2.5.1 to C:/SFML/ where the bin/lib/include folders are contained within.
  2. Download & Extract MinGW to C:/mingw32/ where the bin/lib/include folders are contained within.
  1. Ensure the GCC Toolchain is installed (sudo apt install build-essential).
  2. Run sudo apt install libsfml-dev. The SFML version you got will vary depending on the distro. 2.5.1 is included in Ubuntu 19.04 Disco Dingo for example.

3. Opening the project with the IDE:

  1. Run the file open_vscode.bat in the main directory.
  1. Execute this command in the main directory:
  1. Or open the is-Engine-Demo/app/src/main folder with Solution Explorer.

4. Executable location

Code::Blocks

1. Installation

  1. Download Code::Blocks 20.03 MinGW here and install it.
  2. Download this version of SFML already compiled for Code::Blocks 20.03 and extract it in C:/ (C:/SFML_CB_MinGW).
  1. Download Code::Blocks 20.03 and install it.
  2. Ensure the GCC Toolchain is installed (sudo apt install build-essential).
  3. Run sudo apt install libsfml-dev. The SFML version you got will vary depending on the distro. 2.5.1 is included in Ubuntu 19.04 Disco Dingo for example.

2. Opening the project with the IDE:

  1. Run the file open_codeblocks.bat in the main directory (Make sure you have included the path to the Code::Blocks executable in your PATH environment variable).
  2. Or open the file is-Engine-windows.cbp in the location is-Engine-Demo/app/src/main
  1. Execute this command in the main directory:
codeblocks "./app/src/main/is-Engine-linux.cbp"
  1. Or open the file is-Engine-linux.cbp in the location is-Engine-Demo/app/src/main.

3. Executable location

Develop SFML games with SDL 2

1. Installation

  1. Download Code::Blocks 20.03 MinGW here and install it.
  2. Download this version of SDL 2 and extract it in C:/ (C:/SDL2).
  3. Put the .dll files which is in the bin folder of SDL2 in the main folder.
  1. Download Code::Blocks 20.03 and install it.
  2. Ensure the GCC Toolchain is installed (sudo apt install build-essential).
  3. Run sudo apt install libsdl2-2.0-0 libsdl2-gfx-1.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-net-2.0-0 libsdl2-ttf-2.0-0 to install all SDL 2 libraries.

2. Opening the project with the IDE:

  1. Run the file open_codeblocks_sdl.bat in the main directory (Make sure you have included the path to the Code::Blocks executable in your PATH environment variable).
  2. Or open the file is-Engine-windows-SDL2.cbp in the location is-Engine-Demo/app/src/main
  1. Execute this command in the main directory:
codeblocks "./app/src/main/is-Engine-linux-SDL2.cbp"
  1. Or open the file is-Engine-linux-SDL2.cbp in the location is-Engine-Demo/app/src/main.

3. Executable location

Very important Change application icon: Description of the project structure:

Contains the entry point of the program, inside there are two instructions :

Contains the source code of the game. Description of these sub-directories:

Contains game resource files (music, sound sfx, image, ...)

Contains the source code of the game engine

Special things to know about the engine

With the is::LibConnect you can write code for a specific library. Here is how to do it:

sf::Text text;
text.setString(
// on PC (Windows / Linux)
#if define(IS_ENGINE_SFML)    
    "We use SFML 2 library"

// on Android or when you use SDL to create SFML games on PC (only for Code::Block at the moment)    
#elif define(IS_ENGINE_SDL_2)
    "Run SFML 2 with SDL 2"

// When we develop for the web (HTML 5) with Emscripten    
#elif define(IS_ENGINE_HTML_5)
    "SFML 2 on Web"
#endif
              );
If you have discovered another way to use the game engine, don't hesitate to share it! We will put it in this Special section so that other people can benefit from it! How to update an is::Engine project
  1. First of all the part of is::Engine that changes most often during updates is the isEngine folder. But it also happens that these files can be modified:
  1. To update your old project with a new version of is::Engine: the files (.h and .cpp) you need to move are in objects and scenes. Note that these folders never change whatever the version!

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3