{"author_link":"\/users\/simplepotential","author_name":"SimplePotential","author_uid":"simplepotential","comments":[],"epoch":1602716947,"event":"LD47","format":"md","ldjam_node_id":231261,"likes":1,"metadata":{"p_key":"151554","p_author":"SimplePotential","p_authorkey":"1001155","p_urlkey":"368059","p_title":"Post Jam Update: What Goes In Must Come Out","p_cat":"LDJam ","p_event":"LD47","p_time":"1602716947","p_likes":"1","p_comments":"0","p_status":"WAYBACK","us_key":"1001155","us_name":"SimplePotential","us_username":"simplepotential","event_start":"1601596800","event_key":"76","event_name":"Ludum Dare 47"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD47","removed_author":false},"_superparent":212256,"_trust":7,"author":1155,"body":"I've been working a bit on a post jam version.  Which is always something I say I'll do but never quite get around to it.  Change log below but most significant is I've narrowed down the lag I think and have take steps to mitigate it.  More work to do still but far more playable at higher levels.\n\nOriginal entry:  https:\/\/ldjam.com\/events\/ludum-dare\/47\/what-goes-in-must-come-out\n\nPost Jam Version: https:\/\/simplepotential.com\/projects\/LD47v2\/game.htm\n\n- Changed keyup Event Listener to a switch statement rather than multiple listeners\n- No longer using keyCode on the KeyboardEvent object\n    - Using \u201ccode\u201d as keyCode has been deprecated\n    - Adjusted appropriate code to check based on string matches rather than numeric codes\n- Removed \u201cS\u201d as the way to start the game\n    - It is now Space or Enter.\n    - \u201cP\u201d can also be used to Start the game\n    - The same keys all now pause the game as well.\n- Pooing can now occur when you are >= 50% belly.\n    - Speeds up game play\n    - Keeps it more interesting\n    - Currently a 5% chance to poo when above 50% belly\n    - At 100% belly, you poo all excess % just as you would have before\n- Corrected bug with Player movement cost\n    - I was adding\/subtracting based on players Belly fullness but never using the value from that calculation so your energy cost was always flat.\n- Removed play speed increase based on score.\n    - Thought this might be the source of lag but I\u2019ve managed to reproduce the lag I think so still investigating\n    - Game is fast paced enough without increasing the actual play speed though\n- Corrected all spellings of Collision\n- Added more commenting\n- Food is now removed from game play if it gets poo on it.\n    - I mean, who wants to eat food with poo on it right?\n- Mouse cursor now hidden from the game play area\n- Pressing F2 will now start a new game without having to refresh the page\n- Max food that can spawn at any time is now 30\n    - This balances the game a bit\n    - Also helps a bit with the lag since there is less things to collision detect\n- Turned player moving sound into a loop rather than play\/stop each tick.\n    - This has helped a lot with lag\n    - Removing all sound gets rid of all lag but I\u2019d prefer another solution and I\u2019m still investigating.","comments":0,"created":"2020-10-14T23:07:59Z","files":[],"files-timestamp":0,"id":231261,"love":1,"love-timestamp":"2020-10-15T06:10:48Z","meta":[],"modified":"2020-10-15T06:10:48Z","name":"Post Jam Update: What Goes In Must Come Out","node-timestamp":"2020-10-14T23:09:18Z","parent":225157,"parents":[1,5,9,212256,225157],"path":"\/events\/ludum-dare\/47\/what-goes-in-must-come-out\/post-jam-update-what-goes-in-must-come-out","published":"2020-10-14T23:09:07Z","scope":"public","slug":"post-jam-update-what-goes-in-must-come-out","subsubtype":"","subtype":"","type":"post","version":705771},"node_metadata":{"n_key":"231261","n_urlkey":"368059","n_parent":"225157","n_path":"\/events\/ludum-dare\/47\/what-goes-in-must-come-out\/post-jam-update-what-goes-in-must-come-out","n_slug":"post-jam-update-what-goes-in-mus","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"1155","n_created":"1602716879","n_modified":"1602742248","n_version":"705771","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/47\/what-goes-in-must-come-out\/post-jam-update-what-goes-in-must-come-out","text":"I've been working a bit on a post jam version.  Which is always something I say I'll do but never quite get around to it.  Change log below but most significant is I've narrowed down the lag I think and have take steps to mitigate it.  More work to do still but far more playable at higher levels.\n\nOriginal entry:  https:\/\/ldjam.com\/events\/ludum-dare\/47\/what-goes-in-must-come-out\n\nPost Jam Version: https:\/\/simplepotential.com\/projects\/LD47v2\/game.htm\n\n- Changed keyup Event Listener to a switch statement rather than multiple listeners\n- No longer using keyCode on the KeyboardEvent object\n    - Using \u201ccode\u201d as keyCode has been deprecated\n    - Adjusted appropriate code to check based on string matches rather than numeric codes\n- Removed \u201cS\u201d as the way to start the game\n    - It is now Space or Enter.\n    - \u201cP\u201d can also be used to Start the game\n    - The same keys all now pause the game as well.\n- Pooing can now occur when you are >= 50% belly.\n    - Speeds up game play\n    - Keeps it more interesting\n    - Currently a 5% chance to poo when above 50% belly\n    - At 100% belly, you poo all excess % just as you would have before\n- Corrected bug with Player movement cost\n    - I was adding\/subtracting based on players Belly fullness but never using the value from that calculation so your energy cost was always flat.\n- Removed play speed increase based on score.\n    - Thought this might be the source of lag but I\u2019ve managed to reproduce the lag I think so still investigating\n    - Game is fast paced enough without increasing the actual play speed though\n- Corrected all spellings of Collision\n- Added more commenting\n- Food is now removed from game play if it gets poo on it.\n    - I mean, who wants to eat food with poo on it right?\n- Mouse cursor now hidden from the game play area\n- Pressing F2 will now start a new game without having to refresh the page\n- Max food that can spawn at any time is now 30\n    - This balances the game a bit\n    - Also helps a bit with the lag since there is less things to collision detect\n- Turned player moving sound into a loop rather than play\/stop each tick.\n    - This has helped a lot with lag\n    - Removing all sound gets rid of all lag but I\u2019d prefer another solution and I\u2019m still investigating.","title":"Post Jam Update: What Goes In Must Come Out","wayback_source":[]}