Game Development Community

Can we communicating GUI's and Engine?

by Roshan Kuriyan · in General Game Discussion · 06/04/2009 (12:18 am) · 2 replies

How do you transfer keyboard/mouse input data from the GUI to the engine and back from the engine to the GUI ?

#1
06/04/2009 (7:01 am)
Yes and no. What kind of mechanic are we talking about?

With the object selection resource, when a player clicks on the screen, the object is selected on the server using that data. But with the "normal" key bindings, the client executes or requests the server to execute a function call.

That said, there shouldn't be anything that prevents you from forwarding on to the server what buttons or mouse clicks have occurred.
#2
06/05/2009 (3:57 am)

This is the actual requirement for which we had posted the previous query :
How do you embed as 2D flash game in a TGE envirnment?