1.6 C
New York
Sunday, December 14, 2025

How do i program this?


First off, I’m utilizing Unity. Im utilizing the 3d rendering engine, not the HD one. My extent of programming data is principally regardless of the be taught.unity website supplies. I made a decision my first recreation to make was going to be an limitless runner. Fundamental I do know however I am making an attempt to be taught earlier than going into one thing extra advanced.

My downside is that i wish to have a time period switching mechanic in it. The place the steps are principally, you’re working and on uncommon events a small crack/portal/glitch collectible can seem and interacting with it prompts the particular impact then the prefabs for the working path change to the opposite period. On this case, between Cyberpunk and medieval.

My very first steps had been to only have each paths working aspect by aspect and also you simply cannot see the opposite, and interacting with collectible would simply teleport/transfer you over to the opposite path.. nicely, that did not work out so nicely. And made it laggy. Then I assumed possibly as an alternative of tping the participant, simply transfer the maps over so the collectibles and participant haven’t got to vary positions. However I simply ended up having clipping points with collectibles. After a superb quantity of examples and concepts, I figured it will be higher to run if i might by some means get the prefabs that load to only swap to the opposite period prefabs.

My general query could be is there a greater technique to implement this than what I’ve put up above, and both method. How on earth to make it work. Can be enormously appreciated.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles