{"author_link":"\/users\/aweskybear","author_name":"AweSkyBear","author_uid":"aweskybear","comments":[],"epoch":1697650531,"event":"LD54","format":"md","ldjam_node_id":382413,"likes":3,"metadata":{"p_key":"204039","p_author":"AweSkyBear","p_authorkey":"1371030","p_urlkey":"438643","p_title":"Pseudo Random Generation or what's so cool about it","p_cat":"LDJam ","p_event":"LD54","p_time":"1697650531","p_likes":"3","p_comments":"0","p_status":"WAYBACK","us_key":"1371030","us_name":"LDJam user 371030","us_username":"371030","event_start":"1695945600","event_key":"117","event_name":"Ludum Dare 54"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD54","removed_author":false},"_superparent":371459,"_trust":1,"author":371030,"body":"![mazes-overlayed.jpg](\/\/\/raw\/659\/a5\/z\/606b0.jpg)\n\nSo.. this post may have been a bit longer overdue than advisable... anyway :smile:\n\nI've become kind of quite passionate with the possibilities that **reproducible** random generation can give you. More about it? Google **PRNG** or **pseudo-random generation** or **procedural generation** + *insert your language of choice here* and see what could come out of it.\n\nWant some examples?\n\n## [Guys, LD is awesome and you ALL ARE!](https:\/\/ld54-aweskybear-infinitum-labyrinth.netlify.app\/#maze=%7B%22size%22%3A%7B%22w%22%3A8%2C%22h%22%3A8%7D%2C%22seedSuffix%22%3A%22Guys%2C%20LD%20is%20awesome%20and%20you%20ALL%20ARE!%22%2C%22walls%22%3A%7B%22c1%22%3A%22%23fafbff%22%2C%22c2%22%3A%22%23212530%22%2C%22c3%22%3A%22%233e68ff%22%2C%22c4%22%3A%22%233e68ff%22%7D%2C%22notes%22%3A%7B%7D%2C%22fat%22%3Atrue%7D)\n\n## [It's true, it's been a BLAST!!!](https:\/\/ld54-aweskybear-infinitum-labyrinth.netlify.app\/#maze=%7B%22size%22%3A%7B%22w%22%3A8%2C%22h%22%3A8%7D%2C%22seedSuffix%22%3A%22It's%20true%2C%20it's%20been%20a%20BLAST!!!%22%2C%22walls%22%3A%7B%22c1%22%3A%22%23fafbff%22%2C%22c2%22%3A%22%23252932%22%2C%22c3%22%3A%22%231b2c83%22%2C%22c4%22%3A%22%23339d15%22%7D%2C%22notes%22%3A%7B%7D%2C%22fat%22%3Atrue%7D)\n\nYou can tinker with it to see how **the maze title generates a completely reproducible infinite maze** - every portal you enter, leads deeper into the maze and creates 3 new mazes. \n\nYou can **configure** and **share it as a URL** with those 2 buttons:\n\n![how-to-config-maze.jpg](\/\/\/raw\/659\/a5\/z\/606af.jpg)\n\nThis is part of the *Free Roam* mode [for my game for the jam](https:\/\/ldjam.com\/events\/ludum-dare\/54\/infinitum-labyrinth-space-un-limited). I feel it didn't receive enough love or I didn't mention it nearly enough!\n\n**Anyway** - the idea is - generating a sequence of numbers *by a seed*, applying it to some algorithm (like maze-generation) produces... well.. reproducible randomness!\n\nThis could effectively be used in games for **automatically positioning elements\/game objects**, imagine 2D or 3D levels, decoration on levels, creating infinite sequences.\n\nNow... it can get even *more interesting* when you apply\/change stuff **on top** of the pseudo randomness - accessing the created elements and applying logic on top of them can get a *refined* feel : )) and actually overlay custom gameplay on top (that's one of the things my game does).\n\n**What are your ways to apply pseudo-random generation**? I've never formally sought to learn about it... if you have cool ideas or cool things you've done, feel free to share! ^^\n","comments":0,"created":"2023-10-18T17:08:35Z","files":[],"files-timestamp":0,"id":382413,"love":3,"love-timestamp":"2023-10-18T20:53:50Z","meta":[],"modified":"2023-10-18T20:53:50Z","name":"Pseudo Random Generation or what's so cool about it","node-timestamp":"2023-10-18T19:58:30Z","parent":371504,"parents":[1,5,9,371459,371504],"path":"\/events\/ludum-dare\/54\/infinitum-labyrinth-space-un-limited\/pseudo-random-generation-or-whats-so-cool-about-it","published":"2023-10-18T17:35:31Z","scope":"public","slug":"pseudo-random-generation-or-whats-so-cool-about-it","subsubtype":"","subtype":"","type":"post","version":1191494},"node_metadata":{"n_key":"382413","n_urlkey":"438643","n_parent":"371504","n_path":"\/events\/ludum-dare\/54\/infinitum-labyrinth-space-un-limited\/pseudo-random-generation-or-whats-so-cool-about-it","n_slug":"pseudo-random-generation-or-what","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"371030","n_created":"1697648915","n_modified":"1697662430","n_version":"1191494","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/54\/infinitum-labyrinth-space-un-limited\/pseudo-random-generation-or-whats-so-cool-about-it","text":"![mazes-overlayed.jpg](\/\/\/raw\/659\/a5\/z\/606b0.jpg)\n\nSo.. this post may have been a bit longer overdue than advisable... anyway :smile:\n\nI've become kind of quite passionate with the possibilities that **reproducible** random generation can give you. More about it? Google **PRNG** or **pseudo-random generation** or **procedural generation** + *insert your language of choice here* and see what could come out of it.\n\nWant some examples?\n\n## [Guys, LD is awesome and you ALL ARE!](https:\/\/ld54-aweskybear-infinitum-labyrinth.netlify.app\/#maze=%7B%22size%22%3A%7B%22w%22%3A8%2C%22h%22%3A8%7D%2C%22seedSuffix%22%3A%22Guys%2C%20LD%20is%20awesome%20and%20you%20ALL%20ARE!%22%2C%22walls%22%3A%7B%22c1%22%3A%22%23fafbff%22%2C%22c2%22%3A%22%23212530%22%2C%22c3%22%3A%22%233e68ff%22%2C%22c4%22%3A%22%233e68ff%22%7D%2C%22notes%22%3A%7B%7D%2C%22fat%22%3Atrue%7D)\n\n## [It's true, it's been a BLAST!!!](https:\/\/ld54-aweskybear-infinitum-labyrinth.netlify.app\/#maze=%7B%22size%22%3A%7B%22w%22%3A8%2C%22h%22%3A8%7D%2C%22seedSuffix%22%3A%22It's%20true%2C%20it's%20been%20a%20BLAST!!!%22%2C%22walls%22%3A%7B%22c1%22%3A%22%23fafbff%22%2C%22c2%22%3A%22%23252932%22%2C%22c3%22%3A%22%231b2c83%22%2C%22c4%22%3A%22%23339d15%22%7D%2C%22notes%22%3A%7B%7D%2C%22fat%22%3Atrue%7D)\n\nYou can tinker with it to see how **the maze title generates a completely reproducible infinite maze** - every portal you enter, leads deeper into the maze and creates 3 new mazes. \n\nYou can **configure** and **share it as a URL** with those 2 buttons:\n\n![how-to-config-maze.jpg](\/\/\/raw\/659\/a5\/z\/606af.jpg)\n\nThis is part of the *Free Roam* mode [for my game for the jam](https:\/\/ldjam.com\/events\/ludum-dare\/54\/infinitum-labyrinth-space-un-limited). I feel it didn't receive enough love or I didn't mention it nearly enough!\n\n**Anyway** - the idea is - generating a sequence of numbers *by a seed*, applying it to some algorithm (like maze-generation) produces... well.. reproducible randomness!\n\nThis could effectively be used in games for **automatically positioning elements\/game objects**, imagine 2D or 3D levels, decoration on levels, creating infinite sequences.\n\nNow... it can get even *more interesting* when you apply\/change stuff **on top** of the pseudo randomness - accessing the created elements and applying logic on top of them can get a *refined* feel : )) and actually overlay custom gameplay on top (that's one of the things my game does).\n\n**What are your ways to apply pseudo-random generation**? I've never formally sought to learn about it... if you have cool ideas or cool things you've done, feel free to share! ^^\n","title":"Pseudo Random Generation or what's so cool about it","wayback_source":[]}