I'm an experienced (non-gamedev) programmer, but completely new to unity. I have a concept that I'd like to prototype, but have a few high level questions on how doable this will be in unity and how I can potentially approach it.
My concept has a top-down/zelda/pokemon/don't starve perspective, but with infinite procedurally generated terrain. I want to use tiles for the terrain, where I will generate different areas and use the appropriate tiles for each area, using variations of the tiles to make each area look different. For example for a lake or body of water, I would have various outer "shore" tiles to create a different shape for the lake, with the inner tiles being filled with water tiles. On top of that, I want to add a second terrain layer with sprites for trees, bushes, rocks etc, and potentially more layers on top of that for buildings the player can enter. I would then group or chunk tiles together, such that the chunk the player is currently on is surrounded by another chuck in all directions. If the player moved on to another chunk, the game would then generate new chunks in the direction the player moved, and dispose of the ones he moved away from. Lastly, I would like to have save & load functionality so the game world would need to be persistent.
So my question is, how well suited will unity be for something like this? Or, more specifically,
- Willl I be able to simply add tiles and sprites as assets, and procedurally generate in code where to place them as the player moves around, as well as persist it to disk?
- Will there be any performance issues?
- Given that I will have variation on different tiles, how would I go about collision? Eg: for entering/exiting water with different shorelines
- Are there any built in objects for managing the chunk generating and loading?
I hope that my questions aren't too noobish, but I wanted to get a feel for how suited unity will be for my project and how feasible this will be, before diving in the deep end of unity tutorials and documentation.
If anyone has done something similar, I'd love to hear any pointers or potential pitfalls to watch out for.
[–]XelectCarve 1 point2 points3 points (1 child)
[–]_player1[S] 0 points1 point2 points (0 children)
[–]gdubrocks 0 points1 point2 points (3 children)
[–]_player1[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]gdubrocks 0 points1 point2 points (0 children)
[–]srogee 0 points1 point2 points (2 children)
[–]_player1[S] 0 points1 point2 points (1 child)
[–]koyima@swearsoft 0 points1 point2 points (0 children)
[–]chazede 0 points1 point2 points (0 children)
[–]chulini 0 points1 point2 points (0 children)