Is it possible to be using a graph screen function like Line( while at the same time be showing the Home screen?
Unfortunately, it is not.
What you could do, is in the setup, use code like the following:
ClrDraw Text( //whatever Text( //whatever StoPic Whatever ClrDraw
This executes fast enough that while the user sees glimpses of the text, it isn't long enough to read the hole thing. Just make sure you display the text last…
That's true, and that's what I've done. However, it is making my program look very unprofessional. I think I'll PM Darkerline and see if he can come up with something in assembly.
If all you want is text like on the home screen, you can use the optional argument for Text( and have it be the same size as on the home screen.
What I really want is to display "LOADING…" at the same time I draw some graphics. My current code is functional, but obnoxious looking.
This will make your program a LOT longer, but try this, if you're going for that effect:
:disp " // no spaces
:disp " // no spaces
(p.s. I haven't tried this, but it might make the effect that you're looking for. If it doesn't, give a more
detailed description of what you're looking for.)
I have a feeling that would make it really flikery. Would it be possible to put the loading somewhere else on the graph screen?
In theory, maybe. What I'm doing is drawing a highscore table. The whole screen is used, and if I were to draw some text, I would then have to fix where it should be
Actually, do Disp w/out the open "s, or it'll move loading up the screen. I used that for a game, once.
I think it would be easier if we could see the code for the table. It would make
Horizontal -7 Vertical 36 Vertical 7 Vertical 66 Vertical 22 Vertical 52 Vertical 81 Pxl-Off(6,81 Pxl-Off(6,52 Pxl-Off(6,22 Text(0,39,"NORMAL Text(0,14,"EASY Text(0,74,"HARD Text(0,1,"# For(X,1,5 Text(11X-1,1,X End StorePic 1
I was attempting to make a program to graph a line after it calculated its equation from two points…
Do you mean like the user inputs the two points, and the program makes a line inbetween them?
That's not difficult.
Given the points A and B
A=x-coordinate of point A
B=x-co of pt B
C=y-co of pt A
D=y-co of pt B
(D-C)/(B-A→S (slope) -SA+C→Y (intersect with y-axe) Disp "Slope:",S,"Y-axe intersect:",Y