RPG Maker Forums

What I hope is a straightforward question that I've found it hard to search for:

Does code that never runs (branches of an if statement that come out false for instance) affect the performance of the script/software?

So if I were to write an if/else statement with... 12 branches let's say, but only two of them ever run in any one situation, do the other 10 negatively affect anything? Same question toward switch/case blocks or anything else with the same basis.

Appreciate the input!

~ Zephyr

Latest Threads

Latest Posts

Latest Profile Posts

He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!

Forum statistics

Threads
106,036
Messages
1,018,461
Members
137,821
Latest member
Capterson
Top