You can now set a sprite as a background in Background which will simplify a lot of games that just place sprites over a single image.
This commit is contained in:
parent
6fb20c5085
commit
e1d61dc2c1
9 changed files with 79 additions and 22 deletions
|
|
@ -143,7 +143,7 @@ namespace guecs {
|
|||
|
||||
bool UI::mouse(float x, float y, bool hover) {
|
||||
int action_count = 0;
|
||||
// BUG: use lel::Parser.hit instead of this
|
||||
// BUG: Is Parser::hit useful?
|
||||
|
||||
query<lel::Cell>([&](auto ent, auto& cell) {
|
||||
if((x >= cell.x && x <= cell.x + cell.w) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue