Mort's Recent Forum Activity

  • Hey everyone,

    I've been working on an isometric engine for my game. It's been an absolute blast! Construct 2 is even better than Classic. :)

    Because I haven't seen the challenges of an isometric engine addressed before in the forums, I thought I would share what I have so far. The events are reasonably well commented - anyone who wants to use or adapt the engine is welcome.

    Here is the capx:

    dl.dropbox.com/u/906550/Construct%202/iso%20engine.capx

    Image:

    <img src="https://dl.dropbox.com/u/906550/Construct%202/example.png" border="0" />

    Notable features:

    • uses layers for z-sort
    • can save and load levels using JSON files
    • terrain tiles have distinct coordinates in 3 dimensions
    • terrain borders draw automatically (not quite finished, as you can see)

    Hope someone finds this useful! :)

    Cheers,

    Mort

  • Oh, sure.

    I couldn't find the original version, so here's one with some bonus cruft (like water displacement). The events are grouped, though, so you can definitely find the buoyancy stuff.

    http://dl.dropbox.com/u/906550/Construct/water.cap

  • Unintentionally made another:

    <img src="http://dl.dropbox.com/u/906550/images/fractal2.jpg">

    Can't find either on Google, though! It's weird, I've definitely seen them before. (It does look like the Koch curve, especially the Cesaro version of it, but not quite...)

    But I finally got the fill tile working, so that's enough fractal-making for now.

  • I was trying to make a tile that would replicate until it filled an area, but I accidentally made a fractal instead!

    I can't remember what this fractal is called, but I've definitely seen it before. Thought it was a pretty cool accident, though. It emerged from these rules:

    • each tile creates new tiles left, right, up and down
    • if two tiles occupy the same spot, both are destroyed

    (If I hadn't screwed up, only ONE tile would be destroyed in the second rule, not both.)

    <img src="http://dl.dropbox.com/u/906550/images/fractal.jpg">

    http://dl.dropbox.com/u/906550/Construct/fractal.cap

  • Thanks Quazi! I'll do that.

  • I'd like to make a game with an inbuilt map editor, and I'm trying to decide how to store the level data.

    The example I've seen on the forums is to have the array's X and Y values correspond to positions in a tiled grid, with the identity of the object stored as a string. Like this:

    http://dl.dropbox.com/u/906550/Construct/mapeditor.cap

    ...but that's no good for me, because my world will be large and mostly empty, so the array would end up having an unfeasibly large filesize.

    So I'm thinking of using a one-dimensional array as a list of all the objects in the world, and saving the actual information about objects as comma-separated values inside the array. (For example, if the object with ID 1 is a standard block tile at X 250, Y 300, then the first entry in the array would equal "block, 250, 300".)

    Here's a quick example I made:

    http://dl.dropbox.com/u/906550/Construc ... earray.cap

    Does this sound like a sensible approach? I've tested it up to about 1500 objects and it seems to run well - small delay when loading, but acceptable. I'd hate to go ahead with this and find out there's a better way, though.

    (On that note, I'm thinking about trying the same technique with the List Box object, to see if there's any difference in performance.)

  • This is definitely the most stable release on my PC. Thanks a lot, devs!

  • Actually, someone posted a really awesome level editor on the forums a while back... I can't seem to find it by search, but here's the file.

    http://dl.dropbox.com/u/906550/Construct/mapeditor.cap

    The events are very well commented - should be self-explanatory. (Thanks, whoever made it!)

  • Thanks, Porlo!

    Re the example: Wow, that's a really complete, straightforward time reversal - I can't imagine it getting much easier than that.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry, but where can I find the "S" plug-in? (I didn't have much luck searching for it, since it's a single letter...)

  • Oops, forgot to mention - I used the latest version of Construct to change it, so you might have to update before it will work!

  • That's amazing. I can't believe you did it with so few events!

Mort's avatar

Mort

Member since 30 Dec, 2008

None one is following Mort yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies