#๐Ÿ”’ pygame tile map surface question

4 messages ยท Page 1 of 1 (latest)

ruby cradle
#

In a 4x-style world map, what should I consider with these options (a little unclear what is normal or good):

surface size:

  1. make a small surface of any random size and use offsets during blit to place tiles
  2. make a surface which matches the dimensions of the total tiles and blit the tiles onto the surface

moving the tiles:

  1. move the surface rect
  2. move the blit offset and leave surface alone

Not sure which are more normal or if there's any particular reason to choose

chilly dirgeBOT
#

@ruby cradle

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

chilly dirgeBOT
#

@ruby cradle

Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.