Which of the 2 methods is more efficient?
Hi, I’m creating a text adventure for educational purposes. I am divided on how to make the player change Room. Both methods work, but I would like to know which of the 2 weighs more on the ram
(yes I know, the difference is minimal, but this allows me to understand if it costs the ram more to read code or read different events)
With the first method, we call any action with a single event.
With the second method, we need to create 4 different events, which return a string.
CODE:
https://pastebin.com/kGFkDtdB
IMG:
