In this tutorial we created a hook layer allowing us to trigger custom events and use them to run custom code. One easy solution to avoid modifying the files each time is to keep a copy of modified files in a safe place, and replacing the original one each time you export a new project.įor android, you need to backup the following files : BBHook.java, PTServiceBridge.javaįor iOS you need to backup the following files : BBHook.mm, BBHook.h, AppController.mm If you export the game to the same folder, Buildbox will overwrite the modified files.
The present code was tested with buildbox 2.1.x and 2.2.x. Please note that this hook layer is a “hack”, it means that it use unofficial event detection code and could be broken by future Buildbox releases if the Buildbox development team decide to change the code behaviour. Such events are important to detect : let’s say you want to unlock an achievement depending on the score value, for this you’ll need to know when the player loose (gameover event) and what is his score value. play start (detected via a start button click),.In this article we’ll add a hook layer which will detect the following events : The hook layer will make it possible to detect some important game events and allow us to execute custom code when they occure. This hook layer will later give us the possibility to add custom services to Buildbox games, such as game analytics, achievements, multiple leaderboards, and even Everyplay video sharing service ! What’s a hook layer, why do we need it ?īuildbox don’t provide any official way to hook events from code, except for custom ad networks.
In this article we will add a hook layer to Buildbox Android export.
Then the user can change or edit the character or multiple characters from the character settings, edit or change environmental settings (gravity, friction) create multiple worlds and levels, create a coin system, power ups, checkpoints, change the user interface and buttons with Node Editor Menu, animate objects, create banner and video ads, export for different platforms with one click, store the source code and edit character and object components.Hook layer for Android and iOS One of the main advantages of the app is the Creator Menu where person can create the skeleton of the game. While using Buildbox, users also get access to over 20,000 game assets, sound effects and animations. The main features of Buildbox are the image drop wheel, asset bar, option bar, collision editor, scene editor, monetization options and sliders that change the physics within the game. Primarily used to create mobile apps, Buildbox exports finalized games to iOS, Android, Amazon Mobile Devices, Amazon TV, Mac, PC and Steam. īuildbox was founded by Trey Smith in August 2014 with the goal " to democratize game development and create a way for anyone to be able to create video games without having to code" It is a cross platform development tool that can be run on both Windows Operating System and OSX. It was acquired by AppOnboard in June 2019.
The core audience for the software is entrepreneurs, designers and other gaming enthusiast without prior game development or coding knowledge.
Windows 7, Windows 8, Mac OS X 10.8, Mac OS X 10.9 and OS X 10.10īuildbox is a no-code development platform focused on game creation without programming, coding or scripting.