What I am trying to do is design a game where as the player moves (think endless runner type game) he has the option to chose from 2 different options displayed in front of him (left side or right side). I want to set this up for Addition, Subtraction, Division n Multiplication. My goal would be to maybe use a blueprint so I can easily add numbers/formulas. Each Category (addition, Subtraction, Multiplication, Division) would be assigned to a different level. Players could start on Addition and move up to Subtraction, etc . The questions would need to be random so as to vary each checkpoint.
What would be the best way to do this? Any links to tutorials? I have googled and youtubed the crap out of the subject and can’t find anything along what I a trying to do.
yes. I am having issues with the gradual filling line on side. How to make the checkpoint transparent but add a texture and a vfx when player touches it( i am assuming a destroy actor), but last night I was trying to figure out how to make a Expression oracle so when i can figure out how to make my mathematic expressions, it knows which checkpoint door is correct. Still lots to figure out and cant find tutorials so trying to wing it lol
It’s unlikely that you’ll find an entire tutorial explaining how to do it all step-by-step. Divide and conquer. Focus on having smaller pieces going first.
create an actor with a widget component and 2 box collisions
when the player enters one of the boxes, send a different message to the widget
That’d be the first step - see if you can this going.
How to make the checkpoint transparent but add a texture and a vfx when player touches it
Since we’re using a widget, you have the opacity to play with and if you want to make it look more snazzy, you can use a material.
I’m interest in doing the same concept but not math related. I’ve been “Dividing and conquering” since there isn’t any tutorial on how exactly to do a game like this from start to finish on Unreal. The only part I’ve been having major issue with is the Collision and Expression aspect. I have conquered the infinite runner formula of endlessly having the floors adding and destroying in a loop (You actually helped me with that a couple months back - How to Fix the Infinite Loop Detected). I learned how to do Trivia style games in blue print and logging correct or wrong answers using mouse clicks, I believe when I get to the part about enemy interactions I’ll overcome it given I’m learning about AI and player pawn interactions in a Udemy course. But how do you go about using a collision to interact with the correct or wrong answer and log it? Like the “Expression oracle” aspect of the Fat Dino’s video (Time code - I Turned Fake Mobile Game Ad into a Real Game - YouTube) which was actually what inspired me to start it even though I was sitting on the idea for a while but was new to game dev. Is their any documentation or tutorial on this aspect alone. It’s the only part I have not been able to wrap my head around to get done. Especially attaching the widget to the actor and still have it randomize the options in the question array. Any advice or guidance will be greatly appreciated.
2.1 Craete a dispatcher with the following parameters: reference to this actor and a bool. The Ithe reference is so that we can later unbind this event and the bool is so we can pass if the player overlapped the correct answer.
2.2 Then setup the overlaps so we can call the dispatcher with the requiered data:
Thanks so much for this. I was on the right track all along up to 2.3 . Appreciate the details and comments and should be able to implement them into my project.