No, CHR$ 144 is the first udg character. Next udg character is CHR$ 145 ("b") and so on until the last udg "u" which is CHR$ 164. You have 21 udg characters which you can change as you want (a,b,c,d,e, f, g, ... u). In the code you posted earlier you changed udg character "n" which is CHR$ 157.
sigurdurf
8
Posts
10
Following
A member registered Oct 15, 2013
Recent community posts
ZX Spectrum BASIC Jam community · Replied to ShizuCarry in FAQ - Game Jam or Sinclair BASIC questions
ZX Spectrum BASIC Jam community · Replied to ShizuCarry in FAQ - Game Jam or Sinclair BASIC questions
ZX Spectrum BASIC Jam community · Replied to ShizuCarry in FAQ - Game Jam or Sinclair BASIC questions
ZX Spectrum BASIC Jam community · Replied to ShizuCarry in FAQ - Game Jam or Sinclair BASIC questions
I can only see part of your code. Do you have a larger for loop, not seen, around the whole thing? It looks like you have a game loop and you recreate the udg every time? You only need to create the udg once and then you can start your game loop. Move the code in lines 62 to 75 to the beginning and make sure it is only run once.
ZX Spectrum BASIC Jam community · Replied to ShizuCarry in FAQ - Game Jam or Sinclair BASIC questions