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.

Newcomers DBPro Corner / stuck on a positioning problem

Author
Message
smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 8th Oct 2006 11:21 Edited at: 9th Oct 2006 09:06
This post is dead Problem has been solved


DBP

Alright heres the problem i am making a very nice little file browser and am using a sprite to load the text to the screen for easy scrolling
the checklist string is set to print 20 lines at a times in different collems witch then can be easily targeted using mouse pos and text width.
2 sprits at the bottom for scroll bar i is background none mobile and sprite (scroll#) witch is the the scroller. it is set to move -169 lines incremented witch will set the next columb at the starting point for reading. the total number of coulums specified buy the page# command
with each new columb that is scrolled +20 must be added to the checklist to tell it to point to the new columb

The Problem
its getting the +20 to be added relative to the sprite x(2) command


Don't know if you can help me but if your willing to try i would appreciate it










A child's dream never dies.
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 8th Oct 2006 14:05 Edited at: 8th Oct 2006 14:08
I would not have phrased the check like that, because not is not a logic operator in the sense you are using. It is a bitwise operator and as such it is not appropriate for the use you are intending.

Try this line instead and see if it works for you:
smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 9th Oct 2006 09:05
If you are working on my code please stop the problem is solved.


Solved the problem made it more complicated than i needed it to be
simple postioning command and a loop did it.

thank you for all your time.

A child's dream never dies.

Login to post a reply

Server time is: 2024-11-26 09:29:49
Your offset time is: 2024-11-26 09:29:49