Author Topic: Axonometric lib! create isometric, oblique or any kind of 2.5D stage!  (Read 6742 times)

mol

  • Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
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)

<a href="https://dl.dropbox.com/u/20459287/Axonometric%20Lib/demos/AxonometricLibDemo.swf" target="_blank" class="new_win">https://dl.dropbox.com/u/20459287/Axonometric%20Lib/demos/AxonometricLibDemo.swf</a>


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

the libraryhttps://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

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!
« Last Edit: Thu, Jul 4, 2013 by mol »

Alex

  • Active Member
  • ***
  • Posts: 102
  • Karma: +0/-0
    • View Profile
    • Levelism
Wow that's really cool. Nice work :)
Level designer/Programmer
portfolio/blog http://www.levelism.com

paala

  • Contributor
  • ****
  • Posts: 250
  • Karma: +0/-1
    • View Profile
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
« Last Edit: Tue, Jul 2, 2013 by paala »

war_fire

  • Guest
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

paala

  • Contributor
  • ****
  • Posts: 250
  • Karma: +0/-1
    • View Profile
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

Gama11

  • Contributor
  • ****
  • Posts: 390
  • Karma: +0/-0
    • View Profile
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.

mol

  • Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
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!
« Last Edit: Thu, Jul 4, 2013 by mol »

mol

  • Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
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

paala

  • Contributor
  • ****
  • Posts: 250
  • Karma: +0/-1
    • View Profile
I told you mol has email notifications.
Do you manage to have look  at the bug described above?
Thanks.

Gama11

  • Contributor
  • ****
  • Posts: 390
  • Karma: +0/-0
    • View Profile
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, would probably be helpful to update that.

Also, ever thought about uploading this to GitHub?

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

paala

  • Contributor
  • ****
  • Posts: 250
  • Karma: +0/-1
    • View Profile
oops, no i didn;t see that post. I will check and leave feedback

paala

  • Contributor
  • ****
  • Posts: 250
  • Karma: +0/-1
    • View Profile
Ok, I checked, nothing the bugs are still there:
<a href="https://dl.dropboxusercontent.com/u/79341481/AxonometricLibDemo.swf" target="_blank" class="new_win">https://dl.dropboxusercontent.com/u/79341481/AxonometricLibDemo.swf</a>
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.

mol

  • Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
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, would probably be helpful to update that.

Also, ever thought about uploading this to GitHub?

@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!
« Last Edit: Fri, Jul 5, 2013 by mol »

mol

  • Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Ok, I checked, nothing the bugs are still there:
<a href="https://dl.dropboxusercontent.com/u/79341481/AxonometricLibDemo.swf" target="_blank" class="new_win">https://dl.dropboxusercontent.com/u/79341481/AxonometricLibDemo.swf</a>
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/

paala

  • Contributor
  • ****
  • Posts: 250
  • Karma: +0/-1
    • View Profile
Ok, done: http://www.screenr.com/SZhH
Thanks for having a look.

mol

  • Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
ill have a look at it this week when i have a bit of free time!

mol

  • Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
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