Giter Site home page Giter Site logo

Comments (6)

JayHaz86 avatar JayHaz86 commented on June 16, 2024

I believe the codes were made during the first beta, and as far as I know SWIFT changed so fast since it was released. So I am trying to edit the code from my poor experience and I hope to get into something. Either way do not get your hopes up, I am just a newpie lol.

from flappyswift.

JayHaz86 avatar JayHaz86 commented on June 16, 2024

Hey ,, I am back with the good news, I fixed the file. there was some syntax issue with the code. I have no idea how to update or upload the file, anyway I will dig around and see what I can do.

from flappyswift.

vizcaynoarnlee avatar vizcaynoarnlee commented on June 16, 2024

i just downloaded the project today and i have this issue.

from flappyswift.

chenlam avatar chenlam commented on June 16, 2024

pull requests has fited these issues

from flappyswift.

ankomulder avatar ankomulder commented on June 16, 2024

I tried some possibilities and four this.
The "bird.physicsBody....." on lines 115/120, 187,188, 212,213, 252 in GameScene.swift has to be "bird.physicsBody?.....".
And "bird.zRotation = self.clamp( -1, max: 0.5, value: bird.physicsBody.velocity.dy * (
bird.physicsBody.velocity.dy < 0 ? 0.003 : 0.001 ) )" on line 235
must be "bird.zRotation = self.clamp( -1, max: 0.5, value: bird.physicsBody!.velocity.dy * (
bird.physicsBody!.velocity.dy < 0 ? 0.003 : 0.001 ) )"

from flappyswift.

jashmenn avatar jashmenn commented on June 16, 2024

Fixed in 3a07b33

from flappyswift.

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.