Your using Arrays wrong in construct 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

  • @larrynachos
    @larrynachos 2 ปีที่แล้ว +3

    Aha this was one of the big things I learned this year. It's nice being able to enter in the arrays in a readable format. Makes it easy to plan your arrays in google sheets and just copypasta over.

    • @melrwing
      @melrwing ปีที่แล้ว

      Your Mom needed this video as well haha

  • @anastasia4143
    @anastasia4143 2 ปีที่แล้ว +11

    Can we use dictionary for creating dialog? Or should we use an array like you? Show us how you create dialogues🙏🙏🙏

    • @gamedesignwithreilly
      @gamedesignwithreilly  2 ปีที่แล้ว +1

      Never created them to be honest but need them for an RPG I'm working on. Will work on a concept with and without branching conversations. Here is an array example for simple conversation however th-cam.com/video/hjwic-OJ87w/w-d-xo.html

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

    Arrays seems so overwhelming to me, its like my brain twitches when ever I hear that word. But this seems to make sence :)

  • @porop9346
    @porop9346 ปีที่แล้ว +1

    Thank you so much I needed a way to manually pass values to an array and this method makes it more manageable

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

    Very accurate title.. I've been doing this wrong fir years. Thank you very much

  • @LoveMakeShareTV
    @LoveMakeShareTV 2 ปีที่แล้ว +1

    Brilliant. I'm still in a phase of prototyping where I don't need large arrays yet, but this is really helpful.

  • @adoek980
    @adoek980 ปีที่แล้ว +2

    Great tutorial! 1 more Tip: RightClick anywhere on the array data to Use the button ' Transpose array rows/columns'. This is an easy way to adjust the alignment of the data when loaded in the array.

  • @monstermoo4191
    @monstermoo4191 ปีที่แล้ว +2

    It was a big brain move using "your" instead of "you're" in the title, so pedants like me would boost you're engagement :). Nice video.

    • @gamedesignwithreilly
      @gamedesignwithreilly  ปีที่แล้ว +1

      Never even realised 🤣 will keep it for the engagement however 👍

  • @Vimlark
    @Vimlark 2 ปีที่แล้ว +7

    This is a great method. Been using it for years.

    • @boulakrouncherif9576
      @boulakrouncherif9576 2 ปีที่แล้ว

      I learned this from you, through the rock smacker tutorials

  • @LORDSofCHAOS333
    @LORDSofCHAOS333 2 ปีที่แล้ว +1

    well this just blow my mind

  • @МаркДиденко-п8з
    @МаркДиденко-п8з ปีที่แล้ว +1

    Thanks s lot, this was the best explanation of arrays I've seen.

  • @tytops6036
    @tytops6036 2 ปีที่แล้ว +1

    Doesn't it cause any problem for using AJAX when your game is published? I would like to use this trick for my games in playstore but i dont know if it can cause a black screen or something

  • @kirashexenwerkstatt8289
    @kirashexenwerkstatt8289 ปีที่แล้ว +1

    Thx for the tutorial! It helps me so much

  • @Microbex
    @Microbex ปีที่แล้ว +1

    Ahh, you saved me from a lot of work today young man. Thanks. 👍

  • @AndresMagnone
    @AndresMagnone ปีที่แล้ว +2

    Sorry, but I'm gonna have to be that guy and say...
    *You're

    • @gamedesignwithreilly
      @gamedesignwithreilly  ปีที่แล้ว

      Someone spotted it already 🤣 but they told me to leave it for more engagement. Sorry.

    • @AndresMagnone
      @AndresMagnone ปีที่แล้ว +1

      @@gamedesignwithreilly Great video btw

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

    Awesome video! If you increased the depth, how would you tell Construct what sheet to use?

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

      Sadly I don't think there is an easy way without making use of JavaScript.

  • @DjKoizora
    @DjKoizora ปีที่แล้ว +1

    Thank you soooo much, this has been extremely useful

  • @DatYouTubeGuy
    @DatYouTubeGuy ปีที่แล้ว +1

    Would this work for dialogue and choice selection for branching paths?

    • @gamedesignwithreilly
      @gamedesignwithreilly  ปีที่แล้ว

      Should do, each node could be a different location if a number of different outputs, more practice is definitely required.

  • @ricky-marcelpitcher8584
    @ricky-marcelpitcher8584 2 ปีที่แล้ว +1

    Great video. I now have some arrays to upgrade.

    • @gamedesignwithreilly
      @gamedesignwithreilly  2 ปีที่แล้ว

      I have recently done the same. Wish I knew this during the Pokémon series

  • @nagval333
    @nagval333 ปีที่แล้ว

    Reilly it's a nice tools "Array Editor", but sometimes you need to switch the Array Editor to the regular editor mode (If I have to upload the new json from sublime or other tool). How I switch it back (disable "Array Editor" view)?

  • @RedIvation
    @RedIvation 2 ปีที่แล้ว +1

    Ohh! I've been already doing this for my Pokemon like game...

    • @gamedesignwithreilly
      @gamedesignwithreilly  2 ปีที่แล้ว

      Your ahead of me then, new discovery on my end

    • @RedIvation
      @RedIvation 2 ปีที่แล้ว +1

      @@gamedesignwithreilly in your Pokemon like tutorial you made the moves using "Every Tic" Events for each move a different event was used which caused a lot of lag.
      I fixed that by using only on "Every Tic Event" and using the Array to manipulate the values (like damage, animation and stuff)

    • @gamedesignwithreilly
      @gamedesignwithreilly  2 ปีที่แล้ว

      @@RedIvation would love to see your progress at some point. Feel like I could make 100's of improvements to that tutorial

  • @haidara197
    @haidara197 2 ปีที่แล้ว +1

    Is it possible to make a (offline) leaderboard game using arrays your way? maybe you can give an example with video? thanks!

    • @gamedesignwithreilly
      @gamedesignwithreilly  2 ปีที่แล้ว

      Yes. You can append the lastest score to the leaderboard and then sort the whole table by highest score. You can then just show top ten.
      Will make a video on this.

  • @WorstDeveloper
    @WorstDeveloper ปีที่แล้ว +1

    Can you also add JavaScript code to just build the array there?

  • @lincolnsalles-
    @lincolnsalles- ปีที่แล้ว +1

    It's good that I already started in the best way, from the beginning I learned to create the array object in files, and then get ajax parse for the array. Gee, why don't they teach this from the beginning? The same for the dictionary.

    • @gamedesignwithreilly
      @gamedesignwithreilly  ปีที่แล้ว

      There isnt many tutorials around construct without going out your way to find them. Leaving many misconceptions or gaps in knowledge. I'm still discovering super obivious things 3 years on

  • @ricky-marcelpitcher8584
    @ricky-marcelpitcher8584 2 ปีที่แล้ว +1

    I've tried to use this with formula like "choose(1,2,3)" and it literally pulls that through as text, rather than choosing one of the numbers. Is this something that anyone knows how to fix/work around, or is this just not possible in the Ajax method?

  • @АлексейАл-к6п
    @АлексейАл-к6п ปีที่แล้ว +1

    Thanks man! Keep going!

  • @FoxboElEnchufe
    @FoxboElEnchufe 2 ปีที่แล้ว +1

    sabia que existian pero me habia olvidado que con AJAX podia usarlas XDD

  • @БорисБессонов-ч6т
    @БорисБессонов-ч6т ปีที่แล้ว +1

    thank you!

  • @andrepatricio3861
    @andrepatricio3861 ปีที่แล้ว +1

    This was very helpful thx.

  • @laerteetrealjunior5100
    @laerteetrealjunior5100 ปีที่แล้ว

    A suggestion could make a save game system by slots using localstorage where it saves the array information and has a button to reset them, thank you very much.

  • @TechBoxNorth
    @TechBoxNorth ปีที่แล้ว +1

    Turns out that I've been using arrays the right way then 😊 Still great info for those who haven't, nice vid!

  • @anonpadius
    @anonpadius ปีที่แล้ว +1

    Does this method work in construct 2?

  • @LORDSofCHAOS333
    @LORDSofCHAOS333 2 ปีที่แล้ว

    i don't have this option in c2 well this sucks

  • @qmerk2661
    @qmerk2661 2 ปีที่แล้ว +2

    hoooooly shit!....... mind blown... thank you!!!!!

    • @gamedesignwithreilly
      @gamedesignwithreilly  2 ปีที่แล้ว +1

      I only discovered this recently, we wrote my entire game to use it.

    • @qmerk2661
      @qmerk2661 2 ปีที่แล้ว

      @@gamedesignwithreilly yea i never knew about it. amazing

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

    I need a freelancer 😭

  • @advogadopedemaisum3235
    @advogadopedemaisum3235 2 ปีที่แล้ว +1

    Fantastic! Thanks a lot!!!