Save and Load Binary Files in HTML5
In this example, we firstly draw something (shapes & lines) on the canvas, convert it into a bitmap (pixel data) and save the pixel values as a binary file. //Draw somethingctx.fillStyle =...
View ArticleFast per pixel bitmap animation in HTML5
According to this tutorial (Faster Canvas Pixel Manipulation with Typed Arrays), we can make the code in my last post (per pixel bitmap animation in HTML5/JavaScript) faster using Typed Arrays: //The...
View ArticlePer pixel bitmap animation in HTML5/JavaScript
LICSON showed how to simulate GLSL shader effects on HTML5 Canvas using pure JavaScript: //The requestAnimFrame fallback for better and smoother animationwindow.requestAnimFrame = (function () { return...
View ArticleFour ways for per pixel bitmap manipulation in OpenFL
A BitmapData can be seen as an array of length width*height, holding unsigned int colors values. There are at least four ways to manipulate pixels of a bitmap image(Bitmap/BitmapData) in OpenFL. The...
View ArticleUsing Tor with ZeroNet on Heroku
UsingTorwithZeroNetonHeroku code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} div.line-block{white-space: pre-line;} div.column{display: inline-block; vertical-align: top; width:...
View ArticleDeploy ZeroNet to Heroku as a Public or Private ZeroNet Proxy Service
Note: due to formatting issues, some bash commands below have incomplete display. Just copy and paste the bash code block somewhere for the complete commands.IntroductionThis is a tutorial on deploying...
View ArticleWatercolor Brush --- Online Version Released!
Finally, I decide it is time to release the "Watercolor Brush" online version to public. You can now try it here: http://www.kongregate.com/games/Bruce_Jawn/water-color-brush-the-free-paint-tool...
View ArticleFind the IP, Country and Location of Your Visitors Using JavaScript
Note: You must visit this page using "http" instead of "https" to display the example correctly.Geolocation by geoPlugin is a free service providing Javascript, PHP, JSON, XML and ASP APIs for you to...
View Article"No Programming Needed" Game Editors and Visual Programming
Blueprints - Unreal Engine Visual Scripting (Free & Open Source & Commercial)https://docs.unrealengine.com/latest/INT/Engine/Blueprints/index.htmlNode-based scripting system of Unreal engine,...
View ArticleCuBengine Ported to OpenFL - New Demo Rendering Voxelstein3D's Map at Full Size
Finally, I finished porting my CuBengine prototype to OpenFL, so the engine now supports more platforms instead of Flash only. Here are some screen shots from the Windows binary, showing the engine...
View ArticleDestructor 2015 - The Updated FPS Game Based on Bengine with Source Code
Destructor is the voxel based FPS game power by Bengine I made for the 7DFPS in 2012. Since Mochi Media was down, high score submission doesn't work any more. Recently, I finally updated the game and...
View ArticleFirst Demo of My New Voxel Rendering Engine - CuBengine
CuBengine is the latest derivative of my voxel engine Bengine. The main difference of CuBengine and original Bengine is that CuBengine renders each voxel as a 3D cube while Bengine render each voxel as...
View ArticleRealBengine Ported to OpenFL
Quite a long time since I released the first demo of RealBengine, which is written in HaXe and based on NME. Now I ported the demo to the newest OpenFL, almost with no extra effort. The good thing is...
View ArticleOpen Source and Free Voxel Editors
Voxlaphttp://www.advsys.net/ken/voxlap.htmKen Silverman's open source voxlap engine. It has a real-time WYSIWYG editor - VOXED for editing the game map.Source Code:...
View ArticleOpen Source and Free Pixel Editors
Piskelhttp://www.piskelapp.com/A simple online web-based (HTML5) Sprite and Pixel art Editor. Offline version is also available.Source Code:...
View ArticleGet URL and Read URL Parameters in JavaScript, HaXe and AS3
Find the URL of the embedding page of a swf is a very basic way for domain locking flash games. Similar things can be done for JavaScript based online games. To get the URL, in JavaScript you can...
View ArticleCreate a SWC for Flash & AS3 Projects from OpenFL
If your code is pure haxe, it's easy to generate an AS3 library swc file for your AS3 projects, as documented at http://old.haxe.org/manual/swc: haxe -swf mylib.swc MyLibClasses --macro...
View ArticleTextParser - A Simple Class for Parsing Text Files
TextParser is a simple utility HaXe class for parsing text files. You can use this class to read String, Int variables from a text file. For example, the JiuGongGe UI uses a text file to configure the...
View ArticleJiuGongGe.swc - JiuGongGe UI for Flash AS3 Projects
For using the JiuGongGe UI in your Flash/AS3 projects, here is the pre-compiled swc file: https://flaswf.googlecode.com/svn/trunk/JiuGongGeUI-v0.2/swc/JiuGongGe.swcAn example FlashDevelop project:...
View ArticleJiuGongGe UI - A Simple Open Source UI Framework in HaXe
JiuGongGe (means 9-cell) UI is a UI framework written in HaXe with OpenFL for all platforms, including Flash, HTML5, Android/iOS and Windows. This UI framework is designed to be lightweight and mobile...
View Article