[BEHAVIOR] Isometric

Post your completed addons to share with the community

Post » Tue Sep 29, 2015 4:24 am

@remy-jay
That's expected unfortunately. The shadow positioning action was just a quick solution and probably shouldn't have been included. It just puts the shadow sprite it on top of the block directly below the picked block. It only matches the correct z-order at that point.

I don't have a better solution at this time.
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Tue Sep 29, 2015 4:59 am

Thanks @ROJOhound, it's still an awesome behavior :)
B
72
S
14
G
1
Posts: 151
Reputation: 4,999

Post » Tue Sep 29, 2015 10:15 pm

Hi Again ROJO please teach me how set block to display corectly?

Image

I set for all blocks all same values and still blocks are sorted diferent
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Wed Sep 30, 2015 1:16 am

@delgado
Set the iso sizes to half the object's size. That should do it in that case.
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Sat Oct 03, 2015 5:24 am

Hey @ROJOHound, do you know why pathfinding and the following line of code in your Mario example don't seem to work together nicely?

<snippet>
[ ] Player | Iso move by offset 90,0, Self.vz*dt
</snippet>

If I comment the line above out, I can pathfind (and there is no gravity -- expected)
If I don't comment it out, pathfinding doesn't work (player doesn't move)

Ideally, I would be able to have both gravity AND pathfinding :)
I can put together an example CAPx if this doesn't make sense...

Cheers!

-Remy
B
72
S
14
G
1
Posts: 151
Reputation: 4,999

Post » Sat Oct 03, 2015 6:08 am

@remy-jay
How are you using pathfinding? That line just moves the Sprite. So does the pathfinder but maybe it messes things up when manually moving a Sprite while it is following a path. I'm not sure.
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Sun Oct 04, 2015 10:41 am

Thank you :D
B
16
S
6
G
2
Posts: 164
Reputation: 3,207

Post » Sat Oct 24, 2015 8:01 pm

Great plugin!

I have improved shadow and isoZ sorting for a bit, created some opaque system. Looks quite good.

Image

Image

Thank you very much, R0J0hound !
I'm a Magician, not a Developer.
B
22
S
8
G
25
Posts: 106
Reputation: 14,294

Post » Fri Oct 30, 2015 12:00 pm

@XpMonster: that looks awesome.
B
7
S
2
Posts: 38
Reputation: 577

Post » Wed Nov 18, 2015 3:47 pm

@R0J0hound

Do you still maintain this plugin? I have a favor, can you please look at this error?
I get this Javascript error:

Cannot read property 'behavior_insts' of undefined
rojoIsoSort_behavior.js, line 273 (col 23)


I tried to shoot with a laser on an object. When one of the laser beams hit the object and the object get destroyed and in this moment another laser beam is still in front of the object I get this error.

I made a little capx with the error.
https://drive.google.com/file/d/0B5FlDY ... sp=sharing

At the moment I change the position of the object so it is out of sight if it gets hit, but if you could fix that would be nice.
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest