Arrays...

I am creating a game that looks like a subway surfer games. I have read on how to create endless path by the use of shaders. Can i use arrays to create an endless path? or is it easy to use arrays instead of shaders?

Thanks…

1 Answer

1

“or is it easy to use arrays instead of shaders”

It sounds like you don’t yet know what arrays and shaders are. Not to worry - to get started, your first step should be to investigate arrays and shaders, and what sort of things you can do with each.

Shaders and arrays are not two things that can be directly compared. So the question as it stands doesn’t make a lot of sense, sort-of like asking “is it easy to use the GDP of Russia instead of a handsaw?”

A handsaw? Ha. Everyone knows it's easy to use the GDP of Russia instead of a screwdriver, duh. (Or the GDP of Belgium will do in a pinch.)

–