Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon
13. December 2015


GDX AI, a Java based AI library that works with (but doesn’t require) LibGDX just released version 1.7.


From the change log:


- Updated to libgdx 1.7.1

- API Addition: added GdxAI service locator that reduces coupling with libgdx and allows you to use gdx-ai

out of a libgdx application without having to initialize libgdx environment, so avoiding the waste of resources

and the need of native libraries; see

- API Change and Addition: Messaging API

* Removed delta time argument from the update method of the MessageDispatcher; the new GdxAI.getTimepiece().getTime() is internally used instead.

* Added return receipt support, see

* The report method of PendingMessageCallback now takes an additional argument for the return receipt.

- API Change and Addition: State Machine API

* Now the StateMachine interface has a generic type parameter for the state.

* Added owner's getter and setter to the DefaultStateMachine; also, the owner is now optional in constructor.

- API Change and Addition: Behavior tree API revised and improved, see

* Now tasks have a status that is updated each time they run.

* Added enum support in behavior tree files.

* Now parallel task can specify sequence or selector policy.

* Added cancel method for task termination, mainly used by the parallel task.

* Now you can add listeners to the tree in order to be notified when a task has run and a child is added.

* Now task methods setControl, success and fail are final.

* Now method addChild is final and Task's subclasses have to implement addChildToTask.

* Added decorator tasks Repeat and Random.

* Added leaf tasks Failure, Success and Wait.

* Added branch tasks RandomSelector and RandomSequence; removed deterministic attribute from Selector and Sequence.

* Now the UntilFail decorator succeeds when its child fails.

* Added ability to clone tasks through third-party libraries like Kryo.

* Added support for custom distributions in behavior tree files.

* Now LeafTask usage is less error prone thanks to the execute method.

GdxAI is available on Github or as part of the LibGDX setup.

GameDev News Programming

11. December 2015


On the heels of the recent acquisition of Corona by Perk, Corona just announced the private beta release of Corona Ads:


Only a few weeks have gone by since Corona Labs joined the Perk team and we already have some exciting news for developers. We are announcing the Beta for Corona Ads!

Corona Ads features easy monetization via banner ads, interstitials, and video ads. Integration is simple – you can add ads into your app with just a few lines of code. Corona Ads presents a turn-key solution for Corona developers to start monetizing their apps today.

We’re looking for developers to participate in the private Corona Ads product beta.

If you’re interested in signing up for the beta program, please visit our signup form on


If you’ve never heard of it, Corona is a Lua based game engine aimed at mobile game development.  It was featured years ago in the Lua Game Engine round up although a massive amount has changed since that comparison was authored.

GameDev News

9. December 2015


Thunderbeast games just released their 4th development digest announcing some pretty major changes to the Atomic Game Engine, including a license change to MIT for the runtime.


From the release:

We’ve been focused on improving the Atomic Editor’s content pipeline, workflow, and usability, and are thrilled to announce a new binary is available on the download page!

Let’s take a closer look at some of the exciting updates since the last Development Digest!

New Atomic Editor Binary Available for Download

A new Atomic Editor binary is available on the download page! This version is loaded with new editor features and enhancements, including:

  • New code signed Windows installer for the Atomic Editor
  • Multi-node and component editing with full undo/redo
  • Cubemap generation in the editor
  • Submesh hiding and animation sharing between FBX and Blender files
  • Resizable player preview window that remembers its position, enabling 2 monitor workflow (thanks @rsredsq)
  • Shortcuts for toggling Translate/Rotate/Scale (W/E/R) and between Global/Local transform (X)
  • Hotkey support for common editor tasks: Build, Cut, Copy/Paste, Save, and Play
  • Gizmo translation/rotation/scale snapping (Edit Menu - Snap Settings, hold down Ctrl(Cmd) while dragging gizmo to snap)
  • Frame selection (F key)
  • Orbit selection (F to frame selection, Alt + Left Mouse + Drag to orbit)
  • Navigate the Project and Hierarchy panels using up/down arrow keys (left/right to close and expand nodes)
  • Translate the camera up/down (Q/E keys)
  • Move camera towards mouse position (Alt + Mouse Wheel)
  • New and updated examples available in the editor and on GitHub, including several examples with virtual DPad support and the new 2D Breakout example with touch controls, again thanks to @rsredsq!
  • … bug fixes, and much, much more!!!

Atomic Runtime Now Under the Permissive MIT License!

The Atomic Runtime is now under the permissive MIT license! This gives developers complete control over every line of code in their shipped products and is a reflection of our core philosophy. The full C++ source code is available on GitHub.

Community License (Free!)

We’ve introduced the free Community License which includes the: 2D Module, Windows, Mac, and WebGL deployment, full source code and the choice of one Atomic Pro feature: 3D Module, Android, or iOS. The Community License is available to both individuals and entities. More information is available at The Atomic Store.

WebGL is Now Free for Everyone

WebGL deployment is now free for all Atomic Pro and Community licensees!

