Opened 16 years ago

Last modified 5 years ago

#7602 new feature request

Expose game hotspots to backend

Reported by: vincenthamm Owned by:
Priority: normal Component: --Other--
Version: Keywords:
Cc: Game:


In iphone like devices using a touchscreen, it can sometimes be difficult to select certain objects in-game due to the precission required. To solve this, I propose to create a way to expose a list of in-game hotspots to the backend. This way, the backend could choose to magneticaly make the cursor go to the hotspot if it's closer than a given thresshold.

Such system would be optional (some game engine can't support that kind of hotspots as active objects are unknown to the engine) and in that case the current behavior would occure without modification.

I believe this kind of implemementation to be possible for scumm based game and cruise. Other engines may also be suitable, but I don't know their inner working.


Ticket imported from: #1839791. Ticket imported from: feature-requests/418.

Change History (2)

comment:1 by fingolfin, 16 years ago

Yeah, that would be possible to implement. On the other hand, it could also be considered "cheating" to a degree, since paying attention to what objects are out there is part of the "fun" (or annoyance? *g*), isn't it?

Anyway, this could work by passing a list of quadrangles (or, less flexible but easier to implement: rectangles) to the backend. Implementing this would be optional, just like the "focus" call in OSystem right now (which many engines don't properly support, sadly).

(Slightly off topic sidenote that this "problem" of touch screen devices is one of the reasons why I think touch screen devices are *not* the perfect devices for playing point and click games, despite what other people frequently claim ;-).

comment:2 by digitall, 5 years ago

Component: --Other--
Note: See TracTickets for help on using tickets.