Code Monkey home page Code Monkey logo

Comments (11)

EvgenyKarkan avatar EvgenyKarkan commented on May 18, 2024

What version of Xcode do you have?
Xcode 5.1 includes more compiler settings - as in your example too.
Wait a little - I will fix that.

from scaryflight.

clinbu avatar clinbu commented on May 18, 2024

I have 5.1. Is there a way to make it run with that error anyway or does it need to be fixed?

from scaryflight.

EvgenyKarkan avatar EvgenyKarkan commented on May 18, 2024

https://gist.github.com/EvgenyKarkan/9517024
See gist.
I've updated code - but after updating project to advantages of Xcode 5.1 - the game become buggy - a bug with collisions of hero & obstacles. I will try to fix it on my spare time.
BTW - you can play this game by downloading it from App Store - https://itunes.apple.com/ua/app/scary-flight/id824428528?mt=8

from scaryflight.

clinbu avatar clinbu commented on May 18, 2024

It seems as that affected something else, it now gives this error?
enity

Is it something on my end?

from scaryflight.

EvgenyKarkan avatar EvgenyKarkan commented on May 18, 2024

Oh - just comment them with // at the beginning of line - it will look like below.
//static CGFloat const kPipeGap = 80.0f;
//static CGFloat const kPipeFrequency = 2.5f;
So - the project will build and run - but the bug with collisions remains :(
Sorry for that - before update the game works like a charm ;)

from scaryflight.

clinbu avatar clinbu commented on May 18, 2024

Ok, that made it compile correctly but, like you said before there is a bug where it doesn't go through the pipes. Not sure if you are aware of it but also, the app on the app store does the same thing.

from scaryflight.

EvgenyKarkan avatar EvgenyKarkan commented on May 18, 2024

Hmmm - I have iPad 4 & iOS 7.0.6 on it. Also I have 1.0.0 version of app - game works fine :|
Maybe you have iOS 7.1? I suggest that the problem is because of iOS 7.1.

from scaryflight.

EvgenyKarkan avatar EvgenyKarkan commented on May 18, 2024

Just a tiny hint - download iOS 7.0 simulator - and then run game on it. ;)

from scaryflight.

clinbu avatar clinbu commented on May 18, 2024

Yeah, on devices with iOS 7.1 it doesn't work. It emulates the 5.1 simulator exactly.

from scaryflight.

EvgenyKarkan avatar EvgenyKarkan commented on May 18, 2024

I used SpriteKit framework for game development - so maybe there are some diffs on it in 7.1 iOS SDK. Need more investigation - but if you could help - I will be very appreciated. ;)

from scaryflight.

clinbu avatar clinbu commented on May 18, 2024

Ok. I just started with SpriteKit yesterday but ill mess around with it and see if I can find anything. It looks fairly easy compared to what I expected.

from scaryflight.

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.