You can view the original post on my personal blog site www.programmingwithjon.com
TypeScript is a great language for building games as well as entprise level applications and web sites. If you're just starting out with TypeScript I believe that working with Phaser.js is a really great way to understand how the concepts of the language fit together.
I first started developing games using C# and the Unity game engine after tyring to learn C++ using the Unreal Engine. That was an interesting experience, given that it was my first time actually learning a programming language as well as trying to learn game development. After struggling to grasp the concepts of C++ I decided it best to find another language to learn the basics of programming and build some projects to reinforce the learning.
I decided to give Phaser a shot instead of something like Unity or Unreal Engine 4 because I use TypeScript daily at work and wanted to see if what I knew about game development with C# could transfer over to TypeScript and Phaser. I also wanted to create a game that was easily accessible to a broad range of players. HTML5 web games seemed to be a great idea since you can open a browser on your desktop, laptop, tablet or phone and play my game right there. Unity is great but it's not that great because I would have to figure out how to port the game over to mobile and put it up on a store like Steam or Epic Games Store in order to get people to play it.
I am open to hearing feedback. As a matter of fact I want to hear feedback on the game. I want to add some new features and will be adding them as time permits. Some of the features I will looking to add are:
- Extra Levels
- More Characters
- A Shop to use your in game credits(gold nuggets) to buy character skins and levels
- A leaderboard so you know where others are at while playing certain levels.
- The text before starting the game as to what the controls are
If you have suggestions on how any of the above can be implemented by all means please feel free to reach out to me. Also if you have any complaints with the game please let me know. I want to make the game as fun as possible so hearing feedback is very important.
I am aware already of a couple bugs. One is that the screen has a portion of it cut off on phones. If you are playing on a tablet and have an issue with this please let me know. There is also another bug on phones that sometimes the game gets stuck showing the image to rotate your phone to a horizontal position instead of vertical. I am hoping to fix these issues as soon as I can. Again if anyone has experience with this I would love to hear from you so I can implement the changes as quick as possible.
You can find the game at www.run-goblin-run.netlify.com. The controls are pretty simple however as of right now there isn't anything that shows you what they are. The controls are
spacebar if you are on a laptop or desktop, the longer you press the higher you jump
touch the screen on mobile or tablet, same as above the longer you hold your thumb or finger down on the screen the higher he will jump
I hope that you enjoy playing the game and I look forward to hearing from people.