Hi Everyone, this is my example on how I used subgraphs for an array that I needed for changing skybox textures. I was trying to change the skybox material per tap for a 360 view and couldn’t do it, so I copied an array function and made it so it changes the skybox material. I added the input for shuffle or loop/random. Included in the zip file is a example file to try out and the subgraph here.
Here’s a subgraph I created for one of my more recent effects. The idea was to show if you would have been drafted, playing off the popular birthday effects.
The subgraph allows me to duplicate these effects with a little more ease now. I named it “Month_Mater.”
High level overview the subgraph pulls from the array of months and days. It checks to see if the date users select is one of the days that would signal if you were drafted. Each image below is a step further into the subgraph.
Image 1 - Shows the return signals…In this case it returns a boolean signal, that will trigger scenes based on True/False. Also shows what the effect looks like
Image 2 - Shows the array of months/days I pull from. I added 1 to each of the numbers so it would offset the array. Instead of “0” storing January. The number “1” will be January, not necessary but it was easier for me to code quickly if I stuck to normal month naming conventions.
Image 3 - Shows the selection of months.
Image 4 - Shows what’s inside each month. Logic checking to see what month and day is selected. If both those are true, the output will return true. Inside the day subgraph in that image is a series of “Or” statements just cycling through the days that would return true.
In this process, I used a subgraph to integrate an emotion detector into a conditional system to control object visibility. I established direct connections between the detected emotions (HAPPY, SAD or NEUTRAL) and the appearance or disappearance of the corresponding object. This allowed the object to be visible when an emotion was active and to disappear when the emotion ended or changed.
I forgot to publish it earlier, but I created a subgraph in my latest game upload (ARKANOID BALL GAME on TikTok). In the game, I included a function to make all objects visible when you lose. During gameplay, all the objects that you destroy become invisible, but this subgraph makes them visible again when the game is reloaded.
Hi everyone, here are the latest subgraphs for creating an MBTI Personality Test available in English and Indonesian. You as the user are asked to choose each question on the screen. You will be informed of your MBTI type if you reach the end of the quiz.
Hola que tal amigos, hoy les quiero mostrar en que estado trabajĂł desde hace mucho tiempo.
Pero no sabia como hacer algunas cosas pero gracias al curso que nos esta proporcionando Effect House, he podido avanzar en algo y mas que todo a esta clase que son los SUBGRAPH ya que segĂşn entiendo es como un tipo de una FunciĂłn que podemos reutilizar cĂłdigo y nos facilita mucho tiempo en la programaciĂłn.
Entonces aquĂ les muestro mi Efecto, que lo nombre: Si parpadeas, pierdes.
espero y les guste, saludos
I was going to share one of my more-complex subgraphs but decided to keep it simple and share the one that I use most often. It’s called ButtonBounce and all you have to do is select a screen object, then whenever you tap on the screen, it either ping-pongs the object bigger or smaller. I use it every time I create an effect that has buttons to give the buttons a bit of visual depth for the user and it makes creating buttons so quick and easy! ButttonBounceSubgraph.zip (18.3 KB)