Inspiration

I loved playing pixel games when I was a kid and I mean there is no denial in the fact that we all played "Mario" once in our lives. This was the root cause I decided to make my very own pixel game which was based around us ,yes, we "developers" who love building code and use lots of API's.

What it does

It's a simple sidescroller game where your player can move left, right or even jump. The score of the player depends on the number of API's it was able to collect but not all API's will increase your score. Some might even be fake like a decoy and if you choose to take that API (I mean in terms of game, collect that item) then it will decrease your score ! Moreover every time you collect an API it will actually pause the game screen so that you can query the API and check whether it's giving you the expected results. I feel this is a good way to make a player familiar with so many different kinds of API's at one place.

How we built it

I used HTML canvas, CSS and plain native Javascript to build the game. Node was used as the runtime environment. For the graphics in the game I used an app called 'Pixaki' on iPad so as to create the spritesheets for the player, objects, background scenery and of course the bugs.

Challenges we ran into

Since this was my first time making a game I faced a lot of challenges like making the player fall under gravity and creating the platforms but at the end everything turned out to be perfect .

Accomplishments that we're proud of

I am very proud of the overall vibes of the game because it kind of reminds me of the past. It works the way I wanted so I couldn't have asked for more.

What we learned

I learnt about games and how they are not so difficult to make (at least for this category) but most importantly it taught me the power of JavaScript which I never explored before. I also learnt how to use HTML canvas which was quite fun and easy to understand.

What's next for Collect The API

There is so much more that can be done with this game. We can create many levels, increase difficulty and can integrate maybe about more than 30 API's in one game ! There can be some options to choose between different characters according to user's choice and, yeah a lot more.

Share this project:

Updates