Giter Site home page Giter Site logo

Comments (8)

SimonDarksideJ avatar SimonDarksideJ commented on June 16, 2024

As I've now found my touch input controls @tomspilman it would be a fairly easy job to port this in to the Platformer project.

Currently it's controlled by either keys or accelerometer + tap to jump. Gamepad is still there from it's XBOX days.

I'll add it to the todo list

from monogame.samples.

SimonDarksideJ avatar SimonDarksideJ commented on June 16, 2024

As discussed earlier, it would be nice to have a generic input control system (probably as a NuGet) that we could use for all the samples.
Also on the todo list :D. The spacewar sample is the furthest along with that, so that will likely be the beginning.

from monogame.samples.

tomspilman avatar tomspilman commented on June 16, 2024

it would be nice to have a generic input control system

The samples need to remain focused on MonoGame and being self contained. We really shouldn't have another helper library it depends on. Build the functionality into the sample.

from monogame.samples.

SimonDarksideJ avatar SimonDarksideJ commented on June 16, 2024

OK, fair enough. Although planning for the same code "hopefully2 to be used for at least all the samples I do.

from monogame.samples.

tomspilman avatar tomspilman commented on June 16, 2024

I think we can assume the code will be shared among all the samples and hopefully pretty minimal focusing just on what the samples we have need.

I just cannot stand samples that are over engineered. Samples should be very simple to modify and experiment with.

from monogame.samples.

danzel avatar danzel commented on June 16, 2024

Have started on this in https://github.com/danzel/MonoGame.Samples/tree/virtual-gamepad

Looks like this:
image

Should finish it off later this weekend hopefully.

from monogame.samples.

tomspilman avatar tomspilman commented on June 16, 2024

So is this considered done then?

from monogame.samples.

danzel avatar danzel commented on June 16, 2024

I'd say so

from monogame.samples.

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.