How do I scroll a texture
Blitz3D Forums/Blitz3D Programming/How do I scroll a texture
| ||
I want to have a conveyor belt in my game, but want the most graphic un-intensive way of doing this. One way I thought was to "scrool" the texture (UV?) to get the effect, any ideas on how to do this? Many thanks |
| ||
scrolltex = LoadTexture("ConveyerBelt.jpg") uscroll# = 0.0 Repeat PositionTexture scrolltex,uscroll,0 uscroll = uscroll + 0.01 RenderWorld Flip Until KeyHit(1) Or similar... Fredborg |
| ||
lol, it's that easy :) Many thanks |