Timeline for How to create endless background in a 2d top down game?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 31, 2021 at 17:20 | vote | accept | tevse | ||
Oct 31, 2021 at 17:20 | vote | accept | tevse | ||
Oct 31, 2021 at 17:20 | |||||
Oct 27, 2021 at 19:37 | answer | added | tevse | timeline score: 0 | |
Oct 27, 2021 at 19:07 | comment | added | DMGregory♦ | If you've solved your problem, remember to post your solution as an Answer below. Or, if you still need help, edit your question to describe what you need help with. | |
Oct 27, 2021 at 18:40 | comment | added | tevse | @DMGregory yes, thank you. | |
Oct 27, 2021 at 18:37 | comment | added | DMGregory♦ | Looks like you forgot to set the wrap mode on your texture in the import settings to "repeat". | |
Oct 27, 2021 at 16:38 | comment | added | DMGregory♦ | You could also attach your background sprite to your camera, and use a shader to tile the texture in worldspace, so it automatically maintains a fixed relationship to the world even as the sprite/camera moves. | |
Oct 27, 2021 at 16:35 | comment | added | DMGregory♦ | "Does X affect performance" is something you can answer more conclusively by measuring it. That way you don't have to worry about Internet hearsay giving you the wrong info — you can access the truth of the matter directly. | |
Oct 27, 2021 at 16:33 | comment | added | tevse | @DMGregory I don't know how to create a script that will reposition panels, that's what I'm asking. Does creating a huge sprite affects performance? If not then I'll just make a huge sprite. | |
Oct 27, 2021 at 16:23 | comment | added | DMGregory♦ | It sounds like you have two valid solutions: making a huge sprite with tiling draw mode, or spawning panels of the image at a time and repositioning them as needed. Where do those solutions fall short of what you need? | |
S Oct 27, 2021 at 16:20 | review | First questions | |||
Oct 28, 2021 at 9:49 | |||||
S Oct 27, 2021 at 16:20 | history | asked | tevse | CC BY-SA 4.0 |