Unity Game Creator - Variables

  Рет қаралды 2,695

RVR

RVR

Күн бұрын

Пікірлер: 34
@asd44063
@asd44063 3 жыл бұрын
Thanks man! When you showed me local variables for the first time it I was amazed. Thanks for going through all of them.
@pixelove1100
@pixelove1100 3 жыл бұрын
Way to late. Already made billion of globals, because I wasn't sure how lists will act. Oh well, s**tload of refactoring, here we go! Thanks RVR, as always happy to see new video from you ;)
@GameplayWOT
@GameplayWOT 3 жыл бұрын
If I set up a local/global variable in Game Creator, how I able to reference it in a C # script and change him? Thanks!
@gabrieldro1
@gabrieldro1 2 жыл бұрын
why use to localization to translator, on game creator? plys i need tutorial for to use correct
@CosplayZine
@CosplayZine 3 жыл бұрын
Hello, while I was able to get the random list variable example to work successfully and even added my own triggers to change the color of the players body material based on which cube (trigger) the player entered each time. I am having difficulty with making an additional on start trigger that simply compares a bool to be true and then destroys the trigger around one of the cubes. It seems to make the variable true/false as needed but will not destroy the trigger object even though I am asking it to do based on conditions set. Could you do a video about how to best use conditions and how they function with or without the use of a variable?
@philipdrobar
@philipdrobar 3 жыл бұрын
Nice to see videos about the basics. Not sure if you can answer this quickly but how would you save certain states of Objects with variables? For example I have doors that each have a "isLocked" local bool variable, so I can save wether they are locked or unlocked. But when I save and load the game it seems like those bool variable states don't get saved/loaded properly.
@RVRGaming
@RVRGaming 3 жыл бұрын
Did you tick the little box next to them to save them?
@philipdrobar
@philipdrobar 3 жыл бұрын
@@RVRGaming I did. But I'm getting inconsistent behaviour. For example if I have two doors and three saves, Save 1 before unlocking Door 1, Save 2 after unlocking Door 1 and Save 3 after unlocking Door 2. If I load Save 1 after unlocking door 1, door 1 is locked again. Perfect. But if I load Save 2 after I unlocked Door 2, Door 2 is still unlocked, even though it should still be locked? I'm thinking maybe I need to follow a specific conventions with where and how I attach local variable component? They should be fine within prefabs right? I understand if that question goes beyond the scope of KZbin comments, but thanks for your help anyway.
@philipdrobar
@philipdrobar 3 жыл бұрын
Following up I finally figured out the issue: due to me copying prefabs, the local variables had the same UID, which caused different objects having the same status. Regenerating the UID fixed the issue.
@vagabondanimator7243
@vagabondanimator7243 3 жыл бұрын
Can you make a video on improving the grappling hook? I've seen some people on discord using grappling hook freely instead of trigger points.
@marvinsteven3874
@marvinsteven3874 3 жыл бұрын
Firstly great video, better explanation than a lot of my teachers. Secondly, is it possible to use the shooter module to make light cause damage to enemies like in Alan Wake? If so could you possibly give me an idea how is done.
@RVRGaming
@RVRGaming 3 жыл бұрын
Yeah, it would basically be a ray of light with a collider. Wouldn't necessarily use the shooter module for this
@marvinsteven3874
@marvinsteven3874 3 жыл бұрын
@@RVRGaming Well thanks for helping me keep the main mechanic for my horror game.
@jeronimocollares320
@jeronimocollares320 2 жыл бұрын
Here talk about condition, but i get pretty lost about 'move to up' that variables. But works here. The 'order' how i saw, to dont get delay. Well, less frustrate here :)
@YouArgument
@YouArgument 3 жыл бұрын
Hi ! Please tell me how you can implement different damage from different weapons?
@YouArgument
@YouArgument 3 жыл бұрын
Thanks, did it myself
@adamaze2920
@adamaze2920 3 жыл бұрын
@@YouArgument how?
@magisoftworks8547
@magisoftworks8547 3 жыл бұрын
Another greatly Appreciated video RVR! Question, How can you attach the Instantiated Particle effect to the player? Basically will move with player even when he is moving in crouch. thanks!
@RVRGaming
@RVRGaming 3 жыл бұрын
Use the transform action to set the player as a parent
@magisoftworks8547
@magisoftworks8547 3 жыл бұрын
@@RVRGaming Ah! Duh. Thanks!
@oldmanjim4853
@oldmanjim4853 3 жыл бұрын
How do we store Inventory items as variables? For example I’d like to store a primary and a secondary weapon (like Elder Scrolls Online). They could be melee or shooter weapons depending on the items available and player build preference.
@RVRGaming
@RVRGaming 3 жыл бұрын
You'd store the action equipping/drawing it as a variable gameobject
@oldmanjim4853
@oldmanjim4853 3 жыл бұрын
@@RVRGaming Thanks for that. So to carry that thought further - to create a loot table, would you have to store the Add to Inventory action as a game object and pull from a list variable? I think this highlights some of the limitations with Game Creator.
@PrakashKumar-ud8ee
@PrakashKumar-ud8ee 3 жыл бұрын
Hello RVR, thanks for the video, could you please make a video on how to use global variables to carry player customization onload? 80% of the game I'm making is based on your create a game series and now I'm seriously stuck on the part where I can't save the character customization during runtime
@RVRGaming
@RVRGaming 3 жыл бұрын
Hey! Check the newer character customisation vid. This one can be loaded into other scenes
@PrakashKumar-ud8ee
@PrakashKumar-ud8ee 3 жыл бұрын
@@RVRGaming Thanks checking it now
@RVRGaming
@RVRGaming 3 жыл бұрын
Nope, it's just called character customisation, but also uses Synty, so you can just use that
@PrakashKumar-ud8ee
@PrakashKumar-ud8ee 3 жыл бұрын
@@RVRGaming Thanks it works great
@RVRGaming
@RVRGaming 3 жыл бұрын
@@PrakashKumar-ud8ee awesome
@roachthegamer6491
@roachthegamer6491 3 жыл бұрын
Can you make more videos breaking down the components because those are the main thing I need as a beginner.
@RVRGaming
@RVRGaming 3 жыл бұрын
Cool 👍 that'll be the next videi
@roachthegamer6491
@roachthegamer6491 3 жыл бұрын
@@RVRGaming your better than brackeys!!!!!
@Spontan_DJ
@Spontan_DJ 2 жыл бұрын
compare ?
@RVRGaming
@RVRGaming 2 жыл бұрын
Compare what?
Unity Game Creator - Emote Wheel
20:01
RVR
Рет қаралды 4,4 М.
Game Creator 2 - Ragdoll Animator 2
17:23
RVR
Рет қаралды 1,1 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Rapid Template - RPG : Overview
16:55
RVR
Рет қаралды 3,1 М.
Unity 6 - Switch or not?
15:38
RVR
Рет қаралды 3,9 М.
Complete Beginner's: Learn Unity Third-Person Shooter from Scratch
11:55:34
Game Creator 2 Signals - Event Based Logic
12:07
Game World Engineer
Рет қаралды 204
Rapid Template - RPG : Setup your own models (Synty)
28:06
AO2 Tutorial 2 My First Aerodynamic Object
24:57
Aerodynamic Objects
Рет қаралды 9
Game Creator 2 - Factions Module
13:08
RVR
Рет қаралды 1,1 М.
Game Creator 2 - Random Loot Stats
6:39
RVR
Рет қаралды 587
Unity VFX Local & World Space part 1
13:18
Tech Hamlin
Рет қаралды 121
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН