Knovolt's Recent Forum Activity

  • I have posted screenshots + GIF below. But basically, I have countEXP global variable, and it is set to 0 when the player levels up.

    I have got when exp=>100, it'll level up to 2. I have done it all the way to level 3, and when at level 3, the countEXP starts from 0 and increases past 100, at which point it goes back to level 2.

    Is there a way around this?

    The events for the making of the exp bar:

    gyazo.com/8b843efecc858b8164f19db7177a2acf

    The events for the leveling up:

    gyazo.com/b18c6700b73b8dee6d353c20fa726e1c

    And the GIF of the problem:

    gyazo.com/08f06b3b372c528797b691d4fb991035

    (As you can see, level 2 to level 3 works fine. But of course because the countEXP gets set to 0 at start of new level(level3), it counts in 15 from 0, until it becomes =>100, which turns level 3 back to level 2.

    Thanks in advance.

  • When clicking/touching collision is detected for all objects under your touch/mouse..

    If you want only the top instance to react:

    on lightbulb touched/clicked

    lightbulb pick top (instance)

    > add your actions

    Thanks for the help, worked great in your project, but couldn't get it to work on mine.

    So I did when "button" is clicked, with condition "instance variable A" is = 0, you can click the button. Then I had an action to set "instance variable A" to 1, then system spawn new object "button(copy)". And I believe the new copied button still has default "instance variable A" as 0, so I can still click it.

    Learnt alot from your project, and will keep the pick top/bottom instance for future reference!

  • I have been told that containers are in the free version.

    example of grouping objects together using instance variables

    example of grouping using container

    Sorry to bother again, but how do I stop this from happening? Posted a GIF below.

    Basically, I can still click the light bulb underneath the overlapping light bulb (shown by how I can still turn the bulb on+off).

    Thanks.

    gyazo.com/1f6a7f2a4ecd32b878b5bfb564c70ea2

  • I have been told that containers are in the free version.

    example of grouping objects together using instance variables (r216)

    example of grouping using container

    Damn those light bulbs, been just messing about in preview mode for about 5 minutes before I realised I was there to learn XD

    Anyways thank you so much for the capx and those notes, helped soo much!

  • In the paid for version there are families - with these you could (for example) add your three squares into the family and the do things like family.x=family.x+10

    you could also give the squares an instance variable (eg ivGroup) and the choose the square by selecting by instance variable and then move all the selected

    you could pin objects to another and then when the other object moves so will your squares

    also look at containers (stil not sure if they are in free version)

    How I envy the premium version now

    Anyways how would you "choose the square by selecting by instance variable".

    Pin is a nice feature, but when I have objects that consists of like 3+objects (3+ squares for example), the event page becomes so repetitive, and thus I'm not sure that's the correct way to do it.

  • Google Chrome on Desktop has a 'Device Mode' to test different mobile resolutions. Hit F12 and in the window that comes up click on the second Icon from the left on the top of that window. Now you can choose different device resolutions.Hope that will help.

    More than helped! Thanks so much, learnt such a cool feature.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Much like in other programs such as Photoshop, you can group together objects. Can you do the same in construct 2?

    For example, there are 3 squares. How would I combine/group the 3 squares together so that they become one object? I want this because it's a hassle writing events for all of the separate objects when I just want to set a new position etc.

    Thanks in advance.

  • I currently have an S6 with a 1440x2560 resolution. I use this to test my mobile game. What do you do to test if it works on other resolutions/aspect ratios?

    Also, is a 1080x1920 window too excessive for a mobile game? Albeit a text based game with very little use of sprites? I just got a feeling that sometimes my sprites are a bit too small when displaying on the mobile (S6).

    Thanks in advance.

  • Have you tried not updating the bars width until after you have adjusted the value?

    Is it because I have this on System>Every tick? If this is the problem, what do you suggest I change it to?

  • Following some exp/health bar guides, I have done so in which I determine the top bar's width by "(current/max)*bottom_bar.width"

    gyazo.com/1c1e4be993f5d3b47e4b1202e9b57fa3

    gyazo.com/317c13feab3e9ac87f821197e60a1d22

    This GIF shows what my problem is, it doesn't capture it properly, but right at the end, it shows the green bar extending beyond. From the screenshot, you can see I tried to to set the counter1 to 100 when its value => than 100. The problem is that it goes beyond 100, thus the bar's width extends accordingly, then the value is set back to 100, and the bar shrinks accordingly. How do I fix this?

    Note: This happens very noticeably, and all the time, the gif just didn't capture the bar extend properly.

  • Bump - any ideas?

    *Edit. Found a solution. For future reference, use a site called "bitballoon" to upload your HTML5 folder to test your mobile game.

  • I have tried the Dropbox public link. I have tried the Quick App.zip tutorial. But both instances leaves me with a black background. None of my images are displayed, just a black background. (Although my background is black), so I'm not sure why nothing is appearing.

    I have no audio in the project. And when exporting to HTML5, all settings are left as defaults. Preview from within Construct 2 works, and displays everything fine. I'm trying to display a 1080,1920 project window onto my s6 device which is 1440x2560.

    Configuration settings are:

    default browser

    letterbox scale

    high quality scaling

    portrait

    webgl On

    Linear Sampling

    Medium Downscaling

    Preload sounds Yes

    Clear background Yes

    What may be the case? Suggestions?

    Thank you.

Knovolt's avatar

Knovolt

Member since 7 Oct, 2015

None one is following Knovolt yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies