Building a Javascript game Day 9

A lot of time has passed since 8th day of work in the game. That subtle need of providing is probably the culprit… I have added a in-game feature: rainbow bubble. This bubble matches against any other bubble type. Can’t be selected on its own or popped using the ray. It is created by poppingContinue reading “Building a Javascript game Day 9”

Building a Javascript game Day 5,6,7,8

These days have been invested on finishing the game model. It’s been an scattered working routine. Instead of taking this side-project too seriously, I just developed when I really felt I could be productive which has turned to be best idea ever since lots of stuff has been accomplished. Score, bonus notification, one power up,Continue reading “Building a Javascript game Day 5,6,7,8”

Building a Javascript game Day 4

4 days in a row working on this little game. Everything starts to pay off, and at the same time, I am already feeling that recurrent thinking of giving up. After all, I doubt I will be able to finish the game in time (my own imposed schedule), and even worse, I doubt I couldContinue reading “Building a Javascript game Day 4”

Building a Javascript game Day 3

Day 3, has been for general refactor. Adding a game model which drives all in-game interactions/actions and on-demand enabling of post-effects (explosion). I am quite happy with the result, but still a couple days away from being able to play the game. I have squandered almost an hour figuring out a problem where the explosionContinue reading “Building a Javascript game Day 3”

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”