any example of a "hero" walking on isometric map with collision detection?

894 views
Skip to first unread message

strang...@gmail.com

unread,
Jul 13, 2012, 9:14:52 AM7/13/12
to mel...@googlegroups.com
Hi everybody,

basically I'm looking for a JavaScript lib to implement kind of "map walker" game as
and melonJS looking quite promising, I see examples of walking on orthogonal map with collision detection.

But I can not find any melonJS example of walking on isometric map + collision detection. 
Can you suggest me something?

strang...@gmail.com

unread,
Jul 15, 2012, 4:35:13 AM7/15/12
to mel...@googlegroups.com
Just found this great example:
The library is really good, it makes possible to implement the functionality with very small amount of code.

Nevertheless - is it possible to implement the same thing on isometric map?
It means: prepare isometric *.tmx, load it in JavaScript - ready.

What is exact meaning of following lines in the feature list:
***********************
Orthogonal tilemap with built-in collision management
Isometric, Perspective tilemap support
***********************
How to implement collision management for isometric maps?

melonJS

unread,
Jul 15, 2012, 7:14:06 AM7/15/12
to mel...@googlegroups.com
Hi,

It means that melonJS is able to display isometric map, see this example:

but does not contains yet built-in code to manage collision (as opposed to orthogonal maps).
actually i'm working on it now, I more or less just added the necessary code to render properly isometric map, with my next step being to look at isometric collision detection.

I can't however promise you for when this will be ready, so unless you are ready to dive into the code and help on this, you will have to wait a little bit :)
and about how to add collision management (in a proper way), that's an answer I'm trying to find as well.

I know that AndyV3liz was working on an isometric game, so he might have some answer to provide )

marvin...@googlemail.com

unread,
Jun 13, 2013, 7:58:01 AM6/13/13
to mel...@googlegroups.com
Hi
Is this an actual Problem in Version 0.9.7? 
Or is it possible now to make an working collision map in Tiled for isometric Maps?

Jay Oster

unread,
Jun 13, 2013, 2:44:04 PM6/13/13
to mel...@googlegroups.com, marvin...@googlemail.com
Isometric support is still very much work-in-progress. Collision detection is also a work-in-progress. At this time, it is not easy to build accurate isometric collision shapes with melonJS. 
Reply all
Reply to author
Forward
0 new messages