Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Limits in UDG bank switching trick [solved]
#4
Oh certainly - putchars is an example. And actually it can drop anything from a single character to a whole screen, so it's quite a flexible bytes-to-screen pusher. Not quite sure what you mean about the colours? It's a monochrome subroutine. (You'd have to do both paint and putchars to print a certain colour) - and paint (x,y,colour):putchars(1 character from my data point n) is actually faster than a print Wink

If you're worried about speed, there are optimizations to make - boriel has already put in the random stream generator, but I've got some optimized integer versions in the library part of the wiki; just for example. And printing can be sped up with optimized print routines like putchars and again, others in the wiki library.

Not to worry - I'm mostly REALLY happy to see that someone read my tutorial and found it useful! (Also, you used my 64 character print routine, and so on and so on Wink Most of all: Good job! I know it's a long hard slog to get a game up and running!

BL
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)