python - Top Down RPG in Pygame -


if have created tilemap , want these things please tell me how them?

  1. tell program dissect tilemap different portions i.e 50 * 50(pixels)
  2. let me have set of values in .txt file correspond values of individual tiles easy mapping.
  3. get python transfer tiles displayed window of set size letting in enough tiles fill window in set order according values of tiles on map this;

    1|2|3|4 5|6|7|8 9|10|11|12

and type them .txt file this;

111111111111112222222221111111111 111111111111122222222222222211111 111111133333333333333111111111111 444444441111111111111144444444411 

to show corresponding tiles in window.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -