Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Display a 20x20 Map in all in one Window, without scrolling..?

Dad3353

Praised Adventurer
Maybe easy, maybe impossible; I'll ask anyway.

I've a mini-Game (a primitive Board Game, looking a bit like a Monopoly board...) which I'd like to display on screen all at once, so as to see all of the board. It's just a square Map, 20 x 20 Tiles, with nothing special going on. Presently, it all works, but as the pieces move around the Board, they can't all be seen. My Actor can scurry around and see 'em by having the screen scroll, but then one can't see the others.
Is there an easy way to have the whole Map visible on screen, all at once, without resorting to a collection of plug-ins..? A few script calls would be fine, and I suppose, if there is no other way, a simple plug-in would be acceptable, but I really don't want to start building up a whole edifice of 'em for so little.
Any (polite..!) suggestions, please, or alternative approaches..? Thanks in advance.
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
To be honest, I'm, not sure if this is possible via a few script calls and I'm personally not sure how to accomplish this, I have yet to dabble with the Tilemap class which I am assuming is where this can be adjusted. If I learn anything I'll remember this post and be sure to let you know, it may be a better option asking the question in community like rmweb where most developers can see the question, it may be easier than I think but something tells me the developers did not code in a scaling tilemap which fits to screen width and height.

A secondary option is to increase the resolution size and making sure you're map is the correct dimensions, or keeping the resolution size and decreasing the map size.
 

Dad3353

Praised Adventurer
I tried messing about with resolutions and graphic nonsense, and that changed the Window size, but also made the Tiles bigger, so no better off..!
It's not important, being for a trial Game I was doing to help someone else. I'll keep the concepts in mind for another time, concerning the Board Game, but restrict my ambitions to Boards that can actually fit on the screen..! If something does pop up another day, at least I'll have an immediate use for it.

We can treat this as 'Resolved' for now.
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
You know I found something when changing resolutions if you click and hold the window as soon as it opens, it will prevent the window from resizing and the tiles keep their proportions and the map stays within the window, but it's obviously a bug which prevents the tiles from re-adjusting, if I could find what function re-scales the tiles I may be able to help but I've looked and looked and could not find anything about it. Anyway, if I ever find anything I'll be sure to let you know.
 
Top