The callbacks tag has no wiki summary.
-1
votes
1answer
104 views
Overload C++ functions in lua [closed]
I have had a look around but I believe this to be impossible due to compile time of c++.
However is it possible to have a class registered in lua and c++ that has a overload update function which I ...
1
vote
1answer
133 views
Handling multiple pressed keys with KeyListeners
I'm making a game Applet with Java that uses KeyListeners to control a paddle (for a game like Breakout/Pong). My basic implementation goes like this:
public void keyPressed(KeyEvent e) {
switch ...
0
votes
1answer
250 views
Make a callback to android methods from libgdx
How can I make a callback from libgdx to an Android method? I want to use the method to overwrite a file in the internal memory.
1
vote
1answer
1k views
How can I cancel a contact in a b2ContactListener?
To know when contacts happen we can derive from b2ContactListener and implement our own solution which is great. I'm wondering is there anyway we can cancel a contact, that is to say when we hit begin ...