Variables In GDevelop Explained - Beginner Tutorial

  Рет қаралды 16,362

GDevelop

3 ай бұрын

This video goes over three of the most common variable types used in GDevelop, and briefly shows what each one is used for. It also explains the 5 different variable scopes, and why you would pick one over another. These tutorials are designed to teach you how to make a game in GDevelop, a no-code, open-source, free, and easy game engine.
Learn More: gdevelop.io/
__________________________________________________________________
🎨Asset Store: gdevelop.io/asset-store
☕Merch Store: goodies.gdevelop.io/
Documentation: wiki.gdevelop.io/gdevelop5/start
Game Examples: gdevelop.io/game-example
Social Media: linktr.ee/gdevelop
__________________________________________________________________
TimeStamps:
00:00 Scene Variable
03:09 Global Variable
05:04 Object Variable
05:38 Instance Variable
09:44 Local Variable
__________________________________________________________________
Engine Tutorial Playlists:
Beginner Tutorials:
kzbin.info/www/bejne/a2qYXqatg81jg9k&ab_channel=GDevelop
Intermediate Tutorials:
kzbin.info/www/bejne/a3_dfqZnf7eojqM&ab_channel=GDevelop
In-Depth Tutorials:
kzbin.info/www/bejne/aJaymamLfrFnrMk&ab_channel=GDevelop
Advanced Tutorials:
kzbin.info/www/bejne/fJ6Qc316icZ1eck&ab_channel=GDevelop
Game Mechanics:
kzbin.info/www/bejne/ZpKqc4ypp6yqo5I&ab_channel=GDevelop
Make Your First Game:
kzbin.info/www/bejne/o5TOpoamp52pn9E&ab_channel=GDevelop
__________________________________________________________________
#GDevelop #Gamedev #Tutorial #Nocode

