With the way i've been coding matrices, they've been pretty slow.
Both in moving an ASCII character around on the screen, and in displaying the tile-map itself.
I can't type out my code, since I don't have it.
But here's a rough draft.
Code:
The tile-map appears pretty slow, along with my character moving slow.
I'm not re-displaying the tile-map in my repeat loop, nor am I with my character. I have it to place a " " space when my character moves, then display his new position.
How could I speed up my code? Or ideas that I could use to change data on my screen without having to re-display the tile-map, and a substitute for using multiple :Output(A,B,"________ .
Also, I need some ideas for some things I can do, i'm always doing menu-based things with Basic, or as i'm doing now, tile-mapping.
Even after 2 years of programming, i'm still a noob >_<.
Both in moving an ASCII character around on the screen, and in displaying the tile-map itself.
I can't type out my code, since I don't have it.
But here's a rough draft.
Code:
Create Matrix [A]
Store Tile-map into [A] (7x7)
For loop that displays the Tile-map
Define an X and Y coord for my character
Getkey stored into K
Key press moves character.
The tile-map appears pretty slow, along with my character moving slow.
I'm not re-displaying the tile-map in my repeat loop, nor am I with my character. I have it to place a " " space when my character moves, then display his new position.
How could I speed up my code? Or ideas that I could use to change data on my screen without having to re-display the tile-map, and a substitute for using multiple :Output(A,B,"________ .
Also, I need some ideas for some things I can do, i'm always doing menu-based things with Basic, or as i'm doing now, tile-mapping.
Even after 2 years of programming, i'm still a noob >_<.