Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon
1. May 2019


The PixiJS HTML5 2D rendering library just had their first release in almost 2 years, with the release of PixiJS v5.  PixiJS is an open source, MIT licenses library available here on Github.

The v5 release experienced a great deal of internal refactoring to improve modularity and performance but also resulted in a 20% reduction in size compared to v4.  The API however stayed relatively uniform so migration shouldn’t be difficult, with a supporting migration guide available here.  The new version includes new sprite batching support that should have a pretty profound effect on drawing several different sprites.  The Graphics object also received a few new tricks such as now being cloneable, supporting holes, texture fills and more.

Perhaps the biggest new feature is the new mid level API that has been added, that Pixi itself builds on top of.  Describe in the announcement blog like such:

Ok so I saved the best till last as I think this isn’t far the coolest part of v5. The midlevel API. We created an API that basically abstracts as much of WebGL as possible but still keeping all the power, giving you guys the power to create awesome WebGL that is automatically optimised for you!

In fact all of v5 is built on top of this API. Expect a more detailed post and examples for this one soon.

Additionally, the community created an excellent new tool in the form of the browser based Pixi Playground, a complete editor and runtime environment for playing with Pixi applications.

GameDev News


22. April 2019


GDevelop, the open source 2d game engine I dubbed “the Ultimate Beginner Engine” just had another release, bringing it to version 5.0 beta 66.  This release brings several new features including new tweening capabilities, the ability to save your project to multiple projects to be more version control friendly and a new experimental video object.

Full details of the release from the release notes:

New features

  • New behavior: Tween, to animate objects position/angle/properties (thanks @Wend1go!)
    • See "Pairs" starter game for an example of using tweens to animate objects.
    • Tweens are run using Shifty.js tween engine (thanks @jeremyckahn).
  • Add support for saving a project as multiple files, ideal for team work and using version control systems (like git, mercurial, svn, etc...)
    • In the game properties, choose "Multiples files" and save the project.
    • Layouts, external events, external layouts and functions will be saved into different json files.
    • Make sure to make a backup of your game!.
    • Be sure not to erase any of the multiple files, or GDevelop will be unable to open again your project.
  • New option: Extract Events to a Function, to automatically create a function from selected event(s).
    • Select an event, right click and choose Extract Events to a Function in the menu. Parameters will be automatically filled with objects, behaviors and groups.
    • Read more about it on the wiki.
  • Experimental new object: Video (thanks @Bouh!)

Improvements

  • Add variable and object thumbnail icons in the event sheet (thanks @blurymind!)
  • Add tooltips in the scene editor, when hovering an instance (thanks @blurymind!)
  • Autosave is now made for the project when a preview is launched (thanks @blurymind!)
    • If the editor crash, or the autosave is more recent than the file, GDevelop will ask if you want to open the autosave.
    • Autosave is created next to the original file, with a ".autosave" extension.
  • Update rendering engine to Pixi.js v4.8.6
  • Add checkboxes to filters by conditions/actions in the Events Search (thanks @Bouh!)
  • Show object name in menu when pasting and show hint if pasting as global (thanks @blurymind!)
  • Add setting to set the maximum framerate (FPS) of the game. Default is ~60fps.
  • Show resource name when hovering thumbnail (thanks @blurymind!)
  • Improve events function performance
  • Add support for groups inside events functions.
  • Updated translations.

Bug fixes

  • Disable some menu items (disable event/adding subevent) if not applicable (thanks @blurymind!)
  • Fix crash when choosing a folder for a new game
  • Fix color picker in the scene properties (thanks @KinkGD!)
  • Update link to Discord channel (thanks @Bouh!)
  • Avoid crashes due to clipboard handling
  • Fix crash when using the resource editor in the web-app

You can learn more and download GDevelop here.  It is an open source MIT licensed (core library, IDE is GPLv3) project hosted here on GitHub.

GameDev News


3. April 2019

 

Humble are currently running two new bundles of interest to game developers.  The first is the Humble 8-Bit Pixel Game Dev Bundle and the second is Humble Book Bundle: Classic Video Games by Boss Fight Books.  They are also still currently running the Humble Microsoft.NET bundle if you are a C# developer in need of books… Humble sure do a lot of developer targeted bundles these days.

