obj/tree
icon = 'tree.dmi'
icon_state = "trunk"
New(x, y)
..()
obj/tree_foliage
icon = 'tree.dmi'
icon_state = "foliage"
obj/rock
icon = 'rock.dmi'
proc/spawn_objects()
var/list/tiles = list()
for(var/x=1;x<=world.maxx;x++)
for(var/y=1;y<=world.maxy;y++)
if(!world.Get(x, y))
tiles += list(x, y)
for(var/i=1;i<=10;i++)
var/tile = tiles[rand(1, tiles.len())]
tiles -= tile
new /obj/tree(x=tile[1], y=tile[2])
new /obj/tree_foliage(x=tile[1], y=tile[2]-1)
for(var/i=1;i<=5;i++)
var/tile = tiles[rand(1, tiles.len())]
tiles -= tile
new /obj/rock(x=tile[1], y=tile[2])
world/New()
..()
spawn_objects()
//Le forum
obj
tree
icon = 'tree.dmi'
icon_state = "tree"
top
icon_state = "top"
pixel_y = 32
proc/addTreeTop()
src.overlays += /obj/tree/top
New()
..()
addTreeTop()
Problem description:
In BYOND DM, you start by defining objects like trees and rocks with their icons and states. Then, you create a list of empty tiles on the map. You randomly select tiles from this list to place your objects, ensuring each tile is used only once. Trees have their trunk and foliage placed with the foliage one tile north of the trunk. Rocks are placed directly on the selected tiles. This method ensures a random and organized placement of objects on your map.
How does the randomness in object placement impact the player's experience and engagement with the game world?
It's 2024. With players likely returning, how probable is it that survival games in BYOND will make a comeback?
No matter what game, every developer wants their world to seem natural -- and in the natural world, there's a bit of randomness.
As for the likelihood of a survival games come back? It depends on how much work you're willing to put. Who knows, you might make the next big hit!
So to answer the question, doesn't seem that probable. But it can happen.