{"push_id":1238079858,"size":15,"distinct_size":0,"ref":"refs/heads/mainDevelop","head":"1a2665ae49d93e14328c5c53c62413e446c04221","before":"f3f6bbbae1f01e04c73c83a45d79bbef5d054703","commits":[{"sha":"c5d41aa9c25df924ac66cdce57bbc2a0c78b7c68","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Added two small functions to the main class that calculates and draws the expected trojectory of\na body when given a certain velocity. Also added a test object that seems to be working.\nNext step, create a separate class for a projectile that can be thrown.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/c5d41aa9c25df924ac66cdce57bbc2a0c78b7c68"},{"sha":"25bacba935e6b5ee25068a84559aa7ebb3a68683","author":{"name":"daniel","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Started to work on the turret","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/25bacba935e6b5ee25068a84559aa7ebb3a68683"},{"sha":"f7c0531905866de3d233378b22e7f82e79198edc","author":{"name":"daniel","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Added a new class named 'Turret' that creates a turret. Also added the creation\nof this class to the maploader. It does not currently work as expected. More work needed.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/f7c0531905866de3d233378b22e7f82e79198edc"},{"sha":"ce123663470d2ce9afcef3a92b660ac708b3575e","author":{"name":"daniel","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Continued work on the turret. Realised that the angle of the barrel cant be forced directly\nthrough a transform. It needs to be changed via the joint and the motor attatched to it.\nThus the rotation and restriction of the barrel now works fine. Next stage is to print\ntrojectory and actually shoot something.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/ce123663470d2ce9afcef3a92b660ac708b3575e"},{"sha":"a7339b8d236e8d828a300c4ac140d0065cfcaea5","author":{"name":"daniel","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Started to add a joint property to the turret. Also needed a way to load joints\ncorrectly so added a new container 'JointData' that contains data related to joints.\nEach joint in the world now has to have a 'JointData' object as its 'UserData', otherwise\nit will result in a crash (might need some reconsidering).","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/a7339b8d236e8d828a300c4ac140d0065cfcaea5"},{"sha":"513ab955c01c8fad2f7b5c06dc5b014812c1a312","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Continued work on the turret. Started to work on a manually controlled turret (player controlled) called\n 'PlayerTurret'. I am getting some weard crashes at the moment with a nullpointerexception in\n'ContactListener'. The list containing listeners is empty but the error still occurs inside of the for loop.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/513ab955c01c8fad2f7b5c06dc5b014812c1a312"},{"sha":"e60e2f3e12d366cbd47aeb8504a1f890745a3320","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Looked for the bug causing a nullpointerexception. Found the cause, there is a body in the world with\nnull as userdata, thus causing nullpointerException when trying to cast the value stored in the userdata\nto a 'GameOBject'. I found one plausible cause of the problem. The actions and triggeres were removed by the\nactionmanager without reassigning the 'UserData' value of the body. I fixed this issue by adding a function\nto both the triggers and the actions called 'Destroy****' where such problems could be adressed. I realised\nhowever that due to how the JVM GarbageCollector works, this problem was no problem at all, just a memmory leak.\nHowever it is good for memorymanagement scinse the GB will remove the destroyed triggeres and actions now.\nThe earlier problem remains however.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/e60e2f3e12d366cbd47aeb8504a1f890745a3320"},{"sha":"c9220a9212b69c029c2cee9501c1f45b850e90d8","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Found another potential bug in the 'LoadMap' class. The body used to retrieve positiondata and\nother parameters when creating a turret was never removed thus resulting in a body in the world that\nhad null as the value of its userdata. This did not fix the problem however.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/c9220a9212b69c029c2cee9501c1f45b850e90d8"},{"sha":"eb6561b0e93052ebd9cebe819bc5fb33a47b4663","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Tried to change some in the json files but it did not help. also added a try-catch clause where\na for loop over the joints belonging to the turretbasebody is created to prevent nullpointerexception when\nno joints are returned.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/eb6561b0e93052ebd9cebe819bc5fb33a47b4663"},{"sha":"88bd73c6d53583b485ecbff03af8bf9c782392c4","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Found the error. It was caused when the creation of a turret failed and was cought.\nThe bodies from the 'turret.json' was never removed from the world thus causing a nullpointer\nwhen collision occured. This because the bodies did not hav a 'GameOBject' as userdata. This has been\ntaken care of. I also added some extra security to the map that ensures that, when removing a body, it must\nhave a 'GameOBject' as userdata. If it does not manual removal using the 'World' is attempted.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/88bd73c6d53583b485ecbff03af8bf9c782392c4"},{"sha":"024ad363e45c70d6f6939a716a6866e688879c34","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Found a bug in the actionmanager. It threw an exception when trying to remove an Action from the\nlist of actions while iterating over it. This was fixed by using a 'Iterator'. Also added a error\nsign to the world when failing to load the turret.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/024ad363e45c70d6f6939a716a6866e688879c34"},{"sha":"4c766900cbd76319f73d3921920fca74e7127cfb","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"A few tuches making the program work better. Also added temporary collisiongroups for the player and\nthe turret so that the turret and the player does not collide. This needs to be fixed later so that\nmaskbits and categorybits are used instead, thus creating collisionlayers.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/4c766900cbd76319f73d3921920fca74e7127cfb"},{"sha":"9a0269ed2a5c35b15936de9005a85680cc3850df","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Fixed some bugs with the 'Turret' class. Also added the 'PlayerTurret' class to the\nmaploader. Also fixed so that the player can control the barrels position.\nThe next step is adding code to the 'shoot' function.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/9a0269ed2a5c35b15936de9005a85680cc3850df"},{"sha":"16ee9558f17564f713b730a3d26eb62c9fd92564","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Continued working on the 'PlayerTurret'. The player can now control the turrets direction and\nI have started working on the granade that the turret will shoot.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/16ee9558f17564f713b730a3d26eb62c9fd92564"},{"sha":"1a2665ae49d93e14328c5c53c62413e446c04221","author":{"name":"danielthoren","email":"e19a2fa16fa2787f2b69cec68b920d8125d8b41b@hotmail.com"},"message":"Fixed so that the turret now spawns a dummy granade and shoots it in the desired direction.\nAlso added a smoke effect when the granade spawns. The turret now works as expected when the player\ncontrols it. The next step is actually creating a real explosion (box2d) not just graphical. That will\nhave to wait though, more pressing matters has come up.","distinct":false,"url":"https://api.github.com/repos/danielthoren/SideScrollerGameV2/commits/1a2665ae49d93e14328c5c53c62413e446c04221"}]}
{"actor":{"display_login":"danielthoren"}}