Git Product home page Git Product logo

sneakyinput's People

Contributors

clops avatar derekvanvliet avatar f15gdsy avatar panajev avatar sneakyness avatar tanis2000 avatar wagyu298 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sneakyinput's Issues

SneakyBlister

Blister controller to generate selections around an object.

Visual Input Diagnostics

A debug display would be nice. Graphs to show force, indicators for activity, etc. Would make calibrating/setting the input much easier.

sprite position issue

the issue happens after merged "It was modified for Cocos2D-2.1, iOS-6.1.4 and Xcode-4.6.2", run the demo project on cocos2d-iphone v2.1:

ios 2013-10-13 12 24 44

Draggable Buttons

Buttons you can drag while depressed. When you stop touching them, they cheer up, don't worry ;)

autoCenter=NO; not working

The autoCenter=NO; is not working because you have created new location variable in side the if condition, which is not available outside the if condition. So for any value of autoCenter the location is CGRectZero

Event System/Callbacks

An event/callback system. Events for certain directions/forces/states. Callbacks for events such as start/finish input, etc. Feel free to elaborate on your own needs. :)

Taps on SneakyButton registering 2-3 times.

When tapping a button, there are times the button will register 2-3 times.
Ex.
-(void) tick:(float)delta {
if (button.active == YES) {
NSLog(@"Tap");
}
}

Click the SneakyButton "Button" will cause the log to display "Tap" 2-3 times. Not sure if it's a bug or I'm implementing the class wrong.

For a fix I add "button.active = NO;" in the if statement.

Split SneakyJoystick/SneakyDPad

They don't belong together. Simple as that. I'd rather have two small, neat classes, than one big ugly one. Should've never let them join forces in the first place, but oh well.

Does not work with Cocos2d V2.0

Unfortunately SneakyInput fails badly with Cocos2d V2.0 and above dying with the following error:

2012-01-30 10:00:50.864 OpenSpace[588:1be03] +[CCTouchDispatcher addTargetedDelegate:priority:swallowsTouches:]: unrecognized selector sent to class 0xfed9c
2012-01-30 10:00:50.881 OpenSpace[588:1be03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[CCTouchDispatcher addTargetedDelegate:priority:swallowsTouches:]: unrecognized selector sent to class 0xfed9c'

CocoaPod

Any hope of making a CocoaPod for this library? Would be very nice.

Switching from joystick>dpad deadzone issues

Currently, if you switch from a joystick to a dpad, or vice versa, the deadzones aren't correctly enabled/disabled.

The fix I'm writing right now will automatically enable a deadzone of 10 when changing from a joystick to a dpad. When changing back from dpad to joystick, the deadzone will stay as it is, meaning you must manually disable/reconfigure the deadzone.

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.