Skenderbeu ne kohe
Mobile game used in Kruja museum
‘Skenderbeu ne kohe’ is a web and mobile game. By playing the game the user discovers information regarding to museum history objects.
The museum has placed QrCode into five most important objects. The user need to scan the object with the phone camera, then a mini-game starts to play. if the user succeeds the information of the scanned objects shows up.
This application’s challenge was in being able to scan qrcode via browser. The WebRTC it’s still not supported from all browsers. For this specific reason we had to create cordova plugin which would be used by a phaser.js plugin. The whole process was easier said than done. Here are the challenges identified :
- Making the plugin of phaser.js to communicate with cordova plugin.
- The proper way how the game should be implemented in order to fit the museum purpose.
Let’s use mobile native sdk to scan museum QrCode.
1. Making the plugin of phaser.js to communicate with cordova plugin.
After a lot of testing we have realized that webRTC was not supported in all browsers nor all devices. In order to achieve our goal we had to consider other options. The platform that we were going to use to port the web project to mobile was already set, that was cordova. Soon we realized that making cordova and phaser.js to communicate with each other was very tricky. To achive our goal we created a plugin in phaser.js that uses the functionality of cordova camera plugin.
2. The proper way how the game should be implemented in order to fit the museum purpose.
As soon as we started the project we realize that making a game for the museum was tougher than we thought. We needed to build a game to adapt to people who wanted to be amused and learning about history in the same time. We came up with the idea of the user scanning point of interest (qrcode) in all available museum floors, just making sure even if they are totally engaged with the game they wont miss anything what the museum offers. Scanning the qrcode, a mini-game starts to play, if the user completes it,the user is presented with a peace of history that the object posses.
Visiting the museum can be fun
The game is now online on appstore and playstore. The museum has tablet with the game installed and ready to be played. If you ever have the chance to visit Kruja museum, make sure you ask for a tablet and have some fun as well.
In case you want to download on your device, don’t worry about the mobile data, the museum has wireless.