Code Monkey home page Code Monkey logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
[deleted comment]

from libgdx-users.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
yes, i noticed that too...

maybe we could implement that in DemoWrapper, since key events are passed up 
the chain?
so we could have a MultiDemoWrapper extends DemoWrapper and handle spacebar 
there...

or maybe we can just change wherever the input is being sent when a new app 
loads:

Gdx.input.setInputProcessor(this);

that seems to remove/replace the old input processor?

Original comment by [email protected] on 16 Aug 2011 at 9:00

from libgdx-users.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Yes.

This way, Nate's comment in forum might come in handy:
http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=1695#p9417

Original comment by [email protected] on 16 Aug 2011 at 9:12

from libgdx-users.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Did not yet find a way to get IsoCamTest's custom IsoCamController connected 
with the InputMultiplexer from TextCollection.

Tried passing the InputMultiplexer to all tests as parameter to the create() 
method so all tests could add themselves to the InputMultiplexer.
This crashes in render() but the line stated there has nothing to do with this 
at all.

Also tried it the other way round: The tests got a new getInputProcessor() 
mehtod that returns this in all cases except for IsoCamTest. For IsoCamTest I 
tried giving it it's own InputProcessor and returning it in the 
getInputProcessor() method. This did not work the way it is intended. I get 
only one out of the two controls set up for it: control the cam *OR* toggle 
tests with keys.


So there is still no luck combining the interaction with IsoCamTest's elements 
on screen and the ',' and '.' keys to toggle test starting from TestCollection.


See demos-3-tier-* packages for latest version on this.

Original comment by [email protected] on 18 Aug 2011 at 8:02

from libgdx-users.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.