Codementor Events

Game Development in GoLang

Published Apr 29, 2020
Game Development in GoLang

This was just my fun project, not a professional game.

All I did in my last 9 years web development was use JavaScript and javascript only. But I wanted to learn something new.

I was confused between Rust or GO. Rust is definitely faster than GO, Go is easy to learn and easy to write and maintain. (in my personal opinion)

And so I choose GO

golang game

I recently started learning Go (GoLang) and I thought why not start learning by making a 2D game.

I'm using PixelGL which is almost identical to Raylib.

so far my game has;

  • State Machine (for changing between different maps, anime state, enemies)
  • Storyboard for creating animations (also included AnimationController, Tween)
  • load sound, play sound on certain actions (above video is not updated)
  • Welcome Title Menu screen
  • Game Over screen
  • In Game Menu
  • Selection Menu, Tooltips
  • Combat Arena
  • Attack Options (Attack, Item, Magic, Flee)
  • Attack randomizer (e.g. Miss, Critical, Dodge)
  • Load Town Map (world map)

Im not saying its a good game or its perfect.
All I'm saying is I'm enjoying learning GO. And somehow developing games is more addicting than playing one.

I just hope more people start using GO for game development its way way Better than Python and 1000x times better than Java

Discover and read more posts from Ajinkyax
get started
post comments15Replies
hyper newsy
4 months ago

https://www.hypernewsy.online/exploring-kecveto-a-culinary-journey-through-traditional-stew/

The Kecveto of Turkish home-made food is basified, an unmistakable stew eaten with relish, restricting conventional Turkish stews. This dinner, which can be delighted with delicious bits of meat and an excellent court of vegetables that have all with a zesty supply of flavors, delivers the spirit of Turkish culture. Tracing back to the Ottoman period has been a significant goodness, and our progenitors have long relished it and passed it, starting with one age and then onto the next.

https://www.hypernewsy.online

vape bar ae
4 months ago

It sounds like you’re ready to expand your skill set beyond JavaScript after nine years of web development. Both Rust and Go are excellent choices . [url=“https://vapbar.ae/product-category/juul/”]juul 2[/url]

steve scott
5 months ago
Show more replies