TomoloGames's Forum Posts

  • Why didn't the Pin-behavior work? I always use that for the same purpose.

  • Hi there!

    I have a problem with the status bar when I play my game on my phone. Usually it's hidden but sometimes it pops up and I can't understand why? Another weird problem I have, but not as often, is that there is like a black rectangle in the bottom of the screen and I don't understand why that is? It doesn't happen nearly as often as the status bar though. I have a Samsung Glaxy phone and I've noticed that when I press the button with two rectangles (all programs that are open) and then click on the game, the status bar disappears.

    This is the third time I've asked for help in a short while and I apologize for that.

    Thanks in advance,

    Tommy / TomoloGames.com

  • A massive thanks to both of you! I'm a little ashamed that it was so easy haha :p

  • Hi there!

    I recently bought Construct 3 and I was wondering if there's a bug with the Z Order Bar or if it's just me who aren't clever enough to figure out what's wrong? In construct 2 you could see all objects when you opened up the Z Order Bar but in Construct 3 I can only see a few objects.

    Thanks in advance,

    Tommy / tomologames.com

  • Okay, I have figured out what was wrong so the game works now but I still only get 1 file. Is it no longer necessary to have 2 different builds? Is it 1 works for all now?

  • Hi there!

    I just bought Construct 3 and I'm trying to build an APK version Armv7 but I can't figure out how to do that. When I build a signed APK with Construct 3 I can't understand where I choose if I want Armv7 or X86 or both, I only get 1 file. When I download the file on my phone and try to install it, it says "App has not been installed, but in Swedish so maybe no those exact words in English. Am I missing something? I have built an APK of the same game but using Construct 2 and Cocoon.io and it worked great.

    I also want to add that I tried to Google it multiple times before asking for help here.

    Thanks in advance,

    Tommy / tomologames.com

  • Thank you Boss! "Trigger once while true" was what I originally was looking for when I created this thread :)

    Thanks to both of you again, it's very kind of you to take the time and help me out and I really appreciate it :)

  • Thanks Boss! It works great when I use both "Is Overlapping" and "On Collision" when I set it up that way :)

  • Hi there!

    I have a problem with both "Is Overlapping" and "On Collision" and here's why.

    I have a bomb with two different animations. In the first animation you see the bomb and in the second animation you see the explosion. So, when the first animation is finished, the second animation starts.

    The bomb is suppose to subtract 1 from enemy when the enemy is hit by the bomb, but only if it's hit when the explosion animation is playing. The enemy has to be hit 3 times before it dies.

    The enemy is walking from side to side. If I use "On Collision" and the enemy is overlapping the bomb while the first animation is playing, then it doesn't subtract 1 from enemy when the second animation (explosion) is playing because there's no collision since it's already overlapping the bomb.

    If I use "Is Overlapping" then it subtracts 1 from enemy for as long as the enemy is overlapping the explosion, meaning the enemy dies immediately by only 1 hit.

    So, what to do? Is there a way to make sure that it only subtract 1 from enemy once while overlapping? If you don't understand what I mean, I can make a video to show you.

    Thanks in advance,

    Tommy / tomologames.com

  • Thank you for taking your time and trying to help me :) I already have "overlapping" with player and not "on collision" with player. I have "player is overlapping object at offset (0,2).

    You did help me though because I added "Player is not overlapping object at offset (0,2) to the condition where the object disables the other object. I probably wouldn't have thought about that if it wasn't for your reply so thanks again :)

  • Hi there!

    I just stumbled upon a weird problem. I have an object that has the bullet behavior and jump-thru behavior. When you land on the object, it moves down (angle 90) and then when you jump away from it, it moves up (angle 270). When the object moves up, it does so until it collides with another object and then the bullet behavior is disabled. If you jump and land on it, the bullet behavior is enabled again and it moves down again.

    I thought this solution was good until an hour ago when I realized that if the player lands on the object at the exact time as the object collides with the other object that disable the bullet behavior, the object with the bullet behavior stands still. So, is there a way to check if the player lands on the object at the same time as the object collides with the object that disables the bullet behavior?

    I uploaded a video on YouTube to show you the problem. The object that disables the bullet behavior is invisible though.

    Subscribe to Construct videos now

    Thanks in advance,

    Tommy / TomoloGames.com

  • I'm such an idiot, I knew that about global variables but I wasn't thinking straight haha. I have now added "Set TotalScore to 0" before "For each X element" and now everything works like a charm :) Your solution is awesome, a thousand thanks to you again :)

  • Thank you so much for your help and also for including print screens, it's always very helpful :)

    I get a very weird result though and I have no idea why. If I play Level 1 and score 150 and then play the same level again and score 150, the total score says 300. I save everything with LocalStorage and here's the weird part. If I close the game and open it up again the total score no longer says 300, it's 150. Why do you think it shows the "correct" total score when I close the game but not as long as I'm still "in" the game?

    Thanks again Boss

  • So now I've tried to figure this out but if I do what you told me to do the level score is saved every time, even if it's lower than the first time.

    I mean, if I play level 1 and score 150 and play the same level again and score 100, then the score 100 is saved. Or maybe it's just me doing something wrong?

    Thanks again

    Edit: I did it like this and it seems to work.

    System: LayoutName = "Level1"

    Array Value At 0 < TimeVar - Array Set Value at 0 to TimeVar

    TimeVar is the variable for the score that starts at 200 on each level.

    Edit again: I couldn't figure out how to add all the values up with the "For each X elements" so I just created a global variable called TotalScore and did this:

    System: Set TotalScore to Array.At(0)+Array.At(1)+Array.At(2) and so on. It may not be the best solution but it worked :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First of all I would like to thank you, it's very kind of you to take your time to help me out. I have never used "Array" though but after reading your comment I have tried to figure out how to use it. Ultimately, all I want to show after you have finished a level is:

    Score = X

    Total Score = X

    Is that possible to achieve using "Array" or will it show the individual scores of all levels? It would mean the world to me if you could explain further how I can achieve this. I know it's annoying when people ask first without even trying for themselves to begin with but I have tried it on my own without any luck.