[BEHAVIOR] Isometric

Post your completed addons to share with the community

Post » Wed Sep 16, 2015 7:10 pm

Here's something that's been growing dust on my pc for over a year.

Isometric Behavior
https://www.dropbox.com/s/nmm5g3xlg0s0a ... 7.zip?dl=0

It is a behavior that assists in z-sorting and motion of isometric objects.
At a glance you can:
* have the isometric positions calculated automatically from their positions in the editor.
* set the isometric position
* move in isometric by an offset
* check for overlaps in isometric

My main motivation was make the sorting faster.
Without behavior:
https://www.dropbox.com/s/ge584x7evy3hk ... .capx?dl=0

With behavior:
https://www.dropbox.com/s/o0wm8zgapjaxm ... .capx?dl=0

But it also adds some nifty features like:
* pushing out of other objects in isometric
* positioning a shadow sprite below another
https://www.dropbox.com/s/8fu9qw25hsl5b ... .capx?dl=0


To use:
To be clear this only handles a 2:1 isometric view, so you'd need to make graphics accordingly.

You need to specify the sizes of you sprite in isometric. For instance a 64x64 cube sprite would have an isometric size of 32x32x32. This is important otherwise things may not sort right.

Also sorting will fail (not look right) if they overlap in isometric. So when making the levels or moving with events, you need to keep that in mind.

There is also cases where it can't sort. Like noted here:
http://bannalia.blogspot.de/2008/02/filmation-math.html
Last edited by R0J0hound on Mon Apr 10, 2017 4:42 am, edited 1 time in total.
B
94
S
33
G
118
Posts: 5,394
Reputation: 75,849

Post » Wed Sep 16, 2015 8:05 pm

Many thanks, R0J0hound.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,548
Reputation: 60,440

Post » Wed Sep 16, 2015 9:31 pm

Yep, its a keeper.
Image ImageImage
B
172
S
50
G
183
Posts: 8,439
Reputation: 115,597

Post » Thu Sep 17, 2015 1:53 am

Awesome! just what I needed thank you.
B
10
S
4
G
1
Posts: 31
Reputation: 1,409

Post » Thu Sep 17, 2015 1:23 pm

Great! Exactly what I was looking for. Thank you!
B
45
S
11
G
4
Posts: 517
Reputation: 7,398

Post » Thu Sep 17, 2015 3:19 pm

Hey Rojo is it possible to do some grid base movement with this behavior?

nvm: I got it to work I was using a stupid system.
Last edited by balsh on Thu Sep 17, 2015 10:17 pm, edited 1 time in total.
B
10
S
4
G
1
Posts: 31
Reputation: 1,409

Post » Thu Sep 17, 2015 3:33 pm

Your plugin's are always exceptional , many thanks .
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Sun Sep 20, 2015 10:21 pm

Great plugin. Thanks R0J0hound :D
ImageImageImage
B
47
S
18
G
3
Posts: 164
Reputation: 5,336

Post » Tue Sep 22, 2015 5:30 pm

Awesome!!!!
B
6
S
2
Posts: 9
Reputation: 610

Post » Tue Sep 22, 2015 8:33 pm

Hi Rojo, please explain me why this happen
In my previev i set all blocks to:
Image

BUT IN PREVIEW ALL LOOKS

Image
B
113
S
29
G
48
Posts: 1,882
Reputation: 36,578

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests