Select Page
Revisiting my first Android App: Morse Chat (2016)

Revisiting my first Android App: Morse Chat (2016)

Hello friends, at the time of learning the android app development we all make many small apps and this app the Morse Chat is one of my complete app that I have created while learning the basics of Android development.

I can surely say any intermediate Android developer can make the exact app in just like an hour but at the start of learning the development process, it’s one of the biggest milestones that I achieved at that time. So today in this post I am actually gonna discuss why and how this app actually got developed. Well for starters in Android Development you would be able to learn a lot and for those who are like “ That’s all? I can make it in just an hour” Can actually understand and correlate the mindset of the development process which we all go through while developing the android app or seriously while developing anything on our own.

Development of everything starts with mostly two reasons only :

  • You Got a Project or work to make that app for someone.
  • You just make it because you think its needed or may be because you need it there.

For me, this app the Morse Chat came to existence from the second reason, believe me for every starter that’s the only feasible option as they can’t really imagine getting a project from someone else!

I was just watching some movie and there a saw an intelligent scientist who was kidnapped sends a message for help by using the tap sounds. Well, I got totally screwed up and wanted to know how he managed to do so and even if he does how are others able to understand it. I did few searches and came to know that he has used the Morse Code for that.

So what’s next? I wanted to be like him and I started learning the Morse code!! But after wasting like 3 days I realized that it’s not something that I should waste my time on it just looks good in movies! But still out of excitement I started writing my social media status in Morse code! It just felt exciting that nobody can understand what it is and if they are even a little smart they can try to get the meaning of the message back. It was like sending a message for smart peoples only!! But writing the Morse code was a boring work! And decoding it back was even worse!!

Then I tried searching for translators and found many available online but guess what I wanted it offline and as an app. From this point my mind got a stuck can I make this make app??? Why not? All it takes is just simple logic and I was already learning the android app development at that time.
So I went on. I used every knowledge that the tutorials has given me and made seriously too simple layout (Best I can make at that time). You can have a look here …

Then after that next target was logic. I had a path in my head:

  • 1. Take the input
  • 2. Loop through it,
  • 3. Replace every character,
  • 4. Handle space in some way,
  • 5. Finally, do both code and decode via the same interface!

Wow , now at that time this was huge as even taking and showing the input back felt like a victory at those times but with above steps I started did many google searches learned and applied a lot and finally completed the app.

You know what was the best part of it?

I actually completed the app! You can be the biggest developer and write hardest of the world’s logic but if you can’t finish the whole app (even in buggy form) you will not get that feeling of being a developer!Because that finishing would give you a sense of confidence , it will work as a proof for yourself that YES you can and you have completed many apps.

So? What are you waiting for? Are you a beginner too? Just try and complete this app just now!! It’s the simplest you can get and fastest you can make. Just start downloading the app from play store below

After downloading open it and try to understand how it works, then start a new android project and just make a copy of this project! Once you are done you will know you can and you will because you know how to complete it isn’t it?

Building Google Play Realtime Multiplayer Games in Unity3d – Part 1

Building Google Play Realtime Multiplayer Games in Unity3d – Part 1

Multiplayer games are fun! Not only that they add up to the challenge, playing against a real human being is always a special feeling. Like everyone else I also loved to play Multiplayer games which in turn motivated me to build Realtime Multiplayer Games. If I will be honest I don’t really know much about multiplayer games yet, at the same time, I can promise you by the end of this journey you and I will have one production ready Real-time Multiplayer Game launched on the Playstore! (I am a bit Android Fan!)

NOTE: This is not a Tutorial (Even if it seems like so)!
I would only be sharing what I did what worked, what did not worked and code snippet of what I wrote as well, however, it would be done with an assumption if you knowing what you are doing! If you think I skipped something, that's probably because I thought its something you should already be aware about.

Why Google Play powered Real-time Games?

There are many useful services for creating Multiplayer games but the one I selected is by using Google Play services. The obvious reason for this choice is complete control over how I implement it and ya it’s free (Who does not like free?). The possibility of not requiring a server which will handle the game looked amazing to me! The users would be able to play games by sending data directly to each other, which is way more faster (complex as well) and scallable as no servers are envolved.

Prerequisite

To continue with on this journey of building our first Real-time multiplayer game in Unity3d you will need:

  1. Unity3d Game Development Tool

    we are going to use Unity to make the Game so you surely need it!

  2. Some experience with Unity3d Game Development

    By experience I mean you should know where to find what! And ya you should be comfortable with adding your own logic and moving the objects around.

  3. Google Play Service Licence

    We would be launching the game there and we will need it to setup Multiplayer as well! Don’t have it yet? Grab it now it’s just 25$ one time fee.

Good to go?

Planning the Game!

Before we move forward and start the Unity Editor it’s very important to understand what do we really want to make? Multiplayer for sure! But what kind of multiplayer game? Let me tell you what I have in my mind! I would be building a simple 3d Real-time multiplayer Tank game! You might ask why tanks the simplest answer is they are simple (they don’t really jump! Do they?), we can restrict them a lot to make things even simpler (like only allowing them to move in 4 direction!) and finally they can shoot and kill each other! (Multiplayer is no fun until we start shooting each other!)

In next part (This page already look’s long to me 🤕) we would be discussing the basic setup needed for multiplayer games. (Make sure you have your google play services account ready by then!) Believe me it’s going to be super crazy! Lots of multiplayer concepts and things that will go wrong once we start! So get ready and let’s again in the next part! (In Progress)

This is not a Resolution it’s my Goal!

This is not a Resolution it’s my Goal!

Today is 31’st December, the last day of 2018! On the gorgeous last day of the year, I have started a new beginning for my blog. Most of you might think “Why today?” and the simplest answer to this would be “Why not today!”.

The whole year I had this domain booked up, I was paying for the hosting as well. Even the WordPress, has been installed since last 4 months and what I did? NOTHING! 

And do you know why? Just because I always thought I will do it some another day which never came. And now am being buried below the burden of the New Year. I feel like I skipped it and its all my mistake. The mistake that happened because I was too stuck, too diverted in my life from the goal that I myself created some time ago.

And now its time for the change! This post might not provide any useful details to the readers but it surely has a message of not letting the things go. Instead of waiting for a perfect moment to work on your dreams start now. Even if it makes no sense start now and keep on working it till you achieve your goal!

Today, I am making a promise to myself to continue to work on Goals that I have setup in past and achieve them as soon as possible. This is not my new year Resolution, its my dream which will come true! I will make it true!