Your using Arrays wrong in construct 3

Поделиться
HTML-код
  • Опубликовано: 12 янв 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 ruclips.net/video/hjwic-OJ87w/видео.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.

  • @МаркДиденко-п8з
    @МаркДиденко-п8з Год назад +1

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

  • @LORDSofCHAOS333
    @LORDSofCHAOS333 2 года назад +1

    well this just blow my mind

  • @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

  • @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

  • @Microbex
    @Microbex Год назад +1

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

  • @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!!!