Godot 4 courses Launching in Early Access starting Jan 30
you can now pre-order
godot 4 courses
Save up to 25%

Godot 3 Close and Ranged Attack Tutorials

By: Nathan Lovato - October 24, 2017

Banner image

Last week we did a tutorial about attack mechanics in collaboration with Heartbeast. I got important feedback from you, the backers, and wanted to apply it to a self-contained tutorial. Consider it as a bonus while we’re waiting for Godot 3 beta.

Close combat attack:

  1. Weapon Animation
  2. Weapon collision programming

You’ll learn to use animations to control the gameplay

Heartbeast’s tutorial:

  1. Ranged attack: fireball

Heartbeast’s part revolves around a cute dragon, and FIRE

It shows some of Godot’s strengths:

  • Inherited scenes act as a base class that child scenes derive from, but you control it all through the editor.
  • Gameplay controlled animation. The two available weapons share a common Weapon.gd script. Their speed, the attacks' anticipation, their visibility, and their collisions are all controlled by the animation.

The powerful Call Function and Transform animation tracks are broken in the unstable releases. So I could not use them for the tutorial. We’ll look into that in the course. As Ben released his last Game Maker course last month, he had a little bit of time to do a collab. That was a good opportunity to make some training material. The demo is also open source, available for the entire Godot community.

While we’re at it, it’s more than time to give a shout out to the Kicsktarter’s four sponsors. Three company owners and Mario Fux, the organizer of the Randa Meetings, supported the campaign with important pledges. They also are Godot supporters.

Gamblify

Gamblify’s logo

Gamblify is a software development company located in Copenhagen, Denmark. They build applications and games for the gambling industry, from slot machines to betting terminals. It’s a team of 26 persons, including 14 in the software department.

Gamblify’s latest game, Monsters from Outer Space

They worked with several engines in the past, starting with Ogre3D, Cocos and Unity. They now use Godot and are among the biggest donors. They not only helped to fund Godot 3.0 with donations in 2016 and this year: they plan to keep supporting the developers regularly.

Their latest game, Monsters from Outer Space, is a Godot game.

Gamblify’s latest game, Monsters from Outer Space

Pineapple works

Pinneapple works’s logo

Pineapple Works is a Polish software development company. They design and develop software, configure and deploy servers, build quality websites, but also games! Like Gamblify, they supported the Godot developers with a large donation. They already used Godot for client work and are looking to work with it again on future games.

Gamblify’s latest game, Monsters from Outer Space

Echo86

Echo86’s logo

Echo86 started out as a web design agency and grew in a full-service technology company. They are experienced with HTML 5 game design, and are looking to add Godot to the long list of technologies they use. They work with AngularJS, NodeJS, Pixi, Phaser, and more!

Mario Fux

Konqi, the KDE mascot, in front of a Swiss pike

Mario is a kind, busy teacher, developer, and free software advocate. Every year he organizes the large Randa meetings in Switzerland for the KDE foundation. I joined them in 2016 to eat swiss delicacies give a hand and meet fellow developers. Along with the school he works at, they supported both Kickstarter campaigns.

Get in touch!

Need to reach me? Send me a message anytime @NathanGDQuest on Twitter.

Made by

Nathan Lovato

GDQuest founder. Courteous designer with a taste for Free Software. I promote sharing and collaboration.