Code Monkey home page Code Monkey logo

mbtileparser's Issues

Should we start off on a new branch for SpriteKit or a new repo?

Should we start off on a new branch for SpriteKit or a new repo?
Maybe the code could be agnostic to what backing parts are implemented?

I mean if we could implement some sort of a protocol that SKSprite and related UIKit classes could conform to, then both UIKit and SpriteKit could be supported.

Then separate them within a cocoapods-subspec if you only need the SpriteKit version, e.g. Mac OS.

The joystick should dispatch movement at regular intervals

As it is now, the joystick dispatches movement events when it is touched, or when touches move. The correct, more comfortable way to use the joystick would be to support dispatches at regular intervals. Perhaps this should be done in the gameControllerViewController instance.

Adopt SpriteKit

I'd like to move to SpriteKit if possible. Not a terribly complicated thing to do here - I think there are only a few places that need changes.

Sprite seems off center

In the cocos2d engine, the sprite was manually offset. It seems that this offset causes breakage in the UIKit engine and must be fixed somehow or another. Sprites look funny now.

There's a leak

There's a leak at 131 line of MBMapView.
CGImageRef image = CGImageCreateWithImageInRect(tilesheet.CGImage, tileRect);

Maybe should add Release line to 140
CGImageRelease(image);

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.