Пікірлер: 83
@EderRSW
@EderRSW 3 ай бұрын
The Variables system is so simple that I understood everything halfway through the video. In addition to having a great teacher explaining everything. Thank you!
@yahiben1735
@yahiben1735 3 ай бұрын
these tutorials from g develop are amazing they're the best!!!!and very helpful, i wanted to learn variables for a long time.
@stevenkennett8694
@stevenkennett8694 3 ай бұрын
Great video. Very informative. I was aware of how this works already, but for people new to GDevelop, this is very helpful.
@ClarkSilent
@ClarkSilent 3 ай бұрын
im new to gdevelop and this really helped me
@Stefano_Gaming
@Stefano_Gaming 3 ай бұрын
Yooo that new local variable is gonna be so helpful for rerolling items more efficiently in my roguelike! 🤩
@LazyLinesStudio
@LazyLinesStudio 3 ай бұрын
The new variables system is by far the best rework in the engine
@Volt-Eye.
@Volt-Eye. 3 ай бұрын
I agree on that,
@Ray-Crafting
@Ray-Crafting 3 ай бұрын
Gdevelop really helps me
@joaaoandrade
@joaaoandrade 3 ай бұрын
Very helpful. Thank you and much love from Brazil🇧🇷🇧🇷
@justabejatx5
@justabejatx5 3 ай бұрын
Variables are everything 😎
@ReapeX
@ReapeX 3 ай бұрын
Didn't know Local Variables existed with Scene variables. More than likely, I'll use this for future external events. Thank you for the video :D
@WefStudios1336
@WefStudios1336 3 ай бұрын
because of you im making a very long game thats releasing on steam and more thanks man i released the trailer
@everstanding400
@everstanding400 Күн бұрын
In instance properties there's an option to add a variable that would not appear inside the object variables list. Are there any use cases for this feature!? I tried it but couldn't even access it from inside event sheets
@EddieMattosDesign
@EddieMattosDesign 3 ай бұрын
Will this new version of Gdevelop work with past tutorials?
@retrozinhu9476
@retrozinhu9476 3 ай бұрын
why can't I compare global variable with global variable? Does not display. And I declared it in global variables.
@HimSoloAim
@HimSoloAim 3 ай бұрын
i was making a game when i tought it glitched out so i restarted and reopened and all of a sudden the Autentication and tween extension was gone. what can be the problem?
@Gameplaygame191
@Gameplaygame191 3 ай бұрын
Please help me, I'm trying to create a system to save money in the game but when doing so I only save the initial number 0, not the current number, please! I would be grateful if you could help me.
@D.U_creaturs
@D.U_creaturs 3 ай бұрын
The new variable system in GDevelop is geared towards beginners and small games, offering simplicity at the cost of handling complexity. While easy to grasp initially, it lacks the depth needed for more intricate game mechanics. Advanced developers may find its limitations frustrating, needing to resort to workarounds or external tools for complex projects. I don't know why people saying new update is better😢
@WorstDeveloper
@WorstDeveloper 3 ай бұрын
I'm a developer looking to use GDevelop for a few hobby projects. What kind of limitations have you encountered using their current variable system?
@D.U_creaturs
@D.U_creaturs 3 ай бұрын
@@WorstDeveloper "The variable system in Gdevelop is quite versatile for many game logic needs. However, it's worth noting a few limitations: 1) Global variables are limited to basic data types like numbers and strings. 2) There's no built-in support for complex data structures like arrays or dictionaries.(The tutorial video is still pending) Managing large numbers of variables can become cumbersome in complex projects. Overall, it's powerful for most tasks. If you are going to use it as a hobby;
@WorstDeveloper
@WorstDeveloper 3 ай бұрын
@@D.U_creaturs I see... However I just opened up the GDevelop app on my phone, and it has arrays and "structures", which I assume are just JS objects. It also lets me use all variable types globally.
@3emad.305
@3emad.305 3 ай бұрын
The local variables should've been there to begin with but I appreciate that you added it anyway.
@kurangdanastudio
@kurangdanastudio 3 ай бұрын
hello, i have question. Can gdevelop generate random map like terraria.
@cmaisinformatica
@cmaisinformatica 3 ай бұрын
Gdevelop is The best❤
@rekomenid
@rekomenid 8 күн бұрын
Hi just using gdevelop from unity user. How to save state im multiplayer game? Hope you make tutorial about it @gdevelop
@Komradenter
@Komradenter 3 ай бұрын
Can you make some weapon stuff for 2D game? I mean swaping them, picking up, idealy for some 2D topdown or 2D rogue like, I really miss some tutorial for this.
@yahiben1735
@yahiben1735 3 ай бұрын
hey helper wesly , i was using i kind of a trick,when i didnt about global variables i used to copy a scene variable from the original scene then paste it on the scene that i wanted to use and it works for me, but ill use the global variable cuz i think the method that i used would break at some point,can you tell was that not supposed to happen or is it normal
@TheArtDev
@TheArtDev 15 күн бұрын
Its been 2 years since i used this and it seens to have changed so im a lil confused, if i use an event that us meant to set x position to x+speed variable, i cant actually find speed variable there, whereas before i could find it either in the dropdown menu under variabls, or, iirc, by typing ObjectVariable(Speed) or smth similar to that, but thay doesnt seem to be possible anymore Edit: nvm, fixed it, for anyone wondering how, the format should be [object name].[variable name]
@xx-ww9dk
@xx-ww9dk 3 ай бұрын
Can you make tutorial on how we can create dialogue
@ARQUIVAS
@ARQUIVAS 3 ай бұрын
Nice, thanks for the updated tutorial!
@FI5H806
@FI5H806 3 ай бұрын
Your Game Looks so Good compared to when u started :0
@ЛолГай
@ЛолГай 3 ай бұрын
Can you please make a tutorial how to make controls like in a game called neighbours from hell? I just want to make a similar game, but i don't know how to make similar controls
@AndrewHGDraws
@AndrewHGDraws 3 ай бұрын
Can you make a tutorial on how to make a multiplier game with some sort of character select? :)
@brawl_secrets
@brawl_secrets 3 ай бұрын
Can you make a video of how to add cheat codes to your game
@AndromedaStudiosOfficial
@AndromedaStudiosOfficial 3 ай бұрын
Can you make tutorial for cutscenes in gdevelop
@SLIDENON
@SLIDENON 3 ай бұрын
yo! i want tutorial HP player bar and enemy
@daylanfoster1835
@daylanfoster1835 3 ай бұрын
I wonder if you could make a rail shooter type of game in Gdevelop and 2D,and i wonder if they would make a video about it?
@GDevelopApp
@GDevelopApp 3 ай бұрын
You definitely could. 👍 -Wesley
@SoyMaxisOfficial
@SoyMaxisOfficial 3 ай бұрын
GDevelop maybe you could make an example of how to make an inventory and craft like minecraft?
@StickmanUNIVER
@StickmanUNIVER 3 ай бұрын
Is G developer actually free? Because people are saying they bearly get asset and stuff in the engine but i will download it back and if it do has millions of asset for free and the stuff are free i will keep the game engine until i be successfull...............like if am gonna be successfull😵‍💫
@ЛотТоп
@ЛотТоп 3 ай бұрын
Hi, are you the developer of this game?If so, you can add a thing with which you can compile the game into exe and make it multiplayer
@GoldKeeper23
@GoldKeeper23 3 ай бұрын
if the variables was updated, does my old games break because it was used before the updated variable?
@GDevelopApp
@GDevelopApp 3 ай бұрын
Old games won't break, the old actions/conditions all still work as they did before, but any new variables you add will need to use the new actions/conditions. 👍 -Wesley
@NinetyRalph
@NinetyRalph 3 ай бұрын
Why is it that for me, changing the text to GlobalScore doesn't work but I have to put ToString(GlobalVariable(Score))? :(
@GDevelopApp
@GDevelopApp 3 ай бұрын
You named your global variable "Score", in the video I named my global variable GlobalScore, that's why it worked when I changed the text to GlobalScore. Hope that helps. -Wesley
@NinetyRalph
@NinetyRalph 3 ай бұрын
@@GDevelopApp oh I see, thank you!
@NinetyRalph
@NinetyRalph 3 ай бұрын
@@GDevelopApp Actually it still doesn't recognize it :(
@GDevelopApp
@GDevelopApp 3 ай бұрын
@@NinetyRalph Are you on the latest version of the engine? Not sure why it wouldn't recognize "Score: " + GlobalScore if your global variable is named GlobalScore and you're using the variable action to change the GlobalScore variable. Something else must be wrong. -Wesley
@XZ90EDITZ
@XZ90EDITZ 3 ай бұрын
Can you please make a tutorial for a hypercasual game in develop?
@Beam-Clips-Subsicribe
@Beam-Clips-Subsicribe 3 ай бұрын
Gdevelop ❤ can u add Sprite sheet like the one in godot? and a tool that we say u have a tilemap image a tool that lets u pick anycube of the image sprite and Thanks❤
@luizmattos9031
@luizmattos9031 3 ай бұрын
Obrigado por mais um vídeo.
@Gameplaygame191
@Gameplaygame191 3 ай бұрын
Era antes de ver este vídeo no seu foco,e descobre que era a minha salvação do meu problema,agora só tenho que lutar para salvar o dinheiro!, muito obrigado!😅
@deluxedrigit8223
@deluxedrigit8223 Ай бұрын
How do I make the player climb a ladder
@LOLIPOP32
@LOLIPOP32 3 ай бұрын
How to make a level unlock system?
@upoGG
@upoGG 3 ай бұрын
Gdevelop ❤ Can you add more Effects Skill i very need ❤
@Steve_Fid
@Steve_Fid 3 ай бұрын
is it the same for mobile
@GDevelopApp
@GDevelopApp 3 ай бұрын
This variable system came out with the new multiplayer update, if it hasn't been released yet, it will come out soon. 👍 -Wesley
@Steve_Fid
@Steve_Fid 3 ай бұрын
@@GDevelopApp thanks
@nsgames24
@nsgames24 3 ай бұрын
Wait, did you guys already make a video about variables, just like this before? 🤔
@GDevelopApp
@GDevelopApp 3 ай бұрын
Yeah, variables were updated, so the old video was outdated, and we try to keep videos on the intro tutorial playlist as up to date as possible. Dont want new users joining and getting confused by an old video. 👍
@nsgames24
@nsgames24 3 ай бұрын
@@GDevelopApp Oh, okay. That actually makes sense. ❤️
@BlossomOP
@BlossomOP 3 ай бұрын
How to change api
@Username_5536
@Username_5536 3 ай бұрын
okay so, I'm loosing my mind over this, I wanted to make a menu with sliders for the music and sounds, so I created a global variable and gave it one child for the music and other for the sounds, in th events tab I made it so when the slider is dragged it changes de value of the child to the value of the slider, but it just doesn't work, it refuses to change the value, and I set it so the volume of the music is the value of the child variable, but it just doesn't change or it just doesn't play at all, so yeah, I started using gdevelop yesterday and I'm loving it but this is making me insane
@GDevelopApp
@GDevelopApp 3 ай бұрын
Try reaching out to the GDevelop community on discord, you can show screenshots of your events and set up, and maybe someone there will see the problem you're having and let you know how to fix it. 👍 -Wesley
@princepashteen9161
@princepashteen9161 2 күн бұрын
@gdev please one course in Hindi or urdu
@AA-th9sp
@AA-th9sp 3 ай бұрын
gdevelop should add a badge that is "Been Here From The Start" ive been in gdevelop ffrom 2021 the start of glorius years cuz of gdevelop even though my account new ive been using gdevelop for so longggg plz add the badge
@My_video_and_short
@My_video_and_short 3 ай бұрын
Vote for 3D
@My_video_and_short
@My_video_and_short 3 ай бұрын
Vote for 3D view
@Louiessss
@Louiessss 3 ай бұрын
I always feel that the local variable is a pretty essential function, before I always had to create a new independent variable that has only that one usage and I would need to update it every frame to achieve an Rng or synchronize effect for two objects, good thing that it finally added
@MarcosCodas
@MarcosCodas 3 ай бұрын
Long term this is going to be a gamechanger.
@graphicnostalgiastudios
@graphicnostalgiastudios 3 ай бұрын
This update is the worst ever. The new variable system is terrible. There was nothing wrong with the old one. While I appreciate the new multiplayer add-on, I'm sticking with version 5.3 until next year when I say good bye to Gdevelop. This update has completely disrupted my workflow. I dislike having to declare every variable and create structures just to duplicate variables with different names. The engine was great before, but now I have to pay for features like adding more players and using GDevelop servers. I'd rather endure the challenge of learning a new engine like Godot, where I can host my own servers and add as many players as I want without paying. I understand the developers need to make money and have no issues paying for assets, templates, and exports, but GDevelop is starting to resemble Unity, and it's disheartening to see a free, open-source engine go down this path.
@GDevelopApp
@GDevelopApp 3 ай бұрын
It is a fairly big change, but we think the new workflow will actually help users in the short and long term. There are definitely going to be improvements and tweaks, based on user feedback, to the system in the future. Here is a forums post we made to share our thoughts on the new system: forum.gdevelop.io/t/new-unified-variables-and-variables-declaration-in-gdevelop-5-4/58723. As for multiplayer, you can actually use any networking solution/multiplayer architecture you'd like to with GDevelop, like THNK or PANDAKO's multiplayer extension. But even though you could use another solution, we think the built-in multiplayer system is radically easier than anything else - because we built the infrastructure for handling players, logins, leaderboards, and lobbies. Hope this reply helps clear up any misunderstandings. 👍 -Wesley
@graphicnostalgiastudios
@graphicnostalgiastudios 3 ай бұрын
@@GDevelopApp Thanks for the response. This will be my last comment I do not need to post on a forum. I honestly do not understand how changing the way variables are called in the conditions and actions will speed up workflow. Before if I wanted to find my variables like a global or object they were in their own category under its respective variable type global, object and scene. Now if I want to work on one of my old projects and look for a variables I have an entire mess of variables that are all under one long list which does not seem to help someone that is building a game with an enormous amount of different variables like inventory, items effects, upgrades and so on. This update would be fine for small games but for advanced games its a time waster. I would just like the to call my variables under their assigned type. I will stay with the old build until there is a option to change the way variables are called. The Studio was really expecting a better User interface and effects update. Guess we were expecting too much. We actually forgot about Pandako sans multiplayer extension I'll try to convince the GNOStudios team to reconsider staying with Gdevelop next year. We are a team of 5 and we usually vote as a group on these types things. Regards Graphic Nostalgia Studios Team.
@Volt-Eye.
@Volt-Eye. 3 ай бұрын
👍💪
@BTMYYY
@BTMYYY 3 ай бұрын
Don't really like the new variable system
@EscueladeArteSerapis
@EscueladeArteSerapis 3 ай бұрын
Y para cuando el canal de youtube en español? Xd
@MIRSID0912
@MIRSID0912 3 ай бұрын
First
@Beam-Clips-Subsicribe
@Beam-Clips-Subsicribe 3 ай бұрын
Im gonna make a challenge where i make a game in 24 hours in gdevelop5 well it get some views from your p.o v?
@LcStudios1
@LcStudios1 3 ай бұрын
hello?
@ShortandlongAnimation
@ShortandlongAnimation 3 ай бұрын
Vote for Remove watermark
@Playsomegames19
@Playsomegames19 3 ай бұрын
Hay mister helper Wesley please focus gdevelop 3D games and please add 3D shadow please 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@pinoyhappynetwork
@pinoyhappynetwork Ай бұрын
You are not great on explaining things. Total disregard to newbies.
@Playsomegames19
@Playsomegames19 3 ай бұрын
Hay mister helper Wesley please focus gdevelop 3D games and please add 3D shadow please 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 84 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Зу-зу Күлпаш 2. Интернет мошенник
40:13
ASTANATV Movie
Рет қаралды 601 М.
ДОМ GRANNY СТАЛ В ДВА РАЗА БОЛЬШЕ!
28:37
EugeneSagaz
Рет қаралды 298 М.
НОВЫЙ САЙЛЕНТ ХИЛЛ ► Silent Hill 2 Remake #1
58:23
Kuplinov ► Play
Рет қаралды 863 М.