Re: Visual Tutorials using Google Docs
Added a tutorial earlier for a simple physics event. If you follow the example it will set up an elevator with an associated sound effect (choose elevator 1 in looping sounds). I get tired of seeing complex example elevators in custom maps, so hopefully this will enable peope to make their own versions that have the sound as well.
This is the lik to it: https://docs.google.com/folder/d/0B1...Wgw-YmLLvHFOS0
Re: Visual Tutorials using Google Docs
Quote:
Originally Posted by MetalHead
Hello everyone, really like the idea of this thread, gonna learn some useful tricks within the editor and hope to add a few tutorials myself.
Welcome aboard MetalHead. Just added your tutorials to the list. I'll get you added in as a collaborator this weekend. You seem to have some pretty advanced knowledge of the editor. Let everyone know your gamertag if you have some tracks we could download and check out!
Re: Visual Flowchart Editor Tutorials {14} and counting...
Re: Visual Flowchart Editor Tutorials {14} and counting...
to MetalHead:
I've got a few comments on the Scroll through menu with Y button tutorial.
It looks like this code is exploiting the sequence of events delay between the impulse sent to the generic filters and the time taken for the set value event to update the variable data source.
I don't see the point of the second variable data source, unless it's used to give the generic filters enough time to update before the set value finishes calculating. It looks like this setup could possibly become unstable, depending on how much background code is running and how many generic filters are used.
The color gets set on true, but you still have to change it back on false.
Also, I think the 3rd generic filter should be "equals 2," and there should be a 4th one that's "greater than 2."
Would you mind if I took a shot at writing an alternate version of this?
Your code looks like an elegant solution, but I'm not sure I'd trust it to work 100% of the time if it's taking advantage of the delay in processing time to work correctly.
Re: Visual Flowchart Editor Tutorials {14} and counting...
Re: Visual Flowchart Editor Tutorials {14} and counting...
Thanks aWebDesigner, my gamertag is Retro NI i only have a few tracks nothing special http://forum.redlynx.com/forum/image...icon/smile.gif , nannerdw it seems to work ok in the skill game im making, but i see your point on the second variable data source being useless and using an extra generic filter too. Also feel free if you want to write an alternate version.
Re: Visual Flowchart Editor Tutorials {14} and counting...
New tutorial: Scroll menu with Y button (alternate)
This one places the generic filters inline for short-circuit evaluation instead of using a splitter.
It also checks the current value of the variable data source before using a set value event. The original method would still be preferable for bidirectional menu selection.
I also made a change to "Switch Between Checkpoints (Advanced)." The generic filters do not need to run constantly 60 times per second, so I replaced the interval triggers with a splitter after the reset to CP event. I also added an impulse to the player event upon reset to start.
Re: Visual Flowchart Editor Tutorials {14} and counting...
Just double checked my skill game and it seems you were right nannerdw. I have the third generic filter that "equals 2" before the forth which is "greater than 2" http://forum.redlynx.com/forum/image...n_rolleyes.gif.
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by nannerdw
It looks like this code is exploiting the sequence of events delay between the impulse sent to the generic filters and the time taken for the set value event to update the variable data source.
I don't see the point of the second variable data source, unless it's used to give the generic filters enough time to update before the set value finishes calculating. It looks like this setup could possibly become unstable, depending on how much background code is running and how many generic filters are used.
i tried to avoid this by using impulse clamps in the skillgame i'm building ran into some isues thou
but still tweaking it a bit, forgot to test it before i added the clamp filters though http://forum.redlynx.com/forum/image...s/icon/doh.gif
will look into it a bit more
in my problem is that i use a set event to send a number to some coding and that coding would give me a another number
the coding is up to 9 generic filters long and has 3 set events to go throu before the number is produced
however my other coding thats needs this value i could use a set event to send the value and another set event behind it to use the produced value
Re: Visual Flowchart Editor Tutorials {14} and counting...
Quote:
Originally Posted by sparkierjonesz
in my problem is that i use a set event to send a number to some coding and that coding would give me a another number
the coding is up to 9 generic filters long and has 3 set events to go throu before the number is produced
however my other coding thats needs this value i could use a set event to send the value and another set event behind it to use the produced value
Try adding a short delay filter (1 to 3 ticks depending on how much background code is running) to give the set value events enough time to calculate.