Log In  


Cart #karehufuwe-0 | 2024-09-28 | Embed ▽ | No License


Remember that Brain fantasy idea I had? well I made a little keyboard 2 go with it.
A-k Prints numbers.

Also PLZ help me on this console! i need to be able to print symbols like "<" on the screen INSIDE THE LIST!
I tried Going with the straght forard approach of:

 if(keyp("s")) add(t,".") t.r=1

But then It would'nt print.

Also here's the code:

function _init()

 t={1,2}
 t.r=0
 t.x=0
end

function _update()
 Txt()
end

function _draw()

end

function Txt()
 t.r=0
 t.x=0
 --Keys
 if(keyp("a")) add(t,1) t.r=1 -- The problem I need help with. I want to print "<" instead of 1!
 if(keyp("s")) add(t,2) t.r=1
 if(keyp("d")) add(t,3) t.r=1
 if(keyp("f")) add(t,4) t.r=1
 if(keyp("g")) add(t,5) t.r=1
 if(keyp("h")) add(t,6) t.r=1
 if(keyp("j")) add(t,7) t.r=1
 if(keyp("k")) add(t,8) t.r=1

 if(keyp("backspace")) deli(t) t.r=1

 if(t.r==1) then
  cls()
  for e in all(t) do
   print(t[e],t.x,0)
   t.x+=4
  end
 end

end


Oh, BTW if you don't know what I'm talking about, I made a post explaining everything. So just click on my profile 4 more info.



[Please log in to post a comment]