Greetings, once again...
I am trying to output text over an image from an array. Basically what it does it makes a list of all the 3d objects that are in the game, with the 3d objects locations stored in an array. When I try to use a for...next loop it kills the performance of my application, frame rate goes from 40 to 5. Here is a sample of my code:
Objectlist:
REM need to call a lock to somehow lock the system until object list is closed
REM Call as a sprite so we can use set sprite to hide the black borders
sprite 5,200,20,5
set sprite 5,1,1
REM Fill the menu with the 3d objects, showing object, description, and object number. If an object is clicked on select it onscreen by ghosting the object.
REM If the user clicks on the description area they can add a description
REM Make sure that the text prints inside the box by adding 32 to width and about 40 to the overall hieght, 230x60 is the correct estimate where to start printing text.
beginx = 230
beginy = 60
for object = 1 to 3
spacex = beginx
spacey = beginy + (20 * object)
text spacex,spacey,3dojbects$(1,object)
text spacex+175,spacey,3dojbects$(2,object)
text spacex+340,spacey,3dojbects$(3,object)
next object
return
Any idea on how to get this to work correctly, since this doesn't even display the text over the image at all, would be appreciated.