shukra's Forum Posts

  • OddConfection

    Are you using a capx someone else made using the paid version? yes.

  • Closing, there is no bug here. The free edition does count groups, variables etc. as events towards the 100 limit, even though the editor only numbers event blocks. Please also follow the bug report guidelines when reporting bugs - the original post includes 70-80 events, which is too many to prove it's a C2 bug and not just a mistake in your own events, which is why we ask for absolutely bare minimum reproduction .capx files only.

    Ok, I just want to ask whether it may be bug to be through some events that logically has not lead to bug. Because I make the problematic event on separate layouts, and there is no bug.

  • zenox98

    Thanks. i will edit top post.

  • OddConfection

    Thank you for you answer. I didn't know about count global variables.

    But my main bug it doesn't solve.

    I'm looking for reasons...

    Yet I can not edit a project in which fewer than 100 events.

  • Line 58 and 59 not influence on my bug ( group Perehod 4 in Event sheet_bug).

    This is due to the fact that you can not create new events or edit them. though events are not 100

    numbers.

    I can describe this by 2 sreenshots:

  • Line 58 and 59 not influence on my bug ( group Perehod 4 in Event sheet_bug).

    This is due to the fact that you can not create new events or edit them. though events are not 100

    numbers.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > IT IS ALL BECOUSE NOMBER OF EVENT

    >

    Nope.

    You are not using them correctly that's why you have that problem. I'm not going to explain since you can find the best answer already. See the "trigger once while true" paragraph, should be very helpful as it also a direct answer to your problem.

    Ok, here tha file with ALL advice from best answer and with SAME results. You can see it in debug mode.

    https://www.dropbox.com/s/ksbxkpure8vwd ... .capx?dl=0

  • > IT IS ALL BECOUSE NOMBER OF EVENT

    >

    Nope.

    You are not using them correctly that's why you have that problem. I'm not going to explain since you can find the best answer already. See the "trigger once while true" paragraph, should be very helpful as it also a direct answer to yourproblem.

    How can you comment this:

    another Layout (no_bug) with another event sheet ( Event sheet_no_bug) have the same part of code in C2 ( not all event but the same group with events that have bug on Event sheet _bug) .

    And the object is creating normally - one time.@

    The SAME code.

  • shukra not a bug. See "Trigger once while true" to solve your issue.

    Thank you for answer.

    I did capx file with Trigger once and it show the same error( bug). This is on Layout - bug. Another Layout (no_bug) with another event sheet ( Event sheet_no_bug) have the same part of code in C2 ( not all event but the same group with events that have bug on Event sheet _bug) .

    And the object is creating normally - one time.

    IT IS ALL BECOUSE NOMBER OF EVENT, i think. I write about it on the top.

    Here you can see my file 2:

    https://www.dropbox.com/s/lxh2q44dq0cwv ... .capx?dl=0

  • Problem Description

    My bug - in group "perehod4" with comment ( one) - many creation of some object. I try varibal and trigger once while... nothing helped me.

    Attach a Capx

    https://www.dropbox.com/s/r87fn2dkes5hv ... .capx?dl=0

    Description of Capx

    Click on the squares. In the first group - on any word. in the latter group contains a bug. Capx shows colored squares. They disappear when you click.

    Steps to Reproduce Bug

    • Click on orange square. And then - on any word.
    • wait. Click on yellow square. wait. Click on green square.
    • Here the bug. With object "zastavka"-many creation.

    Observed Result

    In last group "perehod4" - when it is play - show the bug - the many creation of object "zastavka". Instead the only one creation of object "zastavka".

    Expected Result

    Only one creation of object "zastavka" in last group "perehod4"

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    178 r

  • shukra: Normally they should work. If they don't, get in touch directly with rexrainbow in the thread of the non-working addon so that he can fix it.

    Thank you for answer. I meant some plugins it can not be install in actual C2. C2 give errors.

  • Some plugins by rexrainboy will not work in actual v. C2, right?

  • OddConfection

    May be you can help me in this tema -

    How to make display on the device is not screen off

  • yes..

    Browser -> on back bottom pressed = Browser -> close window ( Go to...)

    cool

  • I make a such game.

    I need when you press a button 'back' on the device then user will go to the previous scene , and if it is the first page (level or Layout),user would be exiting of the game ('exit').

    in principle at tizen sdk it's done in folder js - main.js and it

    var init = function () {
        // TODO:: Do your initialization job
        console.log("init() called");
    
        // add eventListener for tizenhwkey
        document.addEventListener('tizenhwkey', function(e) {
            if(e.keyName == "back")
                tizen.application.getCurrentApplication().exit();
        });
    };[/code:27lcux2t]
    
    [img="http://c2community.ru/imagehosting/images/2014/Jul/04/1.jpg"]
    
    However,C2  ignores it somehow (main.js) , namely probably as follows:
      file index:
    
    [code:27lcux2t]// Pause and resume on page becoming visible/invisible
    		function onVisibilityChanged() {
    			if (document.hidden || document.mozHidden || document.webkitHidden || document.msHidden)
    				cr_setSuspended(true);
    			else
    				cr_setSuspended(false);
    		};
    		
    		document.addEventListener("visibilitychange", onVisibilityChanged, false);
    		document.addEventListener("mozvisibilitychange", onVisibilityChanged, false);
    		document.addEventListener("webkitvisibilitychange", onVisibilityChanged, false);
    		document.addEventListener("msvisibilitychange", onVisibilityChanged, false);
    		
        </script>[/code:27lcux2t]
    [img="http://c2community.ru/imagehosting/images/2014/Jul/04/2.jpg"]
    Question - How to make exit of the game on the first page of the game by clicking the back button device, and in other cases would go to the previous page game (Layout)?