A look into the past.

dsp2017-1.png

Introduction

I’m going to use whatever I can from the previous project. I’ll list some of the know-how which will be useful in Cubicforest.

cubic.png

The gameplay

I’m now 100% sure if I’ll use the original idea of the rules (You can check them here: http://adam.skobo.pl/?p=697). Anyway I have tested some variants and now I have some knowledge about do’s and dont’s for what the game could be about. Although idea is not complicated, I’ll look for ways to simplify it even more.

Tiled levels

I have ready recipe on creating maps in Tiled. It may seem as something easy: jut put elements on the map, export to the file, load the file. But: You have to decide how to organize the layers, how to name them, how to smuggle other level-data needed (like available player tools). Maybe even Java source code for loading that data (organizing in data structures) will be useful. Old post: http://adam.skobo.pl/?p=537.

Cubic models

And now an absolute time saver. How to build 3d models, export them to the .blend file, convert it to JSON and then make an import to the game. Little Python magic involved, as it’s a native language for the Blender.

blender.jpg Blender models examples. Their 2d representations visible on the previous screenshot.

How to build a 2d sprite is an another interesting topic. Depending on the 2d perspective, cube’s texture should be drawn in the right order to recreate model in the isometric projection.

Old source code

Not sure if the source code itself will be useful: it does not have some complicated algorithms and neither the noteworthy code structure. But it’s good to have a look on the old files. Maybe something interesting will be noticed.

Solver

Ok, one component is definitely worth of attention: levels solver. Previous version has a component which recursively checks all the possible player’s decisions and gather the winning ones. The way to do it, taking into account level’s structure, is not so obvious.

So in the end: I’m glad that the abandoned project will have a second chance. A Javascript one.

written in Emacs with org2blog mode

4 Replies to “A look into the past.”

    1. Hey, thanks for stopping by :).
      I’m using Emacs for blogging with great https://github.com/punchagan/org2blog extension. Since I’m heavily using orgmode everyday, org2blog mode is very convenient.

      How You’ll use Emacs in Your Unity project? To be honest, I have given up configuring Emacs for dev tasks :/

  1. In my current project I’ll try to use Clojure and functional programming game in Unity. Since it’s Lisp dialect Emacs, would be better IDE, than default Mono Develop, or Visual Studio. ;)
    Using it also for daily writing (currently I’m using just Evernote) sounds interesting to me, especially if we could forward it easily to WordPress.

    1. Wow, that sounds great: but still I’m not convinced if Emacs is a better IDE even for Lisp-like languages ;). But it will be great, if You’ll come to conclusion, that Emacs fits Your requirements.

      Emacs is a killer if it comes to http://orgmode.org/.
      And once again: it’s a pleasure to write WordPress posts with it.

Leave a Reply

Your email address will not be published. Required fields are marked *