EnigmBox 2.0 released on iOS and Android

After 1 year of intense development EnigmBox 2.0 is now available on the Google Play and The AppStore.

Download the game with this link to get 4 Free hints: http://bit.ly/enigmbox_release

Join the community and follow EnigmBox on the social networks.

More puzzles are coming… ;-)

Unity – Install and run an APK on all connected devices with a bash script on OS X

Hey,

As a mobile game developer you need to deploy your game on multiple devices, especially on Android devices.

Unity can only Build and run on ONE device.

If you connect several devices the build will be run on one device only.

So if you want to install and run an .apk file on all connected devices you can use this script:

  • Create a file named push_apk_all_devices.sh
  • Copy and paste this script:

  • First, you need to install the Android SDK
  • Open a Terminal window
  • Type adb and Press enter in order to check if the adb command is installed

  • Check if the devices are connected and type adb devices

  • Build an .apk file with Unity
  • Then launch this script: sh path/push_apk_all_devices.sh (just drag and drop the script in the terminal window)
  • When it’s done press CTRL + C to stop the script.

SOURCE: https://stackoverflow.com/questions/8610733/how-can-i-adb-install-an-apk-to-multiple-connected-devices/14822827

Unity – Get the max android volume with JNI without native plugin

In the previous post we learn how to get the current volume.

As I said the max volume can be different according the OS version or de device.

Now let’s get the max volume in c# without native plugin:

Unity – Get current android volume with JNI without native plugin

To get the current volume value on Android in Unity without plugin you can use this c# script.
Thanks to the Java Native Interface.

You will get an integer between 0 and ?, 15, 13, 25, …
NB: Actually the max volume value depends of the OS version.

Save NoLife: The Game – DesertBus 2016 challenge

New game developed and released in only day for the French “Desert Bus for hope 2016” a charitable work.
The challenge was given by a donator.

Make a game about the French TV station: “NoLife” and keep it safe from the Bolloré’s repurchase.

Can you beat 2,900 points?

Have fun!

Casual Connect Asia 2016: 2 IndiePrize awards for EnigmBox

EnigmBox was selected by the Indie Prize jury to participate to the Casual Connect Asia 2016 @ Singapore.
Actually Enigmbox was also present during the Indie Prize showcase at Amsterdam in 2015. It was a great experience for my first Casual Connect event.

IMG_4284IMG_4420

But this year we won 2 IndiePrize awards:

  • Best In Show Critics choice award
  • Most innovative game award

ipa_best-in-show-critics-choice ipa_most-innovative-game

EnigmBox was also nominated for the Best mobile game award too! Thanks all!
That was amazing. We were very surprised and happy with those awards.

IMG_4314

The place was really beautiful. Singapore is an amazing city, very different from my French town that’s certain. We also played awesome games and met crazy indie game developers!

IMG_4246IMG_2871 IMG_4276IMG_2853

Since this event we are in the home page of the IndiePrize website with other cool developers :).

capture-decran-2016-10-04-a-11-47-58

You also can see all the winners and the nominations on the official IndiePrize website.

Now I have to work on the Android version of EnigmBox ;).

Unity – Detect if Wifi is enabled on Android without plugin

Sometimes you need to check the Wifi connection of the device on mobile for several reasons.

In order to get the permission to get the Wifi state you have to add this permission in the AndroidManifest.xml file:

Then use this code in your c# class:

[Tutorial][Unity] Generate and import a bitmap font with a free tool

In this tutorial I will show you how to generate and import bitmap fonts in Unity3D with ShoeBox and GlyphDesigner.

UPDATE 07.07.2016: An Unity asset store plugin can convert your bitmap fonts for free: https://github.com/lite3/Unity-BitmapFontImporter
UPDATE 11.17.2015: Littera is an online tool. It works great and it’s free: 
http://kvazars.com/littera/
UPDATE: Unity 5.x, I updated the script but there is an issue with the space interline.

EDIT: GitHub repository

You can use your own custom font in your Unity games like this:

MyCustomFont-export

Capture d’écran 2015-03-22 à 22.15.51

First of all we need to export a .xml file and a .png file.

You will also need this piece of code to generate a font compatible with Unity. I modified and found this C# script in the Unity forum.

Download and add this C# script in your Unity Assets folder: GitHub zip

The softwares

It exists several applications to export a bitmap font with a .xml file but in this tutorial we will use ShoeBox and GlyphDesigner:

Export a bitmap font with ShoeBox

Capture d’écran 2015-03-22 à 22.18.34

Capture d’écran 2015-03-23 à 11.46.51

ShoeBox is a free Adobe Air based app for Windows and Mac OSX with game and ui related tools. Each tool uses a drag and drop or clipboard interaction for a quick workflow.

How to generate the required files to import your custom font with ShoeBox?

  • Download and Install ShoeBoxhttp://renderhjs.net/shoebox/
  • You can use my custom font in this .psd file: MyCustomFont.psd
  • Watch this video bellow but export with the template: FNT-xml Starling. Yes! Starling! :). The BitmapImporterScript.cs script needs a .XML file format.

