manran's Forum Posts

  • Hello, the .json file has been created.

  • Hi guys.

    Construct new user trying to make a test game, progressing slowly. I would like to make a list of hundreds of sentences inside a .txt file.

    For example ''the sky is blue'' or ''the flowers are beautiful" etc. I will add more text later as updates. Then i would like to pick random sentences from this .txt file and display as a text when the layout is started.

    I've took the time to search , everyone is talking about array etc but i have no idea how to make it.

    As a non text programmer I'm only using the sheet. Could someone help me to create the sheet?

    Please only answer if you post a sheet screenshot, i cannot understand any form of programming languages for the moment. I'm ready to learn but step by step.

    So to make it short i would like to see

    1.the sheet screenshot

    2.the .txt file form ( comas or brackets, line spacing etc etc)

    Thanks in advance.

  • THANK YOU Lamar the second script without trigger worked it was a NOOB mistake,i've been too busy to add value to the ''score'' text and i forgot to add value to the ''scoring'' Global variable . So i endend up with a perpetual zero value of the ''SCORING'' variable etc etc

  • Thank you for you support and time, don't hate me please It's hard to be a beginner...i've tried the sub event but nothing happen , the first picture is the script with the subevent using TRIGGERS.

    The second picture is not using triggers but using directly the scores and i'm wondering why the 2nd script model wouldn't work if we use subevent too? The second method is more straightforward not using triggers. But for the moment none of the 2 methods is working

  • Thanks a lot. Following your suggestion here is the new script my main problem is that i don't know where to put the ''30sec'' event and condition and how it should be, i've tried many thing but doesn't work

  • Thank you for your reply. I've tried some triggers but it always seems to go to the ''retry'' layout. Please can you give an example of score checking trigger to solve this problem. As a beginner i'm pretty limited and my project seems to be a little specific. No much data related to it in the web.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys still a beginner need help please.

    I have 2 questions.(i have more questions but i prefer going step by step )

    1. i would like to use the score value to open the next layout but it's not really working.

    The goal is to open the next layout with respect to the score.You can see my actual script in the image but seems not working

    it always go to the ''retry'' layout (score<6 layout even if i get 12 points.

    2.the second question is how do i make the game automatically detect if an object/enemies or sprite are all gone out of the screen to launch the''end of layout'' .For now i'm forcing the game to end the layout after 60s which is no good for the gameplay authenticity.

    3.Thanks guys

  • Here is a demo of what I said to do.

    https://www.scirra.com/arcade/tutorial- ... topic-5495

    if text score on screen set text = Score

    updated demo as global's transfer between layouts and local's do not.

    see demo for more details.

    so if you need to have local's for each layout they need to be set on scoring event sheet

    then on layout total / finish pull local scores then add to total score.

    like seen in galaga where to total ships destroyed = total score.

    >

    > I have 3 event sheets for the 3 layouts and a ""score"" global variable copied on each event sheet but it doesn't work. Can you please make an example very simple project? Help Please

    > only have to set global on one event sheet to call on all layouts

    Edit1: Updated demo to add total scores both for global and local.

    Edit2: Ok! I have not made the mod for this part, But you could also use something like subtract 1 from score lv1 add to total score if lv1 score =0 do event subtract 1 from score lv2 add to total score. if lv2 score = 0 do event subtract 1 from lv3 score add 1 to total score.

    Thus you would see text scores for each displayed score and total = 0

    Then as each score zeros out and add to total

    The next would start to zero out and add to total

    for a more cool total effect.

    Edit3 : Ok! I added a trigger button to total all scores and subtract from other scores.

    Edit4: Ok! I went as far as to make a video talking about this topic and added it to my collection of video tutorials. see them here. my-construct-2-video-tutorials_t168236

    Thanks a lot man for your devotion, i will work on it as soon as i have the time to check the project as i have to finish some motion design project for now . I will post feedback here soon.

  • you would have to have an event sheet like score where layout 1 and 2 also call event sheet score also.

    so it would be an external event sheet for global's and stuff reused through out the whole game.

    layout1 = event sheet 1

    layout2 = event sheet 2

    on event sheet 1 and 2 include event sheet (score)

    I have 3 event sheets for the 3 layouts and a ""score"" global variable copied on each event sheet but it doesn't work. Can you please make an example very simple project? Help Please

  • Thanks for your answers guys. I've already tried to create a Total Score Global variable (Scorebe) ,everytime an object is destroyed it add ''1'' to the Totalscore and the current layout Score simultaneously. Each layout has a maximum score of 12 , means that the player needs to accumulate at least 24 points (maximum is 36 >>>> 12x3 per level) to win the game after the 3 layout (levels) . I've also tried to use the Totalscore=score1+score2+score3 but no succes...The problem is that after the final level the Game shows a total score of 36 whatever the score per level is. I'm sure i'm doing something wrong but i don't know what as i'm a pretty new user

    Thanks guys

  • Hi Guys new user here , anyone can help Please? I have 3 levels (layouts) ,each level has it's score global variable, ex level1=score1 , level2=score2 , level3=score 3 , at the end of the level3 which is the final level , i would like to make an addition of score1+score2+score3 to get a final score which will be used to open another layouts depending of the amount of the scores. I've tried to use ""score "&score1+score2+score3 but it gives me 12 even if the scores are different .Thanks for your help guys