Flixel Forums

development => releases => Topic started by: mol on Tue, Nov 20, 2012

Title: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: mol on Tue, Nov 20, 2012
hello!

i'd like to present to you axonometric lib, a library that lets you create 2.5 d games on flixel  !

(movement = mouseclick + space)

https://dl.dropbox.com/u/20459287/Axonometric%20Lib/demos/AxonometricLibDemo.swf


it works by modifiying FlxTilemap and adding a whole more code!

for its work it needs:

-two files
  --a topography file, that defines the shape of the map
  --a geography file, that defines the tiles of it.

-perspective parameters
  -- the way the map should be rendered ( isometric oblique or freestyle)
  -- and the cooresponding angles needed

if you're interested a detailed documentation of its classes can be found here https://dl.dropbox.com/u/20459287/Axonometric%20Lib/Documentation/index.html (https://dl.dropbox.com/u/20459287/Axonometric%20Lib/Documentation/index.html)

the libraryhttps://dl.dropbox.com/u/20459287/Axonometric%20Lib/AxonometricLib.zip (https://dl.dropbox.com/u/20459287/Axonometric%20Lib/AxonometricLib.zip)

and a demo project in flashdevelop!https://dl.dropbox.com/u/20459287/Axonometric%20Lib/AxonometricLibDemo.zip (https://dl.dropbox.com/u/20459287/Axonometric%20Lib/AxonometricLibDemo.zip)

if anyone finds anything that can be improved or changed free to make suggestion

have a good day!

PS- sorry if some of my grammar is weird, since english is not my first language!


Edit:


I've updated the code for some errors, the demonstration project has a file to transfer parameters into the application more easily

(it is on states/textfiles)

ISO,right,0,0,120,95

(mode of render, orientation, position in rows respective to the map, postion in colums respective to the map, first angle, second angle)

feel free to experiment!
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: Alex on Sat, Nov 24, 2012
Wow that's really cool. Nice work :)
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: paala on Tue, Jul 2, 2013
There is a bug very annoying.
I downloaded the  demo ...
I mad the map to be :
34567
33333
33333
33333

when i am on first tile at 0,0 and i try to jump at tile 4 it doesn't jump.
Same thing for every tile no matter where is placed.
Can you fix this?

EDIT: Also the shadow is overlapping with tiles when you move from right to left
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: war_fire on Tue, Jul 2, 2013
Bad thing about old threads:
mol's profile
Last Active: Wed, Jan 2, 2013

Try making the tile you spawn on a 5. Do you fall? If not, maybe code needs to be updated for 2.55
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: paala on Tue, Jul 2, 2013
It doesn';t matter where you spawn. And you don;t fall, it doesn;t jump on higher ground.
Mol, maybe has email notifications on forums
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: Gama11 on Tue, Jul 2, 2013
Try making the tile you spawn on a 5. Do you fall? If not, maybe code needs to be updated for 2.55

Even though this thread is old, flixel 2.55 is even older. The last update on the GitHub repo was made 2 years ago - I'm pretty sure Axonmetric was created for 2.55.
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: mol on Thu, Jul 4, 2013
Hi! i had forgotten about this project xD!

i've checked the project for errors and saw that it wasn't the most recet version, the newest version is online now!
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: mol on Thu, Jul 4, 2013
Even though this thread is old, flixel 2.55 is even older. The last update on the GitHub repo was made 2 years ago - I'm pretty sure Axonmetric was created for 2.55.

Indeed! it was meant to work with 2.55
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: paala on Thu, Jul 4, 2013
I told you mol has email notifications.
Do you manage to have look  at the bug described above?
Thanks.
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: Gama11 on Thu, Jul 4, 2013
Hi! i had forgotten about this project xD!

i've checked the project for errors and saw that it wasn't the most recet version, the newest version is online now!

Awesome! I see the demo has also been updated. Do you have a changelog for the new version by chance? There's a Haxe port of this lib (https://github.com/Masadow/AxonometricHaxe?source=cc), would probably be helpful to update that.

Also, ever thought about uploading this to GitHub (https://github.com/)?

@paala: Did you check the new version he uploaded yet?
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: paala on Thu, Jul 4, 2013
oops, no i didn;t see that post. I will check and leave feedback
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: paala on Fri, Jul 5, 2013
Ok, I checked, nothing the bugs are still there:
https://dl.dropboxusercontent.com/u/79341481/AxonometricLibDemo.swf
1. the most important for me: if you are near the wall(as near as possible-- touching the wall) and you try  jump on that platform is doesn't jump. Odd thing if you release the mouse while you are landing it will land correct on higher platform.
2. if you walk at the edges of map you get stuck in some tiles, same tiles everytime.
3.diagonal wall - can walk through it . try to reach the upper right corner of map
4. sometimes when you walk, the tiles are drawn in front of the shadow. causing a eye discomfort.

After all a great plug in. Hope mol can solve this bugs to make it perfect.
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: mol on Fri, Jul 5, 2013
Awesome! I see the demo has also been updated. Do you have a changelog for the new version by chance? There's a Haxe port of this lib (https://github.com/Masadow/AxonometricHaxe?source=cc), would probably be helpful to update that.

Also, ever thought about uploading this to GitHub (https://github.com/)?

@paala: Did you check the new version he uploaded yet?

Woa! i didn't knew this had gotten a port! how cool!

hmm well to be honest the development of this tool was quite hectic, i guess any txt file would be fine? or is there a standard of sorts?

i think uploading it to github is a good idea! let me see how it works!
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: mol on Fri, Jul 5, 2013
Ok, I checked, nothing the bugs are still there:
https://dl.dropboxusercontent.com/u/79341481/AxonometricLibDemo.swf
1. the most important for me: if you are near the wall(as near as possible-- touching the wall) and you try  jump on that platform is doesn't jump. Odd thing if you release the mouse while you are landing it will land correct on higher platform.
2. if you walk at the edges of map you get stuck in some tiles, same tiles everytime.
3.diagonal wall - can walk through it . try to reach the upper right corner of map
4. sometimes when you walk, the tiles are drawn in front of the shadow. causing a eye discomfort.

After all a great plug in. Hope mol can solve this bugs to make it perfect.


hmm im having trouble understanding what you mean. could you please use this tool to be a little more specific?

http://www.screenr.com/
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: paala on Sat, Jul 6, 2013
Ok, done: http://www.screenr.com/SZhH (http://www.screenr.com/SZhH)
Thanks for having a look.
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: mol on Sat, Jul 6, 2013
ill have a look at it this week when i have a bit of free time!
Title: Re: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!
Post by: mol on Tue, Jul 16, 2013
well, sorry to dissapoint but i haven't had a lot of free time this couple of weeks. i got into a new job and i won't have a lot of free time untill at least 2 weeks U_U

i will come back to this eventually though, just please, be patient