{"author_link":"\/users\/omich","author_name":"Omich","author_uid":"omich","comments":[],"epoch":1619534004,"event":"LD48","format":"md","ldjam_node_id":253709,"likes":3,"metadata":{"p_key":"156233","p_author":"Omich","p_authorkey":"1145793","p_urlkey":"376479","p_title":"What can I say after my first Ludum Dare","p_cat":"LDJam ","p_event":"LD48","p_time":"1619534004","p_likes":"3","p_comments":"0","p_status":"WAYBACK","us_key":"1145793","us_name":"Omich","us_username":"omich","event_start":"1619222400","event_key":"109","event_name":"Ludum Dare 48"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD48","removed_author":false},"_superparent":233335,"_trust":1,"author":145793,"body":"![cover.png](\/\/\/raw\/189\/32\/z\/40a5a.png)\n\nDo not use your own engine if it doesn't already have the proper functionality. This may sound obvious, but not to me :) At the first day I'm just fix my game engine. He has a big problem - he checks for collisions in one stage, simply iterating over all instances of objects in a row, and if they have colliders, he looks to see if they intersect. Because of this, no matter how hard you try, a large amount of blocks on the screen will not work, as I originally wanted. I had to make an array storing the value of the current block on the map, which actually turned out to be a more correct solution. However, I had to write a code for collisions with blocks in an array, as well as to destroy blocks in the form of a line, I had to write a code that implements Bresenham's algorithm, because the usual collision functions with a matrix did not work very well. As a result, the collisions did not work out very well, and I was able to work normally only the next day. In general, do not repeat my mistakes :)\nYou can see what did I make here (play in the browser): https:\/\/ldjam.com\/events\/ludum-dare\/48\/deep-randomizer","comments":1,"comments-timestamp":"2021-04-27T15:47:10Z","created":"2021-04-27T14:08:21Z","files":[],"files-timestamp":0,"id":253709,"love":3,"love-timestamp":"2021-04-27T14:59:02Z","meta":[],"modified":"2021-04-27T15:47:10Z","name":"What can I say after my first Ludum Dare","node-timestamp":"2021-04-27T14:33:24Z","parent":244339,"parents":[1,5,9,233335,244339],"path":"\/events\/ludum-dare\/48\/deep-randomizer\/what-can-i-say-after-my-first-ludum-dare","published":"2021-04-27T14:33:24Z","scope":"public","slug":"what-can-i-say-after-my-first-ludum-dare","subsubtype":"","subtype":"","type":"post","version":775114},"node_metadata":{"n_key":"253709","n_urlkey":"376479","n_parent":"244339","n_path":"\/events\/ludum-dare\/48\/deep-randomizer\/what-can-i-say-after-my-first-ludum-dare","n_slug":"what-can-i-say-after-my-first-lu","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"145793","n_created":"1619532501","n_modified":"1619538430","n_version":"775114","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/48\/deep-randomizer\/what-can-i-say-after-my-first-ludum-dare","text":"![cover.png](\/\/\/raw\/189\/32\/z\/40a5a.png)\n\nDo not use your own engine if it doesn't already have the proper functionality. This may sound obvious, but not to me :) At the first day I'm just fix my game engine. He has a big problem - he checks for collisions in one stage, simply iterating over all instances of objects in a row, and if they have colliders, he looks to see if they intersect. Because of this, no matter how hard you try, a large amount of blocks on the screen will not work, as I originally wanted. I had to make an array storing the value of the current block on the map, which actually turned out to be a more correct solution. However, I had to write a code for collisions with blocks in an array, as well as to destroy blocks in the form of a line, I had to write a code that implements Bresenham's algorithm, because the usual collision functions with a matrix did not work very well. As a result, the collisions did not work out very well, and I was able to work normally only the next day. In general, do not repeat my mistakes :)\nYou can see what did I make here (play in the browser): https:\/\/ldjam.com\/events\/ludum-dare\/48\/deep-randomizer","title":"What can I say after my first Ludum Dare","wayback_source":[]}