Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbScrollObjectTexture .. ? dose not work?

Author
Message
haliop
User Banned
Posted: 1st May 2012 11:55
im having trouble in making the texture scroll trough the object


dbScrollObjectTexture(id,0.01f,0.001f);

dbScrollObjectTexture(id, 0.5f,0.05f );

non of these worked..
their in a loop and should cycle the object texture but nothing happens...

any one got a clue on whats to do?
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 1st May 2012 18:01
I use it here and there and it works fine.
But I'm afraid they are not supposed to be used in a loop as you think, because the scrolling is permanent.
Try very tiny scroll numbers to see what I say, the scroll will last some frames until the coordinates fall 'out of the object'.

haliop
User Banned
Posted: 1st May 2012 18:22
dosent work..
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 1st May 2012 19:15
I'm using it in my current program. Works fine. The bug is most likely in your code, but we'll never know unless you post up an example.

haliop
User Banned
Posted: 2nd May 2012 09:23
its a simple vector that holds the object id
from another part of the code

then in the loop
i do


that dosent seem to work i'll try another method without using the vector and see how it runs
haliop
User Banned
Posted: 2nd May 2012 09:38
got it working , the problem was probably the vector

thank you.

Login to post a reply

Server time is: 2024-11-19 02:26:42
Your offset time is: 2024-11-19 02:26:42