hailiang194 / NeoSekaiEngine

Sekai Game engine - my 2D game engine built base on what I know about game development. This game engine can run on Windows, Linux and Web platform
MIT License
0 stars 0 forks source link

How can I know the shape and position of render object on screen #7

Closed hailiang194 closed 2 months ago

hailiang194 commented 5 months ago

I'm creating a game to check if mouse is hover. I know I can calculate them by myself but it's really annoying. Can you implement it so that I don't have to take time for this

hailiang194 commented 5 months ago

Thanks for your question. Currently, this one is easy but also really difficult. It's gonna be easy if you don't rotate the object. However, this one is gonna be one of the most important thing in our engine so I'm gonna implement it as soon as possible.

hailiang194 commented 2 months ago

Currently, we have bounding object which return the bounding rectangle of render object. You can have a look