Talking about Game development, HTML5 and Javascript.
As a PuzzleScript enthusiast I managed to create a Sokoban game, add a virtual pad to play it on mobile devices, try to monetize it with interlevel ads and port it to iOS with PhoneGap.
Now I wanted to remove the virtual pad and control the game directly with swipes. So I added the TouchSwipe jQuery plugin and with this little snippet:
$(document).swipe({ swipe:function(event,direction,distance,duration,fingerCount) { switch(direction){ case "left": checkKey({keyCode:37},true); break; case "right": checkKey({keyCode:39},true); break; case "up": checkKey({keyCode:38},true); break; case "down": checkKey({keyCode:40},true); break; } }, tap:function(event, target){ checkKey({keyCode:88},true); }, threshold:0 });
I managed to achieve this result:
Now I am trying to submit it to App Store as a free app, then if accepted I will release the full source code and start something more original using PuzzleScript
Never miss an update! Subscribe, and I will bother you by email only when a new game or full source code comes out.