Grimmy's Recent Forum Activity

  • Ahh I need to do..

    myArray.setAt(myText,0,0);
    
  • I tried:

    let myArray = runtime.objects.Array.getFirstInstance();
    
    let myText= document.getElementById('some text').value;
    
    myArray.setAt(0,0,myText);
    

    ..but I guess Im not using the array assignment correctly as I get: TypeError: expected finite number

  • Thanks!!

  • I am am downloading a JSON string and then I parse it so it accessible as JSON. I then want to download another JSON string and combine this with the first JSON (add it to the end).

    I have been trying all day but I cant get it to work. The second JSON always seems to overwrite the first one.

    Thanks

  • I have seen numerous posts with various solutions to tweening text scale (pulsing text) but I have tried them all and none of them work.

    I have tried tweening values, scales and size but none of them has any effect on my text size.

    Can somebody help?

    P.S I also tried the Sine behavior but that just scales the text's bounding box and not the actual text.

    Thanks

  • No idea why but this seems to be the solution:

    .progbar 
    { 
    	appearance: none; 
    }
    
    .progbar::-webkit-progress-value { 
    	
    	background: blue; 
    
    }
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For some reason no matter what I do to style the progress bar it is always green.

    I have no problems styling anything else with an external style sheet but progress bars are either default grey (if I do nothing) or green if I add any styling at all.

    Bug or some secret knowledge?

    Cheers

    My stylesheet looks like this (this hex color is red):

    .progbar {
    
    	background-color:#e03c2f ;
    	color:#e03c2f ;
    }
    
  • Im thinking of creating an application with C3 but I was wondering if its possible to have multiple html windows which can perhaps be undocked from the app itself, much like the Construct 3 editor.

    I saw 'Golden Layout' which looks interesting but I don't know if a construct canvas could be put inside one of these elements and still have other panels communicate with c3.

    Anyone have any experience with this kind of stuff? Recommended best practices?

  • Lets say its for a windows desktop widget of some sort.

    Is this possible in C3 yet?

  • ..So a construct shell sending messages back and forth to an embedded Playcanvas engine is not so wild?

    I can export the whole project as a standalone etc?

  • Lets say my app is running and I want the user to be able to import their own sprite sheet at runtime. Would this be possible? I guess I would use AJAX to get the sprite sheet but then would it be theoretically possible to cut it up and assign individual frames/ animation names at runtime?

    Cheers

  • Hi, the Integrated 3D Example really impressed me but I have some questions..

    • -If I were to export this example as a standalone would it still run? Does the engine therefore need to be embedded in the project as a project file?
    • -Theoretically; could a Playcanvas (or other webGL engine) version be implemented like this too? Presumably as long as the engine source is all in a single js file.
    • -What are the advantages of using a canvas as in the example over an iFrame?

    I know Playcanvas well and so I'd love to be able to create a construct to Playcanvas bridge of some sort. I just thought I put some feelers out first to see if there are any obvious pitfalls to doing something like this.

    Cheers

    Tagged:

Grimmy's avatar

Grimmy

Member since 20 Nov, 2012

Twitter
Grimmy has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

17/44
How to earn trophies