Skip to content

Can't draw map properly if it wasn't the the first one the maploader loaded. #69

Open
@Tooni

Description

@Tooni

Huge apologies if this is me missing something obvious. I'm not sure if this is an issue or if I'm doing something wrong.

When I load a map in the program for the first time like ml.Load("first.tmx"); it loads the map and draws it fine. But later on in the program, when I load another map to the same maploader like ml.Load("second.tmx"); and draw it, it will only draw the first 10x10 tiles from the top left.
e.g. first load: http://i.imgur.com/mS6lR3t.png?1
second load: http://i.imgur.com/SDJ0Noo.png?1

I'm not doing anything with SFML's views and the map is the same size as the window. Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions