Forum begins after the advertisement:


[Part 11] Tile Map Problems when increasing total size.

Home Forums Video Game Tutorial Series Creating a Rogue-like Shoot-em Up in Unity [Part 11] Tile Map Problems when increasing total size.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16118
    Ronin
    Participant
    Helpful?
    Up
    0
    ::

    During the course Terence made the tile map a total of 20×20, I’ve set the Camera projection size just within those boundaries so I do not see any black bars.

    After playing around with the game I noticed once the game started to get hectic the field of view was not enough, I needed to see more. I tried increasing the total tilemap for the chunks to be 30×30 instead, however this has introduced some new bugs with the map generation. After traversing for a while a chunk would not spawn diagonally and some of the tilemap non interactable props that I have painted on are de-spawning then respawning when I move backwards and forwards.

    The code I have used for the map generation is the same that Terence used, is there something I must update for the 30×30 to work?

    Thanks

    #16119
    Terence
    Keymaster
    Helpful?
    Up
    0
    ::

    Ronin, check out this post to fix the issue where tiles don’t form diagonally: https://blog.terresquall.com/community/topic/part-11-chunk-not-loading-correctly-and-enemies-are-multiplied-when-spawning/#post-16023

    As for the prop despawning / respawning system, can you take a video of the issue and post it here?

    #16132
    Ronin
    Participant
    Helpful?
    Up
    0
    ::

    Thank you Terence, this fixed all the issues.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Go to Login Page →


Advertisement below: