isoCubes – an isometric flash engine.

isoCubes – an isometric flash engine.

Based on an isometric flash engine by Eric Lin. Eric can code circles around me and I cannot take credit for his original idea and implementation. This is a work in progress as I attempt to make the grid user editable.

In other words, the user enters in the map matrix to control the map’s peaks and valleys. A possible engine for user editable maps for a Flash isometric, RTS-type game.

[kml_flashembed movie=”/repository/swf/isoCubes01.swf” /]

8 Comments
  • Fiachna
    Posted at 01:10h, 02 July

    Any possibility of coding an engine that creates a 3D isometric landscape from a black and white or coloured heightmap? I can code for sprite behaviour on such a thing.

  • Jefte
    Posted at 00:46h, 06 July

    That would be the next logical step. Parsing a colored image instead of a string of 1’s and 2’s. I might propose that to Eric and see if he thinks its possible.

  • Fiachna
    Posted at 06:32h, 06 July

    I suppose the main issue is allowing the program to read a natural media image, interpret the data as a heightmap and then convert it into vector, which could potentially use a fair amount of CPU, but it would allow for rotating and zooming, which then brings in the issue of 3d sprites, which are easy enough to do with actionscript and an array of images, but they would need to be compressed at an enormous rate to be practical. But the colours should be easy to interpret as flash has a built in hexadecimal colour recognition system. But the main issue is to minimise the use of the CPU, as flash tends to devour Ghz at an alarming rate.

  • Jefte
    Posted at 09:01h, 06 July

    Well since Flash is primarily a vector tool, it is not really meant for handling bitmap data. It is possible to obtain the rgb value of a single pixel with flash, but only by first running the image through some Java to obtain a data array of each pixel’s rgb value. Eric Lin does this here http://ericlin2.tripod.com/getrgb/getrgbt.html

  • Fiachna
    Posted at 22:44h, 06 July

    Perhaps if you were to draw it as a set of lines with assigned data, like the heightmaps in roadmaps and things, it would work? It’s an alternative to the colour method and potentially could be much smaller and less demanding on a computer. You would simply need to include a smoothing algorithm for the empty gaps between the lines.

  • JC
    Posted at 16:54h, 04 September

    I found this site
    http://www.kirupa.com/developer/isometric/different.htm

    I’m looking to make an iso engine of sorts myself… the approach on the site beforementioned is very simple. I managed to make it work too. I’m planning on eventually making a “game interpreter” for RPG’s
    (explanation warning)
    Being a dedicated DM i want some of my less imaginative players to actually “see” what’s going on in the battlefield w/o having to take the damn miniatures around 😛
    so If my little project is successfull I might be able to put some sprites into this iso landscape and make em “behave” acording to the rolls which will be manually imputted (so they dont slack off) giving in the end a sort of mini movie of what happened 🙂 )

    Ineed to find out how to make a “boxed” sprite follow the position node of a sprite inside another movie” so eventually ill be able to load whomever they want into the battlefield. (thas another project)

    Seing as were all in search of answers for almost the same type of project i believe it would bemutually benefitial to form a “pseudo – partnership” in search of the end results 🙂

  • dsfs
    Posted at 09:24h, 18 July

    what is this?? where is the engine?

  • Sameer
    Posted at 07:01h, 18 April

    Yeah where’s the Engine!!??? :S

Post A Comment