OAOD_iNspire Posted February 11, 2018 Share Posted February 11, 2018 Hi, This is my first game and im working with Phaser . I have made progress far, its a basic basketball shoot and score game. I am the point where i write the logic to throw the ball into the net. Can I get some assistance on how to go about this ? Demo link : basket.inspireleadership.biz Link to comment Share on other sites More sharing options...
mickeyren Posted February 15, 2018 Share Posted February 15, 2018 this is just an idea, your game's setup is a little tricky. like it's sort of 3D setup right. I would like make an off-calculation that's in sideway/2D like angrybird. then i would use the calculation i get from that sideway shoot to find out if the ball would reach its target or not. aesthetically, you would also want to set your ball's size smaller as it gets "near" the ring, to give the illusion that your ball is traveling. you'd also want to rotate it "foward", like rotate it along it's x axis. hope that helps. Link to comment Share on other sites More sharing options...
Recommended Posts