Jump to content




[LUA] [Glitch?] Screen goes green when setting the cursor pos


  • You cannot reply to this topic
2 replies to this topic

#1 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

Posted 28 December 2012 - 04:00 PM

Code: pastebin.com/WDExyTyG
What I did:
Input'd 1
Selected color: 6
Input'd 2
Place a dot.
Clicked the spot to trigger the function choices
Result:
Posted Image

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 28 December 2012 - 04:26 PM

You cleared the screen without changing the background color to whatever you wanted it to be. paintutils.drawPixel doesn't set the background color to anything other than the pixel color you want drawn, so of course when you clear the screen, it will become entirely that color.

#3 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

Posted 28 December 2012 - 04:49 PM

I feel freaking stupid right now.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users