A01214706's Forum Posts

  • 11 posts
  • Hi everyone!!!

    I was working on those arrays some more! I was trying to just recall the value from one level first. I went and added an array and then said on start of layout set value x=0 then the value is the global gem variable. I then said when the final score layout is on the screen to set score text to array.at(0). I thought this would work but the number didn't change.... any advice??? Your amazing for helping me this far!!

  • OH perfect!!! Thank you so much!!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have a start screen, a menu screen, and a game screen. When I run layout it works fine but when I export the project it starts on the game screen not the start screen. Any ideas why? Thanks!!!

  • Thanks gamecorpstudio,

    So if I add the global number and say "totalscore=0" then I add the instance variable "Total score"? now would the number string be with the event sheet?

    Thanks!!

  • Thank you so much for all your time! I am very new to this and the array is confusing. I watched a tutorial on youtube where they made the final score a pop-up layer, initially invisible, and then just copy and pasted the score text into that layer. I think I may do this and abandon the idea of total score for multiple levels. hopefully I can figure this out in the future as I play more with all of this!

  • Thank you for all your help! This is way more complicated than I thought It would be.... Is there no way to use the local storage to save the gem value they obtain (as it would always be different) and then ask it to pull up that value when the final score layout plays?

  • Thank you that does help! So, for this case the math concept would be the x value and the gem number would be the y value? But since that number is changing and always different, how can I set that value?

  • Thank you!!! And forgive me, i'm not quite sure how that all works.

    so for example I have "Global number GEM=0" at the top of the event sheet. Then, for example, I have player on collision with gem<system add 1 to gem. I also have on collision with bat and platform is falling<system add 2 to gem. So, all are going to one gem value. I'm newer to this so thank you for your time!!!!

  • I have a game that is based off of the platform tutorial so it has a global gem value. that gets added to. So, within my game the player collects points doing various things (collecting gems, killing enemies). The game itself is a math game so I have various levels (Addition, subtraction, etc.) and I wanted levels within each math concept. Now, how do I make a final score within each math concept of the gems collects throughout those levels?

    Sorry if this is confusing! Let me know if you need any clarification!

    Thanks in advance!!

  • Fisholith,

    Thank you SOOO much!! I tried the second method you described and it worked perfectly!!! I was thinking something with having to do instance variables but I am very new to this. Thank you for taking the time to write such a detailed description!!

  • Hi all!!

    I have 2 texts that move to a different position when the player collides with them. I want to have another "Correct" text go to a position when the previous texts move. So far I have when text1 goes to x=544 and when text2 goes to x=464<action is "correct" set position to x and y. However, the correct is moving when one text moves, not both. I tried to attach a picture but it wont let me.

    This is for my master class so any help would really be appreciated!!!

  • 11 posts