We’ve also significantly reduced the initial download size for the Atomic Web Player down to 2.5 megs (2D) and 3.3 megs (3D), compressed. This includes UI, networking, physics, the JavaScript VM, etc. The player caches, so this is only for the initial download of the page.

A big thanks to the Microsoft Edge Dev team for their assistance, the demos now run blazingly fast on the Edge browser!

Lifetime Upgrades for Atomic Pro Licensees Extended

Lifetime Upgrades for all Atomic Pro licensees has been extended, for a limited time. This includes all features, all platforms, and all versions of Atomic Pro, forever, and is available to both Indies and Studios. Learn more at The Atomic Store.

Developer Snapshots Available to All Licensees

Developer snapshots are now available to all Community and Pro licensees. These snapshots come directly from the GitHub repo and provide access to the latest Atomic features, for testing and feedback. Download the latest developer snapshot!

Atomic Community Contributions

Thanks to the Atomic Community for these, and other, awesome contributions!

Type1J - WebSocket and new Web subsystem:

mattbenic - Added the ability to bind static C++ functions to script:

Shaddock Heath - Announced the TypeScript Project Seed:

Shaddockh is also building a dungeon crawl with 2D lighting, and a dungeon and terrain generator using his blueprint system for Atomic. Check out the Atomic Playground for more cool stuff from shaddockh!

CTrauma - Linux build updates:

rsredsq - Added a high performance Haxe vector math library which was featured in Haxe Roundup #334.

GameDev News

9. December 2015


Blend4Web have launched a Christmas/New Year themed contest with a $1000 prize pool.  Full details follow:


We are happy to announce the first Blend4Web contest - a competition in creating interactive scenes for the Web! The theme is: X-Mas and New Year! The days when static images, video and Flash were enough to fully visualize your ideas in Internet are long gone!

The new technology of three-dimensional graphics called WebGL adds a third dimension to the browser, allowing you to implement all your creative ideas. And with Blend4Web, creating this content becomes quick and easy.

Become a pioneer in a new genre! Create a stunning scene that will be experienced by millions of people!

The Prizes


First place:
30% off

Second place:

20% off

Third place:

10% off


Contest Dates

  • Submit your entry by January 10, 2016;

  • All entries will be processed and the winner determined by January 12, 2016;

  • The winning entries will be published on the official contest page by January 13, 2016.

Contest Rules

  • The scene must correspond to the contest's theme;

  • Each step of the work process must be done by the contestant him/herself. You also can record project's history on the Forum;

  • Models used in a presentation must be unique, made specifically for this contest (no BlendSwap, etc.);

  • The work must be completed and submitted before the deadline;

  • Source files (.blend files, textures etc.) and application code (if any) must be published under CC BY 4.0 license.


  • The work must be done using Blend4Web;

  • The result must be presented as HTML or zip archive;

  • The scene polygon limit is 50000 triangles;

  • Textures resolution must be a power of two, maximum 1024 px (for example 1024x1024, 128x512, 512x64). Exceptions are environment cubemaps: they must have an aspect ratio 3:2 and be a power of two vertically (for example, 1536x1024, 768x512);

  • The scene must be optimized - keep the balance between detailization and polygon count, quality and resolution of textures, use the possibility to pack BW textures into RGBA channels, combine several node materials into one using masks, use heavy effects wisely (such as SSAO).


Full contest details are available here.

GameDev News

8. December 2015


Microsoft Imagine just released a trio of coding kits aimed at teaching game programming concepts to kids using Visual Studio and Unity.  The kits include teaching slides as well as complete project files.  The three new kits are:

Check out December’s exciting coding kits:

Binary Break-In

Crack the binary code, teach a safe the binary number system. Create the code for the safe to recognize binary numbers, apply it with bitshifts and then get the gold!

Use C# in Visual Studio with the Unity editor to complete Binary Break-In, a game where a safecracker needs in-depth binary number knowledge to open the safe. Use bitshifts in the code to convert numbers, and then learn to use Unity’s animation state diagram for triggering specific animations on events.

Block Knock

Play with projectiles and physics to clear the table!

Use C# in Visual Studio with the Unity editor to complete Block Knock, a game with the goal of clearing the table of all the blocks while avoiding the cylinders. Code camera controls, projectiles and use collision detection to learn more about physics.

Diamond Miner:

Sow gems and bombs in the soil to create chain reactions and find diamonds. 

Use C# in Visual Studio with the Unity editor to complete Diamond Miner, a game where players must use a limited number of clicks to discover diamonds while avoiding buried bombs. Program mouse click interactivity, create chained explosions, and learn how to randomize the levels for games!

You’ll need Unity and Visual Studio Community 2015, both of which you can get for free. Download these new kits or check out our full selection of coding kits on Microsoft Imagine. We add new kits every month, so come back often.


You can read more about the release here.  It’s interesting to see Microsoft move away from Project Spark and toward Unity instead.

GameDev News

GFS On YouTube

See More Tutorials on!

Month List