Posts

Showing posts from June, 2017

Tell me the square of 65 in 5 seconds!

Image
Hello, As we make progress, we have our first game in place. The concept of the first game is explained below. Trick 01 : Square of any number ending with 5 Let us find the square of the any number ending with 5. Say x5. Step 01: Think of the number next to x.  Step 02: x * number next to x  Step 03: Put 25 at the end of the answer  Answer = Step 02 | 25 = x * ( x + 1) | 25  Example: Question: (45) 2 Step 01: Next number to 4 is 5 Step 02: 4 * 5 = 20 Step 03: Put 25 at the end of the answer Answer = 20 25 Implementing this game wasn't not our prime concern. We were more involved in defining a framework to implement as many tricks as we can. In that attempt, we have developed our first game. The learning was huge. Being the first one to be developed, we had overcome many difficulties and and also learned a lot. Few screenshots of the game are as follows, Initial menu screen Game screen Following this post, a short tutorial on developing

Starting with Phaser and game states management

Hey, After the community bonding period, I have started to put my hands on developing games and are in my initial stages.As I have mentioned before, being from a Non-CS background, Its been a little struggle in the beginning to make one. With the advantages of Phaser as mentioned in the last post, I was able to make progress steadily. Though I haven't completed my first game, I hope with the learnings so far I shall be able to make one before the next week. I have committed to the community to show them the prototype by June 12, 2017. I have tried out the examples and was making the mock-up screens for the game. From the learnt best practices, using states allows us to break our game up into smaller pieces that can handle different mechanics of the game. So for now, I have created five states that will function as follows, The Boot State - To start the physics system and then call the load state. The Load State - To load our assets and then show them the initial game loadi

A beginner, choosing Phaser as the game framework!

Hello! While I got an opportunity to develop games under Google Summer of Code '17 under Sugar Labs, I looked into many HTML5 and JS frameworks. A curated list of JS frameworks by GitHub can be found here . To filter them out, the following are the available 2D game frameworks, Phaser.io Phaser is an open-source JavaScript framework for writing 2D games. It uses Canvas or WebGL if available. Pixi.js Pixi.js is a rendering library to create beautiful digital content with the fastest, most flexible 2D WebGL renderer. CoCos2D-HTML5 Cocos2d-html5 is a cross-platform 2D game engine written in JavaScript, based on Cocos2d-X and licensed under MIT. And a few more. I have considered the following points to choose a framework. 1) The framework is OpenSource. [Most of the chosen ones are!] 2) It has an active community and has an active forum with answers for the frequently asked queries. 3) A well written guide or tutorials to develop games using it. 4) This point h