How can I make background black? - LUA Scripting - CHDK Forum

How can I make background black?

  • 2 Replies
  • 3505 Views
How can I make background black?
« on: 19 / February / 2018, 08:54:55 »
Advertisements
I'm working on a game for my camera. I just can't figure out how I would make the background black and then have other things on top (like squares and circles (I do know how to make them)).

Re: How can I make background black?
« Reply #1 on: 19 / February / 2018, 11:45:47 »
I have a rectangle that is the size of the screen, but it flickers and shapes on the background just makes everything worse! How was Sudoku's white beautiful background made and how can I make it myself?

*

Offline reyalp

  • ******
  • 14126
Re: How can I make background black?
« Reply #2 on: 19 / February / 2018, 15:52:19 »
I have a rectangle that is the size of the screen, but it flickers and shapes on the background just makes everything worse! How was Sudoku's white beautiful background made and how can I make it myself?
The source for the other games is available at https://app.assembla.com/spaces/chdk/subversion/source/HEAD/trunk/modules

Generally speaking, I think they only erase what needs to be erased, rather than drawing a blank screen and building on it. CHDK does not support double buffered drawing or synchronizing with physical refresh.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal