Novel Game Element

christpm

New member
Hello open BOR guys. You all have helped me out a lot in the past. I was wondering if you all can help me again or point me in the right direction. I have my game playable throughout to the end of it, and I should be cleaning up the bugs, but I have gotten distracted with the idea of implementing an element within my BOR project. I have another mode called choice mode where (in short) I am plugging in cutscenes and making the player choose to do certain things... kind of like a novel game. I was thinking of making this like a little treat after the game was finished. It would be so cool if I figured out how to do this, but I keep on crashing the game when I try and script it myself. I am open to ideas of how to do something like this. I know something like this is possible because I have played other BOR games with this element. Here is a screen shot of my mode. yesorno.PNG
 
Choice menu is simple to make with scripts. The tough part is coding the parts after a choice is taken but we'll discuss that later.
An example for this choice can be found in my game called Barshen Border. When you die, a menu will appear asking you to retry current level or not.
What you need for this menu is dialogue images and text in dialogues folder and keyall.c which captures key press and release events.
 
Choice menu is simple to make with scripts. The tough part is coding the parts after a choice is taken but we'll discuss that later.
An example for this choice can be found in my game called Barshen Border. When you die, a menu will appear asking you to retry current level or not.
What you need for this menu is dialogue images and text in dialogues folder and keyall.c which captures key press and release events.
I will check it out. Thank you for the quick response. I am always trying to learn, and always looking for them beat em ups.
 
Yeah it is simple, you can even make textobjects menus on stages that will do this and play gifs or video file depending on choice or whatever, you can preetty much make an episode of a cartoon in openbor without lifebars ,with just text choices and video playing back edpending on what you choose, dragons lair like.
But that kind of game needs to be 1 player only, cant imagine other players waiting for their turn to make a choice, a jointed choice or everyone separate one.
You can do this with jump to branch and follow anims, thats the easiest way i think.

So.. id do it like this
- have 2 images one hightlighter yes and other no, use follow1 anim for displaying no and idle for yes ,
- give the image layernumber that is on top of everything even lifebars so it looks better,
-now detect with script if you press left in idle and right in follow1 and change animation with script when key is pressed so it jumps back and forth from idle to follow1 and vice versa
- when theres attack pressed do jumptobranch , that should be it
 
Last edited:
Yeah it is simple, you can even make textobjects menus on stages that will do this and play gifs or video file depending on choice or whatever, you can preetty much make an episode of a cartoon in openbor without lifebars ,with just text choices and video playing back edpending on what you choose, dragons lair like.
But that kind of game needs to be 1 player only, cant imagine other players waiting for their turn to make a choice, a jointed choice or everyone separate one.
You can do this with jump to branch and follow anims, thats the easiest way i think.

So.. id do it like this
- have 2 images one hightlighter yes and other no, use follow1 anim for displaying no and idle for yes ,
- give the image layernumber that is on top of everything even lifebars so it looks better,
-now detect with script if you press left in idle and right in follow1 and change animation with script when key is pressed so it jumps back and forth from idle to follow1 and vice versa
- when theres attack pressed do jumptobranch , that should be it
That makes perfect sense!! That's what AOF trouble in South Town does.. I just wasn't sure it was items. Thanks. You all over here are so helpful. Thank you all for enabling me to continue my hobby.
 
Back
Top Bottom