Capture d’écran 2015-03-22 à 22.24.25

The video tutorial:

  • Import the .xml and the .png files in your Unity Assets folder.

Capture d’écran 2015-03-22 à 22.06.14

Follow the next step of the tutorial in the next chapter after this one.

Export a bitmap font with GlyphDesigner

glyph

Glyph-Designer_1

Glyph Designer is a powerful bitmap font designer. Create beautiful designs using highly configurable effects, definable backgrounds and more. Make the most of your screen with smart zooming and full screen support. Target hundreds of devices on multiple platforms with support for over 15 frameworks out the box. Streamline localizations with GDCL.

How to generate the required files to import your custom font with GlyphDesigner?

  • Download and install GlyphDesigner for Mac or Windows
  • Create your own custom bitmap font with all the glyphs you need
  • Click on the Export button
  • And select Export Type > .xml (BMFont XML)

Capture d’écran 2015-03-23 à 11.52.15

  • Click Save
  • Import the .xml and the .png files in your Unity Assets folder.

Capture d’écran 2015-03-23 à 11.57.44

Follow the next step of the tutorial in the next chapter.

Import and use the bitmap font in Unity

Capture d’écran 2015-03-22 à 22.50.37

  • Import the BitmapFontImporter.cs file in your Unity Assets folder.
  • Then do a Right Click on the .xml file
  • Click Generate Bitmap Font
  • The Script should generate a .material and a .fontsettings file
  • Now we use the font you just created in your scene
  • Create an UI > Text game object in your scene
  • Select the UI Text game object
  • In the inspector go to the Text (Script) component and add the .fontsettings file in the Character >Font field
  • Then add the .mat file in the Material field
  • Never use the Font Size value in the component but use the Scale of the game object instead

Capture-d’écran-2015-03-23-à-12.15.15

Rolling Jump 1.4 testers and translators needed

RJ_chartboost_240x350px_en

I’m working on my game Rolling Jump released in 2011.

You can download the old version here: http://bit.ly/rolling-jump
But next week the 1.4 version will be available on the app store with new features, optimizations, etc.

Available-on-AppStore

I decided to improve my game but I need your help to translate the game in more languages.

Please send me an email: contact [at] benoitfreslon [dot] com

Thank you all.

Kmembert – game developed in 17h – Post mortem – Ludum Dare 28


icon_200x200

PLAY KMEMBERT on LudumDare.com

Game description

Kmembert (Camembert: A delicious french cheese) is a puzzle/infiltration/action game :). The gameplay is quite simple: You are a cheese and you have to kill all nazi mice in one shoot. Get the cannon bullet and trick the mice in order to kill them all in a single shoot. 9 levels are playable. HAVE FUN ^^!

Capture_20131215_005Capture_20131215_003 Capture_20131216_005Capture_20131216_002

Post mortem

It was my first Ludum Dare compo. I just be informed of the event 4 days ago. My weekend was busy but I was motivated to create a simple game saturday morning with the theme “You only get one”. I already participed to the “Global Game Jam” twice, but the Ludum Dare is a different challenge.
I cumulate 17 hours of work for this game.

Gameplay

I found the idea in the first minutes: Get the only one bullet, trick the enemies to manage to kill them all in a single shoot.
The controls are simple and the top view allows to create less graphic assets and less code. I’m a big fan of “Metal gear solid” and I recently played “Hotline Miami”. So I unconsciously designed game mechanics with this game in my mind. I always wanted to design a game like Metal Gear Solid :). Therefore mice can run after you if they see you and you can play with the doors.

Level Design

I modified the mouse behaviours 2 hours before the deadline. So I redesigned the levels accoring the modifications.
I tried to design 9 levels with interesting challenge. I think the levels are fun and you also can understand all puzzles quickly. But I had no time to playtest the levels to another players. That’s why the game needs different mice with different behaviours and more balance.

Graphics

I didn’t want to use human characters, zombies, aliens or monsters. So I decided to imagine a coherent situation with uncomon characters according to the game mechanics. A humanoid cheese against nazi mice ? Why not  :). I’m not a 2d artist but I tried to design simple characters and animations quickly. A pen tablet is a good tool :).

Sounds

Unfortunatly I didn’t have the time to play on my guitar some cool riffs for the background music. The sound fx are just simple homemade sounds of my mouth :).

Tools

I’m a Flash game developer since 2004 so I create all assets, animations and code with Flash. I used the World Construction Kit library. It’s the Box2D physic engine with a WYSIWYG layout, very usefull to design levels. I also used simple libs : TweenMax, Flint. I used “Flash Develop” and I created some assets with Photoshop and Audition.

Conclusion

It was a great experience! Sometimes I watched streams of few developers around the world. I also earn some skills in code with box2d and in graphic design. I found my game interesting but it needs improvements :).