Need Help with some coin logic
-
@RobinsonX thank you so much for this. I will try it out.
-
@RobinsonX Hi so I was trying to attempt this But tbh I am in no way shape or form a developer. Im not even sure what behavior systems I am suppose to be utilizing. Is it possible to screenshot the behavior systems needed to make this work or even create a mini project of this working. Thanks
-
@RobinsonX I would imagine if a mini project were to be made. A character collecting some coins but intentionally missing some. There could also be a button that reloads the scene and it will pick off where it left off minus the collected coins.
-
@SplitMindGaming I can make a sample project. Hang on!
-
@SplitMindGaming Here's the project: https://bit.ly/3joSEVK
Open it in safari if it does not work here. :)
- You can collect coins and restarting the scene will leave those coins destroyed
- You can intentionally leave coins behind and those coins will still remain after reloading the scene
- There is a way to reset the destroyed coins save to revert all the coins to normal
-
@RobinsonX wow thank you so much for this. Im putting you on the ending credits :)
-
@RobinsonX also what would you suggest I study or learn to better understand how to use behaviors like that. Because looking at the file I would have never guessed to use any of those behaviors.
-
@SplitMindGaming Sorry for late response - I actually learned through trial and error!
I trained myself to study a behavior I want to learn and observe its properties. I know I sound like a nerd, but hyperPad encourages you to be a scientist and over time, you start to learn many processes that you wouldn't expect to grasp on. It ushers you into thinking critically and puts you in a perspective of a programmer.
I look at a behavior and its reference, form a hypothesis and then test. After a while, I will know exactly what a behavior does and can use it to my advantage.
-
@SplitMindGaming I know some people want guidance on how to learn hyperPad, so I would suggest looking at examples and documentation (yes, video tutorials help too!). But you will need to learn exactly how the behavior system works.
I'll summarize the behavior system:
- Behaviors are executed from left to right (there are 2 exceptions)
- There are 2 types of behaviors:
EventandAction Eventbehaviors tell the behaviors when to executeActionbehaviors tell the behaviors what to execute and what to do- If an
Actionbehavior is not connected from the top, it will execute immediately when the scene runs
-
@RobinsonX Thanks for this. Honestly if it wasnt for your videos also I would be lost in alot of things. You do a good job of explaining things clearly yet also adding humor to your videos. Great work
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login