The first bundle, the 8-Bit Pixel bundle is a collection of game development ready graphics from the Game Dev Marketplace, containing 8/16bit style graphics and sounds.  You can read the Humble License here and the Game Dev Marketplace license here.  I will detail the contents of this bundle by tier below.

The second bundle is described as:

Boss Fight Books publishes nonfiction documentary-style books about classic video games like EarthBound, Metal Gear Solid, and Shadow of the Colossus! Collected here for the first time in one bundle, each ebook takes a critical, historical, and personal look at a single game.

All of the books are available in PDF, MOBI and EPUB formats. 

 

Details of the 8-bit bundle by tier:

1$ Tier

Fantasy Enemy Creatures

Pixelart Game Backgrounds

Super Pixel Objects and Items

Food and Kitchenware Pixel Art Icons

Textures

Golden Coin, Rotate Sequence

World Map Pixel Art Tileset

Game Collectable Pack Pixelart

Will’s Magic Pixel Particle Effects

Deep Forest 16 Colour Tileset

Pixel House Set

8Bit Retro Game SFX

14$ Tier

Arcade Item Pack

Cyber Punk Shooter

Pixel Art Spaceships for SHMUP

Pixel Side-Scroller Spaceships

Pixel Art Bedroom Kit

Pixel Art Tileset Collection

Adenture Package

Pixel Font Pack

Fantasy Platformer Pixelart Props

Zombie Survival

Valiant Knight Pixel Art Character

25$ Tier

Pure 8Bit Magic

Pixel Art Farm Kit

8Bit SFX Pack

Zombie Package

Pixel Game Kit

Pixel Art Game Kit (separate from above)

Customizable Pixel Art Character Kit

Fantasy Medieval

Tiny RPG Dungeon

8Bit Tunes 8pack

Pixel Art Sci-Fi Space Station

Pixel Art Forest Kit

Fantasy Forest Pixel Art Tileset

Music Loops for 8Bit Games

Space Package

Simple Pirate Character

Zombie Characters

Simple Medieval Characters

 

When purchasing a humble bundle, you are able to decide how your money is allocated, between humble, publisher, charity and if you choose (and thanks if you do!) to support GFS.  Watch the video below for more details of the bundles.

GameDev News


13. March 2019


Just 7 years after doing our Battle of the Lua Game Engines comparison between Gideros, Corona, Love and MOAI, we have finally done a hands-on review of the Gideros game engine.  A lot has changed in 7 years, including the fact that Gideros is now free and open source, available on GitHub.  It is a well documented, cross platform (Windows, Mac, Linux, Pi) 2D game engine capable of targeting all those platforms as well as the most popular mobile platforms including iOS and Android.  One of the biggest strengths of Gideros is it’s Player application, enabling real-time testing over Wi-Fi, vastly improving the testing and deployment phases.

Thankfully you do not have to build Gideros from source, with downloadable installers available here.  In addition to Gideros, I highly recommend you check out ZeroBrane Studio for a superior Lua development experience.

The following video shows Gideros Studio in action:


The code we created in the video above was:

local font = TTFont.new("Roboto.ttf", 64)
local text = TextField.new(font,"Hello Cruel World!")
text:setPosition(application:getContentWidth()/2,application:getContentHeight()/2)

stage:addChild(text)

function mainLoop()
	local x,y,z = text:getPosition()
	text:setPosition(x,y+1)
	text:setTextColor(0xff0000)
end

stage:addEventListener(Event.ENTER_FRAME, mainLoop)
You need to place a font named Roboto.ttf (or any ttf font, just change the parameter in the first line of code if you substitute your own font) in your assets directory for this to run.

If Gideros doesn’t appeal to you, but you are still interested in a Lua based game engine, be sure to check out our Love/Lua tutorial series available here.

Programming


16. February 2019


So many of the best games ever created use the Isometric graphic style.  Games such as Baldur’s Gate 1 and 2, Planescape Torment, Ultima 7, XCom and Diablo 1 and 2 are shining examples of games made in this style.  In this tutorial we show how you can easily create Isometric style maps using the excellent open source Tiled map editor.  We show how to import multiple tilesets, create an isometric tile map composed of multiple layers and how to define triggers and properties for use in your game.

Resources Used/Mentioned in this Tutorial:

Programming Design Art


GFS On YouTube

See More Tutorials on DevGa.me!

Month List