Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Friday, December 28, 2012

Painless way to create a HTML5 games

You probably already know Construct 2. It does have lots of predefined drag and drop actions and supports WebGL transformations,but for commercial use you need to buy a Personal licence which cost  a 119$. Another option is Game Maker: Studio which cost ~100$ (49.99 for Processional version + 49.99 for HTML5 export module). It's offering a 50$ discount so later you may need to pay full price ~200$. 

Luckily there is a free game maker available for commercial purposes and with extra script you can even make a Android or iPhone games. The app is called Tululoo HTML5 Game Maker . It's available for Linux and Windows. It's really easy to learn and you can make arcade style games like Super Mario Bros. or Legend of Zelda in a few hours.

Here is my first HTML5 game that I made in one day. It needs some polishing and I will released as Flash version since it doesn't appears right on Blackberry 10 and Playbook.


It's a simple Whack-a-Mole game in a winter theme. You have a 60 seconds to whack as much as possible moles. Don't forget to turn on Fullscreen mode on your browser by pressing F11. 

Saturday, December 22, 2012

Porting Android games to Blackberry 10/Playbook

It's really not so easy to find a game engine that will work on Android and Blackberry Android virtual machine since Blackberry doesn't supports native code and GLES2.

Here is a few game engines that I tested so far:

Doesn't works because uses native code:
LibGDX
Rokon
e3roid
ZenGL a really easy Pascal game engine for Android. 
Flixel-Android ... old version without libGDX libraries may work.
ORX Engine
Gideros Mobile - didn't tested yet,but saw in Blackberry forums that nobody successfully ported any game with this engine yet. And I believe it uses libGDX too.
LGame aka Loon-Simple engine.
AndEngine the latest version use GLES2. The older version may work just fine,but for now I just successfully compiled the library. The examples I downloaded uses native code. There is already few games ported to Blackberry with this library so I will investigate into it later on.

Can successfully export BAR file,but doesn't works on Blackberry 10 simulator
ANGLE and easy to use engine,compiles just fine, but can't get any graphics on screen.
LGame 0.2.8S game example seems to work and it shows about 60 FPS. You will find the older version and example on the project download page. After a while I am getting message that app is not responding and I can't shoot any bullets due huge lag. 
Works really fast on Android phone.
PapayaGameSDK - didn't tested since couldn't compile any APK. It's really interesting engine with a ActionScript like programming interface.

Seems to work:

Candroid - an canvas game engine. Seems to work after removing alerts box in examples,but couldn't play a example Duck Hunt style game smoothly and after a while I got exception about not responding application. Probably it's so slow because uses software rendered instead of GPU and GLES1. 
To compile the examples with Eclipse you will need  a Subversion plugin and when you select File -> Import -> Checkout from SVN as URL type a 
http://candroidengine.googlecode.com/svn/ 
And Eclipse will automatically find a Android project.

For now I don't have any game engine for a smooth games development. 

Tuesday, March 1, 2011

Game Engine for Netbooks

I found a very neat game engine called D2D the main features of it is:

  • Takes 0% percent of CPU usage (saves battery lifetime when playing unplugged)
  • Uses DirectDraw which is enought for fast simple 2D games.
  • Supports PNG 
  • Fully written in C

Here is some simple game made with it:

http://zii-game.blogspot.com/2008/12/mario-demo.html
Only 32kb.
It should perfectly fit small resolutions and I no doubt I may run on old Windows 95 machines. I will play around with later on...

Monday, September 27, 2010

DevPaks

I am doing backup of DevPaks that I was downloaded long time ago using DevC++ IDE. You can download some of these from official website. Since a lot of download links are broken I decided to upload all DevPaks I have on my CDs. All of them are really outdated from year 2004-2007. I would really recommend you to update to Code::Blocks open-source IDE. It's a cross-platform and has really nice user interface. There was an unofficial update to DevC++ called wxDevC++ (comes with wxWindows library),but it's written in same Delphi and was crashing a lot since I last time I was using and moving all the toolbars was a really pain. Also I am glad somebody packed MinGW compiler in really handy way. You can grab it from:
http://tdm-gcc.tdragon.net/


Some are with unknown version in the name since I copied directly from DevC++ IDE.

Some also has mirrored some of the packages and I am sure you can easily search for those in Google.
Also check out this mirror:
http://sourceforge.net/projects/devpaks/files/