Open just-kirb opened 2 weeks ago
I like the idea, but what kind of game will you make? Easier is good, but new kinds of game is better.
As a side note, this would not be feasible with the existing (PS) rule parser, which needs to be rewritten. The rule pattern matching would also need modifying. Just saying.
A future project that would heavily use this feature might be a 14 minesweeper variants demake (with a more traditional randomizer), which might need to use lots of weird adjacencies that require 2d rules to handle it easily.
For the coding, ideally the existing parser and pattern matcher could ignore any rules that has 2drule and 2drule end sandwiched between them, and the new 2d rule parser and matcher could deal with these special rules, making it so that it isn't too bad if the code for 2d is broken. And there are multiple puzzle games that already have that kind of 2d replacement in situations, so it isn't unheard of to code such a system: https://store.steampowered.com/app/3126790/Wordban_Sokoban/
Check ([ ] -> [x]) all that apply, then describe the issue below:
Summary of proposed idea: allow for 2 dimensional rules to exist within the engine.
proposed idea: there will be 2 new special tags in the rules section: 2drule and 2druleend and the main idea is that they are considered open and closed parenthesis on establishing 2 dimensional rules.
proposed format:
no player| crated |no player] -> wall| |wall] [candle]->[candlel] 2druleend sfx0 in this case, if a all crates form a 3x3 t pattern on a crate with the directions placed correctly without the player going in the way of the pattern, then the boxes would disappear, the 4 empty corners of the t would become walls, the target and the cratex becomes a goal, and a sound plays. before: after: (imagine a spooky sound playing)
Why?: There are multiple reasons why implementing this would be very beneficial:
|goblin]-> |goblin] 2druleend
crate| |crate]-> | | ] 2druleend
Thank you for reading and considering this suggestion.