Python Forum
How to display isometric maps with pytmx?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to display isometric maps with pytmx?
#4
(Feb-02-2020, 06:42 PM)michael1789 Wrote: Is it maybe this x, y, that needs converting "accordingly"? This means some sort of offset?
if tile:
    surface.blit(tile, (x * self.tmxdata.tilewidth,
                       y * self.tmxdata.tileheight))

Makes sense, but what do I need to change there then?
I just uploaded some photos of how it is looking and how it is supposed to look. Maybe you can see my problem then:

[Image: full?photo_id=502676050483]

That is how it is supposed to look
Now how it looks like:

[Image: full?photo_id=502676048558]

Thanks

PS: If you can't see the pictures, probably click onto the question markes or just on those links:
https://www.photobox.co.uk/my/photo/full...2676050483
https://www.photobox.co.uk/my/photo/full...2676048558
Reply


Messages In This Thread
RE: How to display isometric maps with pytmx? - by Piethon - Feb-03-2020, 07:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Isometric game pygame Tiled howardberger 1 903 Jan-31-2024, 10:01 PM
Last Post: deanhystad
  [PyGame] Isometric Movement on Tiled Map Josselin 0 2,478 Nov-02-2021, 06:56 AM
Last Post: Josselin
Thumbs Up [PyGame] Simple code for isometric 2D games ThePhi 1 15,563 Nov-17-2020, 12:58 PM
Last Post: mattwins
  [split] How to display isometric maps with pygame? mattwins 6 6,558 Nov-17-2020, 12:54 PM
Last Post: mattwins
  Problems with pytmx Piethon 15 9,833 Jan-05-2020, 10:44 AM
Last Post: Piethon

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020