densch
29/02/16 It was probably mentioned before but a randomizer gate would be cool. Make it a logic gate, whenever the input trigger is activated, then either on or off is given as an output trigger. Best way would be if it were a one impuls trigger, you know like the death trigger of a bonon and other stuff. So we could use the same randomizer gate multiple times in a level whenever the input trigger is activated. I dont know which programming language you are using so I cant say for sure how to implement it. So I shall show the basic principle I woulduse to implement it: then create a function like this: function abc (optional input): So whenever in-game a goat trigger is activated (its input trigger is "on", even if only for a second), then the function abc is called and its result is given back as the ingame output trigger of the randomizer gate. Input trigger for a randomizer could for example be the death of a specific bonon and the output trigger could either raise spikes up (when output ="off") or make a statue fall down (when output="on"). And to make sure that neither the spikes nor the statue move before the randomizer was even triggered, we could make some crazy logic shit with AND and NOT gates. :-D |
densch
29/02/16 Another thing that just came back to my mind that also would be cool to get would be a permanent button. Not like the arrow trigger we have right now (which only activates for a second and then instantly goes back to "off"). I know that you can already achieve this with the flowers and stuff, but this requires a lot of space , an object that can be pushed on the flower and some way or someone who actually pushes it on there. An example: I create a level about a hero going out to defeat a certain dragon. Not to mention that pushing a statue on a button does not even nearly looks like picking up a sword. :-) So something like a button would be cool. Basically something like the down arrow object but instead with permanent changes and not just a short "flickering" of the trigger(jumping to "on" and instantly jump back to "off"). :-) |
renboy
01/03/16 About the permanent trigger - You can easily perform it by using a single 'OR' gate - Just add an OR gate that has the same trigger for it's input and output - That's it! Once that trigger is activated (by anything such as killing a creature or pressing a button or whatnot) - It will stay active forever. About the random - Interesting idea! Will definitely consider it. Thanks for the suggestions! |
Gors
04/03/16 When dealing with such events, as renboy said, it can be achieved with a single OR gate. For example, when you pick, say, a sword, it will send a momentary trigger "SWORD" on the level, right? You can then wire it on a OR gate as this: SWORD -OR> SWORD This way, the OR gate will power itself constantly, making it a permanently activated trigger. However, while this works, such gates do not allow deactivating the trigger. When you intend to make it toggleable (like, Mitsu losing the sword somewhere in the game), you can use a S/R gate: SWORD -S/R> HAVE_SWORD When you pick up trigger SWORD, the S/R gate will activate HAVE_SWORD and keep it until you activate LOSE_SWORD. |
renboy
05/03/16 Gors is correct :) Using the Set/Reset logic gate is a more elegant solution, even if you only want to turn the trigger on and never turn it off again. |