Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon
15. July 2018


In Godot 2, there was a visual editor for creating shaders, Visual Shader Editor.  It was removed in Godot 3 because low level shader code changes basically broke it.  Now it’s been fixed and Visual Shaders are now back in the current development branch.  In addition to actually running again, there are also some changes between the 2.x and 3.x versions, as announced on the Godot website:

  • New full PBR output nodes
  • No more Vec3 <-> Scalar adapter nodes, conversion is automatic
  • Easier input nodes for more organized graph.
  • Extending it via scripting (creating custom nodes) is possible.
  • Port previews (see blow)

You can see the newly re-enabled visual shader in the following video:

GameDev News

11. June 2018


Just finished adding another tutorial to the ongoing Godot 3 tutorial series, Sound Fx and Music.  This tutorial covers a ton of topics around audio:

  • Playing audio using AudioStreamPlayer
  • Positional audio using AudioStreamPlayer2D
  • Importing and loading audio files, WAV and Ogg
  • Using the Audio Bus
  • Creating special effects such as panning, reverb and chorus
  • Managing volume
  • Using sound with Area2D


The series homepage is available here.

Programming ,

8. June 2018


Recently Google started rejecting APK files generated by the Godot Game Engine.  APK is the file format for bundled Android applications for deployment to the app store, so this is obviously a pretty serious problem for Godot developers with games on Android.  Thankfully a Godot user created a tool that fixes APK files, making them compatible once again.


Details of using the new tool:

The things you will need are:

  • Your original APK
  • A valid android keystore
  • Jarsigner

The tool takes several command-line options:

  • -j /path/to/jarsigner
  • -k /path/to/keystore
  • -p keystore password
  • -a key alias
  • /path/to/apk

You should be able to recover these settings from the Android export settings of the original game project from the Godot editor.

An example run of the program looks like this:

./godotapkfixer -k ~/tmp/and/debug.keystore -p android -a androiddebugkey GOLTORUS.apk

This is assuming that 'jarsigner' exists in $PATH, or on Windows if the Android studio is installed. If this is not the case the tool can be ran like this:

godotapkfixer.exe -j "C:\Program Files\Java\jdk1.8.0_171\bin\jarsigner.exe" -k "debug store.keystore" -p android -a androiddebugkey GOLTORUS.apk

When using jarsigner from the JDK for instance.

After the program has finished you will find an apkname_fixed.apk in the same directory as the original APK. This APK should now be good to upload back onto the Play store.


The tool is available for download here and the source code is available here.  You can read more about this release here on the Godot website.

GameDev News ,

23. May 2018


I just realized that even though I have been developing a Godot 3 tutorial series and book for the last several months, I haven’t actually posted it here on the front page of GameFromScratch.  Each tutorial is published as pages instead of posts so it doesn’t appear on the front page or in the GameFromScratch.com timeline!  Ooops…SeriesIntroduction


So anyways… I’m working on both a new tutorial series covering the recently released Godot 3.  If you followed my Godot 1/2 tutorial series you should have a good idea what to expect.  In this case the series is primarily video passed, but don’t worry if you prefer text I am publishing all code samples and assets here on GameFromScratch.  Additionally I am writing a book that parallels the videos published in the series.  While it is not available for purchase yet, I am making WIP chapters available to GFS Patreons as I finish them.


Currently the series covers the following topics:

  • Introduction
  • Getting Started
  • Nodes, Scenes and Trees
  • GDScript Programming 101
  • 2D Graphics, Sprites and Animation
  • Keyboard, Mouse and Joystick Input
  • User Interface Development


The series will expand to cover all aspects of Godot 3 development, including 3D, VR and Mobile development topics.  Expect a chapter on Godot 3 audio to be up shortly.


You can access the homepage to the tutorial series here which in addition to video links, also includes all of the code samples and assets used.  If you prefer to just watch the videos, you can find the YouTube playlist here.

Programming

5. May 2018


Godot 3 is gaining new functionality at a staggering rate.  Just last week I wrote about the addition of CSG Support.  Yesterday the development branch of Godot 3 gained 2D Skeletal Deformation, enabling you to animate deformations on a 2D texture using bones.  Essentially you create a Polygon2D object, apply a texture to it and create a polygon cage.  Then you set a series of bones and paint the influences for those bones, at which point on you can deform the underlying texture using the bone system you just created.  If you’ve used a tool like Creature, Spine, COATools or Spriter, you’ve probably got a decent idea how this process works.


If you want to play around with this functionality you current need to build the current development branch yourself.  However if you just want to see the how the new systems work, check out the following video which shows you step by step how to use 2D deformations in Godot.


Do keep in mind this functionality is brand new and under development, so expect some changes in the way things work and the occasional bug, although I didn’t encounter any personally.  If you are interested in learning more be sure to check out the full writeup over on GodotEngine.org.

GameDev News

See More Tutorials on DevGa.me!

Month List

Popular Comments