[Source] Isometric Tile Engine

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
xLite
Posts: 11
Joined: Mon Jun 20, 2011 4:13 pm

[Source] Isometric Tile Engine

Post by xLite » Wed Jul 06, 2011 1:31 am

Well I've only recently started working with LiveCode and straight away I wanted to see what it was capable of. So basically I've managed to create a basic isometric tile engine using purely LiveCode. It was a challenge to say the least but unfortunately I feel this language just isn't for me. I have become so used to object oriented programming it's just too much to turn back.

So before I depart I decided to leave the full source code including the images etc that I used. Feel free to use it how you like. I've pretty much created a mini-framework in the Stack script to allow for a new message "enterFrame" which mimics the Flash behaviour of running a function every frame, currently set at a max of 50 fps.

All the other proper code is located in the Card script and you can have a look through to see how I've done everything and maybe even improve on it by adding avatars or furniture etc.


It was fun LiveCode but it's time for me to leave, enjoy the source guys! ;)
LiveCode Tile Engine.rar
Isometric Tile Engine
(44.9 KiB) Downloaded 322 times

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: [Source] Isometric Tile Engine

Post by FourthWorld » Wed Jul 06, 2011 1:48 am

What uncanny timing: just an hour ago I was researching isometric translation. Well done example you got there, but in my case I have a rather unusual need: I'm looking for quick way to turn orthogonal LC vector graphics into isometric polygons. I don't suppose you have anything like that lying around on your hard drive, do you?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply