{"author_link":"\/users\/honey-pony","author_name":"Honey Pony","author_uid":"honey-pony","comments":[],"epoch":1792284629,"event":"LD60","format":"md","ldjam_node_id":435392,"likes":10,"live_source":{"record":"runs\/20261019T011532.446773Z\/records\/0014.json","object":"objects\/31c462edc91f4409324aab3c2af8f86a5281f372f6b59f9d2a349452c703a1bb","sha256":"31c462edc91f4409324aab3c2af8f86a5281f372f6b59f9d2a349452c703a1bb","response_url":"https:\/\/api.ldjam.com\/vx\/node2\/get\/435436+433933+435387+435435+435434+435433+435432+435430+435429+435423+435427+434423+435426+435425+435424+435422+435421+435419+435420+435417+435418+435416+435415+435414+435413+435412+432826+435411+435394+435410+435409+435408+435407+435405+435406+435404+435402+435403+435400+435398+432870+435396+435395+435393+435363+435392+435390+434186+435388+433588","captured_at":1792372698},"metadata":{"p_key":"212186","p_author":"Honey Pony","p_authorkey":"1162497","p_urlkey":"452027","p_title":"How do people write physics engines","p_cat":"LDJam ","p_event":"LD60","p_time":"1792284629","p_likes":"10","p_comments":"0","p_status":"WAYBACK","us_key":"1162497","us_name":"Honey Pony","us_username":"honey-pony","event_start":"0","event_key":"121","event_name":"Ludum Dare 60"},"node":{"id":435392,"parent":434239,"_superparent":432763,"author":162497,"type":"post","subtype":"","subsubtype":"","published":"2026-10-18T00:50:29Z","created":"2026-10-18T00:43:27Z","modified":"2026-10-19T01:03:29Z","_trust":8,"version":1380047,"slug":"how-do-people-write-physics-engines","name":"How do people write physics engines","body":"I was out most of the day doing unrelated things so haven't made much progress overall so far today. Probably going to try to do the jam and get a semi-playable game out by then.\n\nI do have concepts for what the actual gameplay could be (maybe a puzzle platformer sort of thing), and have implemented some janky box-pushing physics.\n\n![ludum-dare-60-progress-ezgif.com-video-to-gif-converter.gif](\/\/\/raw\/1ca\/72\/z\/737b7.gif)\n\nBut then I realized I still have lots of physics glitches, like how the collisions only check for one box so you can exploit that to get inside another box. Grrr....\n\n![Screenshot_20261017_204920.png](\/\/\/raw\/1ca\/72\/z\/737b8.png)\n\nI am so bad at writing physics engines, it is actually kind of impressive. To be fair, I actually stole this physics engine from Macroquad (their macroquad-platformer package) but ported it to PonieScript so that I could make changes. Still, it isn't quite working.","scope":"public","node-timestamp":"2026-10-18T00:50:29Z","meta":[],"path":"\/events\/ludum-dare\/60\/$434239\/how-do-people-write-physics-engines","parents":[1,5,9,432763,434239],"files":[],"files-timestamp":0,"love":10,"love-timestamp":"2026-10-19T01:03:29Z","comments":4,"comments-timestamp":"2026-10-18T06:15:07Z","_collation":{"event":"LD60"},"_live_source":{"record":"runs\/20261019T011532.446773Z\/records\/0014.json","object":"objects\/31c462edc91f4409324aab3c2af8f86a5281f372f6b59f9d2a349452c703a1bb","sha256":"31c462edc91f4409324aab3c2af8f86a5281f372f6b59f9d2a349452c703a1bb","response_url":"https:\/\/api.ldjam.com\/vx\/node2\/get\/435436+433933+435387+435435+435434+435433+435432+435430+435429+435423+435427+434423+435426+435425+435424+435422+435421+435419+435420+435417+435418+435416+435415+435414+435413+435412+432826+435411+435394+435410+435409+435408+435407+435405+435406+435404+435402+435403+435400+435398+432870+435396+435395+435393+435363+435392+435390+434186+435388+433588","captured_at":1792372698},"magic":[]},"node_metadata":{"n_key":"435392","n_urlkey":"452027","n_parent":"434239","n_path":"\/events\/ludum-dare\/60\/$434239\/how-do-people-write-physics-engines","n_slug":"how-do-people-write-physics-engi","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"162497","n_created":"1792284207","n_modified":"1792371809","n_version":"1380047","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/60\/$434239\/how-do-people-write-physics-engines","text":"I was out most of the day doing unrelated things so haven't made much progress overall so far today. Probably going to try to do the jam and get a semi-playable game out by then.\n\nI do have concepts for what the actual gameplay could be (maybe a puzzle platformer sort of thing), and have implemented some janky box-pushing physics.\n\n![ludum-dare-60-progress-ezgif.com-video-to-gif-converter.gif](https:\/\/static.ldjam.com\/raw\/1ca\/72\/z\/737b7.gif)\n\nBut then I realized I still have lots of physics glitches, like how the collisions only check for one box so you can exploit that to get inside another box. Grrr....\n\n![Screenshot_20261017_204920.png](https:\/\/static.ldjam.com\/raw\/1ca\/72\/z\/737b8.png)\n\nI am so bad at writing physics engines, it is actually kind of impressive. To be fair, I actually stole this physics engine from Macroquad (their macroquad-platformer package) but ported it to PonieScript so that I could make changes. Still, it isn't quite working.","title":"How do people write physics engines","wayback_source":{"record":"runs\/20261018T010059.872144Z\/records\/0002.json","object":"objects\/3e2d71e15248e3e4a6c75cd2d3d8c15d6ced91d4889d4b37056477598cb16a34","sha256":"3e2d71e15248e3e4a6c75cd2d3d8c15d6ced91d4889d4b37056477598cb16a34","response_url":"https:\/\/api.ldjam.com\/vx\/node2\/get\/435394+435393+435363+435392+434407+435391+435390+434186+435387+435388+433588+435056+435386+435383+435384+435381+435382+433193+435377+433157+435379+435376+435375+435374+435373+434645+433050+435372+434198+435370+435341+435369+435366+435365+435368+435367+435360+434792+435364+435362+435361+435359+435358+435353+435356+435352+435351+435315+435345+435347","captured_at":1792285263}}