ikke2902's Recent Forum Activity

  • I don't know if you are switching layout or where you have stored the score value, so I suggest a robust solution.

    Set GlobalVariableScore to ProcessedScore.

    On the game-over screen you might have a text box.

    Text box set text to "Score " & GlobalVariableScore

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am trying to learn how to use the | operator, but I don't have much luck with it.

    Have tried to search, but I am still missing something important about |

    I have made a small simple capx for this, hopefully one can point me out where I am doing wrong.

    Pressing S will add 1 to global variable, Pressing D will substract 1 from the global variable.

    When the global variable is 0,2,4 or 6. A text box should show the word "Even".

    When it is 1,3,5 or 7. The textbox should display "Not even".

  • For someone who wrote an article on how to write a successful game.. You should have some idea

    But seriously this is too open ended a question. It's even to hard to define what is 'good' as opinions differ. Was flappy birds good? Then I could create one in 5 min using the C2 template

    When I saw this topic, I was thinking to answer it with flappybird aswell

    Flappy bird is in my humble opinion a bad game. However, it is very succesfull. Which I still don't understant why

    Anyway, I would say with C2 it is possible to make a succesfull game within a couple of hours perhaps minutes with flappy bird template.

  • Couldn't this be solved with the array Push front action?

    https://www.scirra.com/manual/108/array

  • Ahh, so I lose the delimiter after I have edited my csv file using libre office. I use notepad to do small edits now and the delimter isn't dissapearing anymore.

    Also thank you for pointing me to the right direction. I am using your csv plugin now. Cheers!

  • rexrainbow

    Thanks for taking your time

    The items has been loaded into the array, but I can't retrieve the correct value from it.

    When I pick valeu at array(1,0), I'll get all value on row X=1.

    However, I just want a single value at array(1,0). When I try other coordinatates, let's say (1,1). I'll only get value zero.

    How can this be solved?

    Here is another capx with some comments

  • Hello,

    I am trying to load a csv file into an array, but I am strugling to get it to work.

    Could you take a look into my capx?

    Thanks in advance

  • Take a look at the event sheet "Scoresheet" line 25.

    This line does two things

    Action 1) Keep saying the next level has value 10 (zero hearts score/unlocked)

    Action 2) Set the score (ammount of collected hearts) for your current level

    You need to seperate these two actions with a proper condition by checking the score of the levels.

    At 1)

    Check if the next level have a value less than 10 in the array. If yes, action 1) will be triggered

    At 2)

    Compare "current collected hearts+10" value with the stored value of the current level. If "current collected hearts+10" is bigger than the stored value, Action 2 will be triggered.

    Something similar has to be done aswell for line 26.

    Good luck

    -----------

    I feel like sherlock holmes now

  • Could you upload your latest capx?

    I'll try to take a look into it tomorrow when I have time

  • At lvl 1-1 if you try to pick up the upper heart, all three hearts will dissapear at once.

    Picking and destroying the oldest heart (lowest UID number) will teleport the newer hearts to the oldest heart position.

    At your event sheet "Level Sheet" line 14 is causing this issue. Simply delete that line will solve your problem. Cheers!

    Your game is looking great. Keep it up

  • I want to create level selector like angry birds or other games like that . So if you repeat same level all of those stars (or hearts) there but i want to save your best record on that level and update total stars or hearts at level selector .

    This video will help you

    I am taking a look in your capx now

  • 2) The code you have written should do as you want it. I don't know what can cause such issue. Do you mind to share your capx?

    1) Add a behavior "Persist" to hearts. Collected hearts wont reappear when you do the same level over again.

    There is an build-in example in C2. Simply open new project and search for persist.

    Take a look at this manual aswell https://www.scirra.com/manual/161/persist

ikke2902's avatar

ikke2902

Member since 8 Feb, 2012

None one is following ikke2902 yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies