RE: strange thing with put_screen_char()

new topic     » goto parent     » topic index » view thread      » older message » newer message

----====008BB6D2 at _ at 36973.51596811@_@151E4

Hello Gwen,
	Sounds like you are doing some stuff I was working on a couple
of months back. I used the folowing code (fragment) to make different 
colored bouncing letters pass across colored backgrounds:

  s=get_screen_char(y,x)		
  character=s[1]
  backcolor=floor(s[2]/16)
  textcolor=s[2]-backcolor*16

Hope that helps.
JOHN






----====008BB6D2 at _ at 36973.51596811@_@151E4

AA8OAAAAAAIB/w8BAAAAQwAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAEVVZm9ydW1AdG9waWNh
AAA5AAAAAAsAQDoBAAAAAwBxOgAAAAAeAPZfAQAAABMAAABFVWZvcnVtQHRvcGljYS5jb20AAAIB
AAADACYAAAAAAAsAKQAAAAAAAwAuAAAAAAADADYAAAAAAEAAOQCAQlUSELPAAR4AcAABAAAAKQAA
D7PAAQMAAIAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAACwADgAggBgAAAAAAwAAAAAAAAEYA
AAAAA4UAAAAAAAADAASACCAGAAAAAADAAAAAAAAARgAAAABShQAA8A4AAB4ABYAIIAYAAAAAAMAA
AABGAAAAADaFAAABAAAAAQAAAAAAAAAeAAuACCAGAAAAAADAAAAAAAAARgAAAAA3hQAAAQAAAAEA
AAAAAAAAHgAMgAggBgAAAAAAwAAAAAAAAEYAAAAAOIUAAAEAAAABAAAAAAAAAB4APQABAAAABQAA
AFJFOiAAAAAAAwANNP03AABo6g==

----====008BB6D2 at _ at 36973.51596811@_@151E4--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu