sanitar's Recent Forum Activity

  • i have a list of sprites,named "Card_**",where first * are trump,and second are index number of card.i get both numbers from server,and after that i must place all needed sprites on layer.how can i do it in runtime?

    Tagged:

  • found the solution

    request from android means like request from https site.if your server use http protocol-that is the problem.just use https,and don't forget change http to https in ajax request.

  • so what is the solution?

  • good afternoon. my game through ajax communicates with the server. the server has an Access-Control-Allow-Origin policy: *

    I exported the project and checked it on the local server, it exchanges data with the remote server, everything works. I build a project for android-ajax does not work with the remote server. I checked it in the android studio, and got this error in the logs: "[Construct 3] AJAX request to 'http: // ********' (tag 'Check_connect') failed: "

    checked permissions by adding code like this:

    var permissions = cordova.plugins.permissions;
    permissions.checkPermission(permissions.INTERNET, function( status ){
     if ( status.hasPermission ) {
     console.log("Yes :D ");
     }
     else {
     console.warn("No :( ");
    	permissions.requestPermission(permissions.INTERNET, PremmSuccess, PremmError);
     }
    });
    function PremmError() {
    	//alert('NO');
    }
    
    function PremmSuccess( status ) {
    	if( !status.hasPermission ) PremmError();
    }

    I get "Yes: D" in the logs. What could be the problem?

    Tagged:

  • well,don't code at night)))

    runtime.goToLayout("Layout 2");
    
  • need something like this

    runtime.getLayout("Layout 2").isVisible=true;

    but can't find right method in documentation

    Tagged:

  • hmmmm,that's good idea!i'll try it,thank's.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i need to make a dropdown list with styled button like this

    at this picture the drop button maked by just button.by clicked on it i can't open list container.

    if i use the native list button-it's look like this

    so,is there any ideas,how style the list button,or how call the list drop down when i click on usual button?

    Tagged:

  • I mean which tool allows you to do this

  • I need to make a grading table with variable width (2-6) and fill in the data at runtime.

    table view should be like this

    how can i do this?

  • holy molly,where was my eyes????

    thank you.

  • when i use

    runtime.layout.getLayer("Layer 1").isVisible="true";
    runtime.layout.getLayer("Layer 2").isVisible="false";

    the layer 1 are show,but layer 2 not hide,still shown.what's going wrong?

    Tagged:

sanitar's avatar

sanitar

Member since 29 Sep, 2020

None one is following sanitar yet!

Trophy Case

  • 4-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies