[{"data":1,"prerenderedAt":212},["ShallowReactive",2],{"project-7209171":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":32,"aspects":33,"strip":36,"post_text":39,"what":40,"said":77,"maker_in_thread":135,"shape":140,"grid":144,"attempts":174,"same_week":175,"maker_shows":31,"maker_hidden":205,"reader_version":206,"card":207},"7209171","Flappy Block","Flappy Bird clone using the iOS7 Physics Engine","title","Show HN: Flappy Block – Flappy Bird clone using the iOS7 Physics Engine","https:\u002F\u002Fgithub.com\u002Fjoeblau\u002FFlappyBlock","github.com","joeblau",1392007271,2014,41,15,766,2272,34,"shown","games","flappy bird clone","mobile_app",[21,24,25,26],"ios7 uidynamics","uikit dynamics","ios physics engine","curious",0,{"positive":30,"neutral":31,"mixed":28,"critical":30},1,4,6,{"execution":34,"idea":35},{"positive":30,"critical":28},{"positive":28,"critical":30},[37,28,28,38,38,38,38,28,28,28,28,28,28,30,28],5,3,null,{"problem":41,"audience":48,"pricing":39,"motivation":53,"time_to_build":39,"stack":57,"openness":74,"stage":75,"team_size":76},{"value":42,"source":43,"evidence":44},"Demonstrates using iOS7's UIDynamics physics engine to build a game-style mechanic","maker",[45],{"id":46,"by":11,"text":47},"7211120","In iOS7, Apple introduced a new physics engine called UIDynamics. It's built natively into the OS which allows you to give any UIView on the screen physical properties such as…",{"value":49,"source":50,"evidence":51},"iOS developers learning UIDynamics","inferred",[52],{"id":46,"by":11,"text":47},{"value":54,"source":43,"evidence":55},"Explore the iOS7 physics engine by applying it to a game",[56],{"id":46,"by":11,"text":47},[58,65],{"value":59,"source":50,"evidence":60},"Objective-C",[61],{"id":62,"by":63,"text":64},"7209823","seivan","SpriteKit itself isn't a physics engine, it comes with one Also, the Physics Engine isn't 'similar' to Box 2D - it _IS_ Box 2D with an OBJ-C wrapper. Same thing applies to UIKit…",{"value":66,"source":43,"evidence":67},"UIDynamics (UIDynamicAnimator)",[68,71],{"id":69,"by":11,"text":70},"7209459","That is a great implementation. It seems like Nathan is using SpriteKit while my implementation uses UIDynamics. I just ran it and it seems to have collisions implemented. Mine…",{"id":72,"by":11,"text":73},"7209503","This is correct. It's all UIDynamicsAnimators using Pushes, Collisions, and Gravity.","open_source","prototype","unknown",{"praise":78,"objections":87,"requests":102,"questions":107,"alternatives":130},[79],{"value":80,"source":81,"evidence":82},"FlapFlap is a strong implementation of the same idea","commenter",[83],{"id":84,"by":85,"text":86},"7209430","awhitty","I'm just going to point to FlapFlap [1] as well though it doesn't look like collisions are implemented yet. [1]: https:\u002F\u002Fgithub.com\u002Fnathanborror\u002FFlapFlap",[88,95],{"value":89,"source":81,"evidence":90},"Not a real feat of engineering; collision detection is trivial",[91],{"id":92,"by":93,"text":94},"7210724","okamiueru","I only heard about Flappy Bird today because of the personal story around why it was taken down. However, this seems like just a remake of the helicopter game, which is fair…",{"value":96,"source":81,"evidence":97},"Physics engine claim is unclear; UI widget animations versus a game engine",[98],{"id":99,"by":100,"text":101},"7209469","jey","What do you mean by \"iOS7 physics engine\"? I can't imagine a game physics engine being included with the OS. Is this referring to a creative abuse of iOS UI widget animations?",[103],{"value":104,"source":43,"evidence":105},"Add counters or on-screen score",[106],{"id":69,"by":11,"text":70},[108,119],{"value":109,"source":81,"evidence":110},"Can SpriteKit and UIKit Dynamics be used together",[111,115],{"id":112,"by":113,"text":114},"7213335","jyothepro","is it possible to have both sprite kit and UIkitdynamics together",{"id":116,"by":117,"text":118},"7215995","hboon","If you use SpriteKit, you have access to the other physics engine. And you should use that.",{"value":120,"source":81,"evidence":121},"Is SpriteKit's physics engine Box2D",[122,126],{"id":123,"by":124,"text":125},"7209840","interpol_p","Yes, that's what I meant when I said SpriteKit contains an engine similar to Box 2D. I thought my comment was reasonably clear about SpriteKit not just being the physics engine.…",{"id":127,"by":128,"text":129},"7209881","cncool","The SpriteKit physics engine uses Box2D internally. Here is a dump of the SpriteKit framework: https:\u002F\u002Fghostbin.com\u002Fpaste\u002Ftm4ko b2* shows up in there many times. edit: slow pony",[131],{"value":132,"source":81,"evidence":133},"FlapFlap (SpriteKit)",[134],{"id":84,"by":85,"text":86},{"comments":38,"answered":30,"key":136},[137,138,139],{"id":69,"text":70},{"id":72,"text":73},{"id":46,"text":47},{"commenters":141,"max_depth":32,"maker_replies":38,"first_comment_mins":142,"lifespan_hours":143},10,89,25,[145,147,149,152,154,155,157,159,161,162,163,166,167,169,172],[84,28,37,146,85,28],"project\u002Fpositive\u002Fexecution",[69,28,28,148,11,30],"maker\u002Fpositive\u002Fexecution",[150,28,28,151,85,28],"7209859","commenter\u002Fneutral\u002Fnone",[112,28,38,153,113,28],"project\u002Fneutral\u002Fexecution",[116,28,38,153,117,28],[99,30,38,156,100,28],"project\u002Fneutral\u002Fidea",[158,30,38,153,124,28],"7209482",[72,30,28,160,11,30],"maker\u002Fneutral\u002Fexecution",[62,30,28,151,63,28],[123,30,28,151,124,28],[164,30,28,151,165,28],"7209873","ceve",[127,30,28,151,128,28],[168,30,28,151,124,28],"7210019",[92,170,30,171,93,28],2,"project\u002Fcritical\u002Fidea",[46,170,28,173,11,30],"maker\u002Fneutral\u002Fidea",[],[176,181,186,190,195,200],{"id":177,"name":178,"points":179,"category":180},"7201353","InstantClick",426,"languages",{"id":182,"name":183,"points":184,"category":185},"7224436","Siri-as-a-Service Speech API",242,"ai",{"id":187,"name":188,"points":189,"category":20},"7191187","Eliss Infinity",214,{"id":191,"name":192,"points":193,"category":194},"7188119","Hacker News Hack",149,"consumer_social",{"id":196,"name":197,"points":198,"category":199},"7200043","Automatic VPN Generator",125,"security_privacy",{"id":201,"name":202,"points":203,"category":204},"7219025","Abacus",120,"web_saas",false,"v2",{"id":208,"name":5,"line":6,"ai":205,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":28,"top":18,"kw":209,"maker":11,"domain":10,"tier":19,"attempts":28,"strip":210,"url":9,"mix":211,"praise":80,"objection":89,"sub":21},7209171,[21,24,25,26],"500333300000010",[30,31,28,30],1794036515516]