Slick Forums

Discuss the Slick 2D Library
It is currently Sun Oct 20, 2019 5:38 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 23 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Mon Mar 01, 2010 8:28 am 
Offline

Joined: Thu Nov 29, 2007 5:43 pm
Posts: 15
Lately I want to develop some isometric game, using great map editor but when I want to use map in Slick I get error that isometric is not supported. Ok, u made normal map support, but it would be great to also support other types of maps. There is no other engine written in java available to have isometric support.

Writting my own engine or support for slick is too much time consuming for me. I would also need to much learning how slick works. You guys already know about the code and writting this support can't be such a big deal.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2010 9:43 am 
Offline
User avatar

Joined: Fri Dec 28, 2007 3:37 pm
Posts: 87
Location: bremen, germany
http://www.uraniumlane.net/projects/1

This one I've made with slick...
I'll try to clean it up and port it completely to slick :)

As you can see on the picture, it's 1:2 isometric perspective.
It'd be nice if it'd support any isometric perspective ;)
So there is a little code required for it.


edit: As I can see, Tiled has a new release since Nov,2009. I'll port my code to it's current implementation.

edit2: I just glanced at tiled qt 0.4 and am amazed! It nicely supports objects on a isomap.
I'll redo my workarounds on my code, so they don't depend on my changes to previous java version of Tiled.
That was, what I was waiting for ;)

edit3:
project frozen, sry guys, my fault
cheers, kulpae

_________________
Image
http://www.uraniumlane.de (german)
http://www.uraniumlane.net (english)


Last edited by cenarius on Wed Oct 13, 2010 6:13 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2010 10:56 am 
Offline

Joined: Thu Nov 29, 2007 5:43 pm
Posts: 15
What I mostly need is:
- being able to make map in tiled (so I don't need to write my own editor and find hot water and reinventing the wheel again. (I can do this)
- able to save map in tile to XML (this is also done)
- load this XML in slick into 3D array (one index is for layers) of numbers, where each numbers hold a code (or strings) which represents specific graphic tile already lodaded in game. (this bothers me most)

After that my job will be only to draw all layers on screen.
I need this layer data to know where on map will be obstacles and character won't be able to move and to check some other things about game behaviour.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 30, 2010 11:11 am 
Offline
Regular
User avatar

Joined: Thu Mar 12, 2009 9:52 am
Posts: 142
Location: Portugal, Lisbon
I've just added support for the TileMap Class (the same one for ortho maps) in my Slick Source, if you're still interested in this.

I'm cleaning it a bit and trying to figure out how to use the same functionality from renderLine as Ortho maps have in slick, and I'll post it to KevGlass.

Currently, it reads a full isometric map from Tiled the same way a ortho map is read, no extra work is done and the class TiledMap is the same (inside it sorts out wich type of map to render).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2010 7:41 am 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Did you post this isometric implementation of TiledMap to me. I can't find it in my mail, could you post it again so I can integrate it. Sorry for the delay.

Many thanks,

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2010 7:56 am 
Offline
Game Developer
User avatar

Joined: Wed Feb 17, 2010 12:24 am
Posts: 598
oh. This looks promising :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2010 9:57 am 
Offline
Regular
User avatar

Joined: Thu Mar 12, 2009 9:52 am
Posts: 142
Location: Portugal, Lisbon
kevglass wrote:
Did you post this isometric implementation of TiledMap to me. I can't find it in my mail, could you post it again so I can integrate it. Sorry for the delay.

Many thanks,

Kev


[Edit] Just sent the code to you.

Sorry Kev, haven't post it yet, I've been busy moving to a new house the last 4 days and as of today I'm on roll call for the birth of my second offspring, anytime now :).

I'll post it to you in a couple of hours by lunch time (GMT).

[Edit] Just sent the code to you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 13, 2010 5:04 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Not sure what happened to this one. Don't seem to have the code on my mail? If anyone has the code or has TileD isometric support stuff please let me know.

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 12, 2010 5:29 pm 
Offline

Joined: Fri Nov 12, 2010 12:03 pm
Posts: 1
Hi, I'm really interested because we are starting to develop a city game (something like sim city) and we would like to be able to upload isometric maps with this class for use with slick. If you could send me the code I'll apreciate it!
Thanks for you time


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2010 8:51 am 
Offline
Regular
User avatar

Joined: Thu Mar 12, 2009 9:52 am
Posts: 142
Location: Portugal, Lisbon
Oh... so that's why it was never posted.

I've moved to hex maps so I forgot all about isometric tiles, I have the code but its 3x slower than regular maps (because of the way tiles are called).

I can update it soon (after I finish another sprint for my game) for better performance, but I'll send you the code again anyway.

I'll also send you the code mtm.

[EDIT] I've sent you the code once again to the slick's email.

~Spiegel~


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2010 9:30 am 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Thanks dude. I'll get to it asap.

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2010 9:32 am 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Actually, anyone got a test isometric map I can try this stuff out with?

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 25, 2010 9:31 am 
Offline

Joined: Wed Nov 24, 2010 7:03 pm
Posts: 21
I working in my free time on isomeric game in Java. Recently I decided move to Slick, and I plan using title map editor. I would be very grateful if you can send me that code too.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 25, 2010 1:11 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Thanks for the hard work. Added this in SVN along with a test and testdata

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 25, 2010 7:25 pm 
Offline

Joined: Wed Nov 24, 2010 7:03 pm
Posts: 21
Btw. kevglass I can give you test isometric map if you like to. But for now my test maps are very simple.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group