Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

I'm stuck, I need an idea

CodyBohdi

Towns Guard
Xy$
0.00
I'm making a story with multiple endings and paths. has anyone done this successfully before? because my game likes to do this thing, where it crashes horribly...
I think it's conflicting events, that's usually my problem, but I've been using switches and that's new to me.

Basically, I need a few pointers :I
 
What kind of crashes?

Switches basically can only be on or off. Completed a quest? Turn a switch on. Check if that quest is complete? Check if that switch is on via a conditional branch.
 

CodyBohdi

Towns Guard
Xy$
0.00
Ok, I've tampered around and got things moving again. I was using the same switches on different events and that caused conflicts, making my game wig out and freeze
 

Isaac The Red

Towns Guard
Aside from switches, have you considered Variables alongside them? Switches marking completed quests and the like and variables keeping track of story path? Such as if there are three say endings and you take 3 variables leets call them Var1, Var2, and Var3. If Var1 is higher than 2 and 3, the ending associated with Var1 would play. :D
 
Top