Jump to content
  • Advertisement

A Game A Month #2 – Release!

Sign in to follow this  
PhilDev

93 views

A few days ago I published my second game – Castle Adventure, A Platformer using the Godot Engine – and finally here are some news related to the development process!

As you have maybe noticed, it took me more time than just one month. Since I had exams in march I decided to take another month, because I was not really satisfied with the state and didn’t have enough time to finish the game.

So here it is! A simple Platformer with eight levels with a castle-like setting, where a knight has to collect coins, avoid obstacles, destroy woodboxes, fight against enemies like ghosts and skeletons, find keys and open treasure chests getting new weapons. The player has three lifes and has to restart a level when he looses them all. The goal is to get through all stages and collect as many coins as possible.

anim_update4_2.gif

Progress

There are some new features since the last update:

  • A menu, which is simply a playable stage with the title of the game at the top.
  • Destroyable woodboxes with spreading particles
  • Possibility to collect coins
  • 6 new swords
  • 3 new levels
  • Soundeffects and background music
  • A outro screen

Summary

Generally, most of the features I added were very simple to implement thanks to the Godot editor. My favourite was the animation of the enemies. For example, the movement of the skeleton is made with keyframe animations without a single line of code! The movement of the sword, the creation and the movement of the background, the lightning, all particle effects and the graphical user interface were also done simply with the help of the editor.

The most of the game logic is scripted in a file attached to the player. Like the movement and behaviour of the player and the events triggered by collisions with items or enemies. Generally, thanks to GDScript, a python-like language, and the useful code completition aswell as the included docs, scripting is very easy and clear, too.

One of the most time consuming features was the possibility to dynamically change the weapon of the player when a treasure chest is being opened. There are two types of swords: a short and a long one. Overall there are twelve different swords and with every sword comes a card which is shown in the pop-up window of the treasure chest.

weapons.png
Weapons

Because the most things are done fast using the GUI Editor, I could focus more on graphical stuff and made my own castle tilesets for the platforms and the background, some obstacles like spikes, a circular saw and an animated zombie-hand and the swords, using Inkscape. Sounds, by the way, are all from OpenGameArt.org.

Problem: Html5 performance

Exporting the project into a Windows, Linux or Html5 Application is as simple as everything else in Godot. It is done with a bunch of clicks. But wait, why there is no Html5 version on the Itch.io page of this game? The answer is simple: the Html5 version was to laggy. Every level of the game has the most time approximately five lightsources being rendered at the same time. I think this is the main performace issue. Also the particle effects are slowing down the performace, everytime they appear.

There was no time left to solve this and also I still didn’t update the project to the new Godot 3.1, which was released just about two weeks ago. I’m curious if this will help. If this will be the case, I will of course update the game and maybe even upload a playable web version.

Conclusion

I’m happy to have finished another game but, as ususal, there are still more things I would like to add. For example more levels, a better ending scene and checkpoints where the player spawns after getting killed. Maybe I will update the game someday.

As mentioned many times yet, developing a game with Godot is very easy and fast in my opinion. There was no feature I struggled with for hours. The Engine is a good choice for both, fast prototyping of game ideas, and creating nice and polished games with every feature a game needs. The best thing is, that Godot is open source and still in development!

Personally, I like to code everything myself, therefore I used engines like LibGDX so far (like in my last game, SuperShot). So it was a new experience to me to mainly focus on the graphics/art and do everything else with a bunch of clicks without planning much time just for coding.

Like in LibGDX (which is based on Java) it is very simple to export games for all platforms. The only drawback in comparison to LibGDX is that you cannot just simply export and distribute a jar-File, which runs on Windows and iOS, but you have to export the project as an iOS application using a computer running the iOS operating system. Because of that i’m not able to distribute an iOS version of the game.

But being based on C++ Godot seems to achieve a higher performance than LibGDX, which is a big advantage.

Finally, I really like Godot, and I think I will use it in the future for my private 2D game projects!

Sourcecode

Of course this project is open source and you can check it out on GitHub or download it here:

Don’t hesitate to give me some feedback on the gameplay, the graphics and the sourcecode here in the comments or on Twitter!

Download the game here (itch.io).

 

View the full article

 

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By RoKabium Games
      Metis enemies – "Ovaline" is a static plant with a corrosive and poisonous gel sack that will rupture if you get too close.
    • By babaliaris
      Hello!
      I know how to make renderers using hardware acceleration using OpenGL.
      Right now I'm creating a super-light 2D game engine in order even really old computers will be able to run it. I want to create my engine automatically detect if a computer supports hardware acceleration and use the appropriate renderer, if not it will use a software renderer.
      I already have the hardware acceleration renderer and already know how to detect and choose which renderer to use, the problem is that I don't know how to draw graphics without using OpenGL. Probably is hard to create your own API that will implement a virtual graphics card and use it to draw graphics. Is there any software that does only that? Not things like SDL, I want something that only lets you do some basics graphics drawing without the need for hardware acceleration.
      The renderer needs to be able to draw rectangles with textures and nothing more.
    • By Giddens
      Hi,
      My name's Greg Giddens, I'm a game developer, programmer, looking for some help creating art assets for the strategy management game I'm developing.
      The game is called Schism and it's being developed in Unity. Schism is a strategy management game where the player manages a cult and their compound, building the compound to be self-sufficient, recruiting more members, and growing the cult's influence. Additionally, the player will also engaging in turn-based tactical missions to further their cult's agenda.
      Currently the development team is two people strong: I'm programming and co-designing, and my creative partner Steve Peacock is writing and co-designing. We've been developing Schism since February and have the main systems in place. What's really holding us back at the moment is our lack of quality 2D art assets in the form of building sprites, character portraits and scenes, and UI art. However, for the time being we just want to create a short reveal trailer with 2D stills so we can launch a Kickstarter. 
      For the trailer we need 9 scenes of people performing particular actions (more details would be provided once collaboration is agreed) and a stylised version of our title, Schism.
      Unfortunately we're not in a position to pay. We would, of course, pay if our Kickstarter was successful after the fact, however, I appreciate how much of a red flag that may raise with some of you, so please consider this to be a completely unpaid job.
      If anyone is interested please leave a comment with a link to any samples.
      Many Thanks.
    • By RoKabium Games
      For this Screenshot Saturday we are enjoying the warm summer weather but we can guarantee it's not as hot as it is down in the caves on Tartarus. Luckily the suit our Alien is wearing can withstand very extreme temperatures.
    • By redoakbytes
      Hi everyone
      I would like to present my first free mobile game, currently only available on Android. I created it in my spare time at Unity with the help of Corgi Engine and DOTween. It is an arcade game in which you have to pass the level as soon as possible, because the player loses his life every second. However, to go to the next level, we need to run the portal. There are two power ups, double jump and wall jumping. During the game, coins are collected that can be spent on a new character in the shop. There is also a table of the best times. There are no in-app purchases in the game.
      Any feedback is welcome
      Google Play: https://play.google.com/store/apps/details?id=com.redoakbytes.timerun2050&hl=en
      Here are some screenshoots:




  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!