New v8 compiled version

Just compiled and added to the repo of v8 versions 8.4.371.7. This version consistently crashed for arm, arm64 and x86 when the Isolate initialization process tried to set the logger up. I have disabled Isolate log capabilities, which is fine on my side, but could not be your case. As usual, I have added libraryContinue reading “New v8 compiled version”

Building a Javascript game Day 2

Sundays are for rest, so this day of work has been an easy one. Some code refactors, like changing the default blending mode, but most importantly I added an important feature I wanted to have in the game. It is expected, that when a group of bubbles pop, depending on their number, some “soul lines”Continue reading “Building a Javascript game Day 2”

Building a Javascript game Day 1

Today has been mostly a setting up day. It is surprising how code written several years ago is still on shape. The game engine allowed me smoothly add a few shaders for the game. Underwater god rays, an explosion that will be triggered when several bubbles are pop at the same time and some raysContinue reading “Building a Javascript game Day 1”

Building a Javascript game from scratch.

For the next 7 to 10 days I will be building a game from scratch. It will be a one-finger time-waster simple-puzzle type of game. Proudly written in Javascript, deployed on android and FB messenger, and running on my own wrapper+renderer tech. Will document each day of work, with a little list of TO-DOs, expectedContinue reading “Building a Javascript game from scratch.”

Generic Javascript to Java bridge

When embedding v8, one of the pain points is how to call Java/Kotlin code from Javascript. It is not just a matter of setting a FunctionCallbackInfo<Value>, but also of dealing with JNI. While there are really impressive exercises for automating JNI code calls, these are only valid suitable when you know your JNI needs upfront,Continue reading “Generic Javascript to Java bridge”