Variables In GDevelop Expanded - Structures And Arrays

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

ความคิดเห็น • 82

  • @ReapeX
    @ReapeX 2 หลายเดือนก่อน +5

    I couldn't figure out a way to increment a local variable with a loop, now I know.
    Accessing a struct is now easier to understand than before. Thank you for sharing :D

    • @ReapeX
      @ReapeX 2 หลายเดือนก่อน +1

      I thought things were easier but I was mistaken. I found that for structs and arrays that I'm unable to use a scene number variable for the index of my global array and structs, when assigning a value. A local variable only seems to work for the index, as the video demonstrates. I have to create a local variable and set its value to my scene variable then I use can use that local variable for the index of the array or struct when assigning a value.

  • @ZeroCadence
    @ZeroCadence 2 หลายเดือนก่อน +3

    Working on an auto battler game myself that uses arrays. This was very well done and much appreciated. Thank you :-)

  • @LazyLinesStudio
    @LazyLinesStudio 2 หลายเดือนก่อน +14

    I don't need this tutorial but I'm watching it anyway

    • @StiakDev
      @StiakDev 2 หลายเดือนก่อน +4

      same lol

    • @nowonmetube
      @nowonmetube 24 วันที่ผ่านมา

      I totally need this tutorial.

  • @craigcashman2275
    @craigcashman2275 2 หลายเดือนก่อน +2

    Excellent tutorial. Just what I needed.

  • @stevenkennett8694
    @stevenkennett8694 2 หลายเดือนก่อน +2

    I learned something! :D Thanks for another great video.

  • @nowonmetube
    @nowonmetube 24 วันที่ผ่านมา

    Damn I've totally missed this video. First time reading about structure in Copilot!

  • @nowonmetube
    @nowonmetube 24 วันที่ผ่านมา +1

    Object oriented programming: "Nooo 😭" (it makes me cry)
    Structure: "Yes 😍" (it's very easy to use)

  • @bruhmaxxer
    @bruhmaxxer 2 หลายเดือนก่อน

    Do not forget that you can use brackets with structures too, to dynamically modify them! Useful when doing things like save files.

    • @nowonmetube
      @nowonmetube 24 วันที่ผ่านมา

      How? Where?

  • @jamesbrans7990
    @jamesbrans7990 2 หลายเดือนก่อน

    Just when I thought that I had figured out GDevelop, you come out with this video 😞 lol

  • @bluenosaurus2720
    @bluenosaurus2720 2 หลายเดือนก่อน +11

    The more I learn about Array, the less I know about it.

    • @GDevelopApp
      @GDevelopApp  2 หลายเดือนก่อน +1

      I know the feeling lol. 😅
      But they're super useful once you figure them out. I love how simple the undo button in the papa-is-you example game was to set up with arrays. 😌
      -Wesley

    • @WorstDeveloper
      @WorstDeveloper 2 หลายเดือนก่อน +1

      It's easier with actual code than in the GDevelop UI.

    • @nowonmetube
      @nowonmetube 24 วันที่ผ่านมา

      ​​@@GDevelopApp I just thought about several features* before and all got answered in this video. And I'm just half finished. Fantastic.
      *Organizing variables / using structure
      *Making a rewind feature
      *Using the D-bugger to get coordinates
      *Display Text

  • @TaylorCoffman87
    @TaylorCoffman87 2 หลายเดือนก่อน

    So this helped with Arrays for me quite a lot but what surprised me is I never thought to move units with a tween. That seems extremely useful and I wonder if it is easier on the engine than certain other ways of moving things.

  • @Playsomegames19
    @Playsomegames19 2 หลายเดือนก่อน +6

    This tutorial I think great but can you make inventory system tutorial because you make the best tutorials please please please

    • @NorthernWhisper
      @NorthernWhisper 2 หลายเดือนก่อน +1

      The worriedpixels channel has a 2 part tutorial on a simple inventory.

    • @Playsomegames19
      @Playsomegames19 2 หลายเดือนก่อน +2

      @@NorthernWhisper But I don't need his tutorial, GDevelop's tutorial is better than every tutorial

    • @diathorn7434
      @diathorn7434 2 หลายเดือนก่อน +1

      YOu can use this tutorial to design simple inventory lol.

    • @Playsomegames19
      @Playsomegames19 2 หลายเดือนก่อน +1

      ​@@diathorn7434 I know but if you go event list and search inventory some conditions and actions also come in the name of inventory

    • @diathorn7434
      @diathorn7434 2 หลายเดือนก่อน

      @@Playsomegames19 What I meant is, you can use the topic of this video (structures/arrays) to design your own ivnentory system. For example you could create bunch of instances of a box and assign an ID to each box,, and this ID could correlate to an index of an array variable that would specify an item.

  • @Luiz39207
    @Luiz39207 2 หลายเดือนก่อน +2

    Thanks for share

  • @DeavtheDev
    @DeavtheDev 2 หลายเดือนก่อน +1

    Can you do a dialogue and player choice tutorial. It seems very complicated. I wish Gdevelop had a system like Rpg maker. Doing player choices and dialogue is BEYOND easy in RPG maker but seems incredibly complicated in Gdevelop

  • @WARNERMOVIE
    @WARNERMOVIE หลายเดือนก่อน +1

    Hi GDevelop, In some future update could you add reverse gravity to the PlatformerObject that allows jumping? When reversing the values the player does not jump and the player suddenly disappears when on the roof by having reverse gravity enabled and the “Flip Gravity” extension does not work properly.

  • @MrJumpingj
    @MrJumpingj 2 หลายเดือนก่อน +1

    Thanks!

  • @AlbertWesker-n2h
    @AlbertWesker-n2h 2 หลายเดือนก่อน +1

    Thanks

  • @GrassBoy233
    @GrassBoy233 2 หลายเดือนก่อน +1

    Can you do how do top down random world generation

  • @shisuiuchiha1168
    @shisuiuchiha1168 2 หลายเดือนก่อน

    If anyone of developers of Gdevelop reads it: first of all you should improve pathfinding behaviour (add avoiding pathfinders function for example), second you should improve raycasting (add function to save results in object variable, fix bugs), third overall performance is dissatisfied sometimes, so i think you should release some patches to fix most of issues. The last written thing is the most annoying actually, and in my opinion the main reason for most of the bugs is that every release of Gdevelop usually has a lot of new things and that's cool but they also cause issues and bugs, so i think you should work more on fixing bugs and releasing patches instead of the big updates. No negative, just my opinion as a regular user of Gdevelop🌛

  • @asdevs6725
    @asdevs6725 2 หลายเดือนก่อน +1

    Respectful sir can you please tell me how to change the the text of bitmap object using code. I am trying to make dialogues. Thank you.

  • @ahmedatefdev
    @ahmedatefdev 2 หลายเดือนก่อน +29

    Those are the number who wants Gdevelop to upgrade more to become the first capable 3D engine with a 3D real editor 👇🏻

  • @hassanstillcooking7735
    @hassanstillcooking7735 2 หลายเดือนก่อน +1

    hi I want to make a 2d game using GDevelop but I can`t find Piskel in GDevelop can you tell me if Piskel is in GDevelop and if yes then where is it or how to import pixel art form Piskel to GDevelop

  • @anassanbati-t3f
    @anassanbati-t3f 2 หลายเดือนก่อน

    Please add a method to create a rope chain.

  • @dynamite.animations
    @dynamite.animations 2 หลายเดือนก่อน

    Is there a way to have a split screen multiplayer mode on the same device? Specificly for a platformer

  • @blossomcherrypink
    @blossomcherrypink 2 หลายเดือนก่อน

    I'm using prefabs. Let's say the player is at 0:0. If I move the prefab origin to 9999:9999 and an instance in that prefab to -9999:-9999, the instance is moved relative to the prefab's instance container and is now at 0:0 relative to the world origin. So it should be on the player. The problem is the instance gets unloaded because the prefab is considered too far off-screen even though the instance itself is visible to the active camera. Anyone can think of a work-around for this? It shouldn't be real problem unless I have an instance chase the player for ~9999 pixels, which is a lot but certainly realistic. Currently I'm basically shifting any/all instances in the prefab's instance container to provide movement while the prefab origin stays on camera.

  • @antoniostrina82
    @antoniostrina82 2 หลายเดือนก่อน +1

    Arrays are useful to create cutscenes.

    • @GDevelopApp
      @GDevelopApp  2 หลายเดือนก่อน +1

      They're useful for lots of things! 😎
      -Wesley

    • @antoniostrina82
      @antoniostrina82 2 หลายเดือนก่อน

      @@GDevelopApp
      I totally agree!

  • @MetalSonicReject
    @MetalSonicReject 2 หลายเดือนก่อน

    So which of these variables is best suited for storing save files?

  • @AeroZone
    @AeroZone 2 หลายเดือนก่อน +1

    Nice video but why does gd games not have a search bar? Please add it

    • @GDevelopApp
      @GDevelopApp  2 หลายเดือนก่อน +1

      It's among the list of things we want to add in the future. 👍
      -Wesley

    • @AeroZone
      @AeroZone 2 หลายเดือนก่อน

      @@GDevelopApp awesome

  • @KlonoaDreamer
    @KlonoaDreamer 2 หลายเดือนก่อน

    So I have a question totally off-topic, I love the aesthetic of the game XenoGears that I grew up with, i’m doing my 3-D modeling for the environments and block bench and I plan to make the monsters and the characters etc. Sprite based, so are you able to do that with G develop use Sprite characters in 3D environments? All I have is an iPad Pro and my iPhone. I’m just trying to make sure that this is the right tool for me to do this to make a game in that style.

  • @starberry_sv2150
    @starberry_sv2150 2 หลายเดือนก่อน

    Hey,Gdevelop, is there any way i can make a simulator or cheese diary? Cuz, i tried to find zny guides or something like that, i can't find anything.

  • @arnavsingh9b53
    @arnavsingh9b53 2 หลายเดือนก่อน

    Hello please can you make a tutorial on how to make a battle world like 2d platformer game

  • @Givii
    @Givii 2 หลายเดือนก่อน

    Hello Gdevelop, Can you add a feature in Engine that You can set fps limit on your game, i mean there already but its cant be changed while playing in game.
    I mean for example if Player col with object Action: Set fps limit 30

  • @anassanbati-t3f
    @anassanbati-t3f 2 หลายเดือนก่อน

    I got this message when I tried to open my project.
    Unable to open the project.
    Check that the file exists, that this file is a proper game created with GDevelop and that you have the authorizations to open it”
    I have another question, will my project be deleted after a week?

  • @anassanbati-t3f
    @anassanbati-t3f 2 หลายเดือนก่อน +2

  • @Polish_SSR
    @Polish_SSR 2 หลายเดือนก่อน

    Make a tutorial about how to make a calculator in GDevelop

  • @Crafty_Jumper
    @Crafty_Jumper 2 หลายเดือนก่อน

    Imagine if there was an acceleration tutorial

  • @-M731-
    @-M731- 2 หลายเดือนก่อน

    How to make the screen of my game adaptive to different ratios of mobile screen. Plz

    • @GDevelopApp
      @GDevelopApp  หลายเดือนก่อน

      We have two videos specifically about mobile, the oldest one talks about expanding screen sizes and anchoring your UI and controls on screen to adjust with the screen size. 👍
      -Wesley

  • @FaleiroDiadema
    @FaleiroDiadema 2 หลายเดือนก่อน

    fiz um sistema para a minha nave atira mas ele so tira para um lado, quando a nave gira ele fica atirando para o mesmo lado

  •  2 หลายเดือนก่อน

    Is there a function to add structure to the array? Like if I have a (temp) structure variable, can I add it to the (scene) array variable?

    • @GDevelopApp
      @GDevelopApp  2 หลายเดือนก่อน

      You can. There's an action for "add existing variable" to an array, and that will work for local, scene, and global variables.
      And there's a version of the same action for object's with array variables.
      -Wesley

    •  2 หลายเดือนก่อน

      @@GDevelopAppI was playing with that function (action) but I had some issues, maybe because I was using it within my extension, not sure how variable scopes are working in extensions. I will take a look into it again. Thanks!

  • @kenankaboem4265
    @kenankaboem4265 2 หลายเดือนก่อน +3

    First

  • @PLAYMAKER_FOOTBALLYT
    @PLAYMAKER_FOOTBALLYT หลายเดือนก่อน

    hello sir, i need your help for knowing something. where can i dm you?

  • @anassanbati-t3f
    @anassanbati-t3f 2 หลายเดือนก่อน

    I got this message when I tried to open my project.
    Unable to open the project.
    Check that the file exists, that this file is a proper game created with GDevelop and that you have the authorizations to open it”
    I have another question, will my project be deleted after a week?
    Please reply

    • @GDevelopApp
      @GDevelopApp  2 หลายเดือนก่อน +1

      This is a generic message that may mean your file was corrupted, did you save the file in a back up anywhere? Check to make sure that the file is saved on your disk, and that the file is in the location where you're trying to open it.
      -Wesley

  • @frgb0569
    @frgb0569 2 หลายเดือนก่อน

    Array Tool ? This can't be....
    Oh My God !!!

    • @GDevelopApp
      @GDevelopApp  2 หลายเดือนก่อน

      It's a really useful extension!
      -Wesley

  • @asdevs6725
    @asdevs6725 2 หลายเดือนก่อน

    Hello Can you make a tutorial on how to make a cutscene

    • @shisuiuchiha1168
      @shisuiuchiha1168 2 หลายเดือนก่อน +1

      So basically you can make cutscene using video object and import a video to your project, or you can make it directly in engine, using tweens and anything else that you need instead

    • @asdevs6725
      @asdevs6725 2 หลายเดือนก่อน

      @@shisuiuchiha1168 Thanks for the suggestion but it's kinda pretty hard. I have never done it before and there are no videos on this topic.

  • @hydrogenuser1
    @hydrogenuser1 2 หลายเดือนก่อน

    Please make a virtual pet tutorial

  • @tasinkhan1082
    @tasinkhan1082 2 หลายเดือนก่อน +1

    Hey i know how a fire bullets system works but it requires curser but i am making a game where you just shoot where ever the Player is looking if the player is facing right then the bullets will go right if the the player is facing left the the bullets will go left. I want a dedicated video on.
    (For me specifically the gun and the play object is the same one) reply me if you will make the video or if you have read my comment

  • @احمدعمار-ذ2ك
    @احمدعمار-ذ2ك 2 หลายเดือนก่อน

    I hope you add the 3D update to the engine so that the engine can compete with Godot and even Unity.

  • @FiseCraft
    @FiseCraft 2 หลายเดือนก่อน

    Could you add a way to play offline

  • @chankulovski
    @chankulovski 2 หลายเดือนก่อน

    He is extremely fast in his Tutorials, fast forward and clicking everywhere. Unwatchable ...