Discord
Login
Community
DARK THEME

Spawn points

is there any way to tie a spawn point to a sprite? because I cant find any information on it. any help would be appreciated

Could you describe what you're trying to do with more detail, please? I don't understand what you mean by "spawn point" in regards to sprite.

I have a set of map sprites I wish to be the spawn point of the player but I dont know how to make the player always spawn on those blocks even when switching levels.

So one specific tile in your maps represents the start for your player? If so, you have to write a function that searches for that tile in the map and then converts the map coordinates into screen coordinates.

yes that is what I ment thank you for the help

I did something similar in "Seedbot" in case it helps

Panzer! also uses map fields like this. You can check file mapengine.ms line 147. Function AddMap()

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community