Im making a platform game, and need to create more than 1 of each object. Ive tried duplicating it, but it gets named something differant. This means i cant check for collisions between that and the character without having a script for each platform and object. And there will be a lot of platforms.
Offline
Well maybe you can have platforms change coustumes and be a differnt platform when out of range. That way you won't have to make so many scripts
Offline
So no way of using one object for all the platforms then?
Offline
Oathbreaker wrote:
So no way of using one object for all the platforms then?
Not really...you could use color sensing, if you don't mind standardizing on a platform color.
Offline
could be a good idea. Also, how would i make a view so that you cant see all of the objects, and the character is in the centre? Ive tried scrolling, but that doesnt work well, because i need to make it replace the platform, which causes a lot of issues.
Offline
Also, another question: How do i make it so that only if the bottom of my character can collide with the platform and stop him so that he doesnt stop if his head hits it, or is that not possible?
Offline