jsea000's Recent Forum Activity

  • Ashley, would possible in the nearish future to have some additional very basic examples utilizing the integration with javascript?

    We greatly appreciate the documentation! - maybe would be helpful to provide simple snippets on documentation?

    thx for reading -

  • thanks for that!

  • Hi, I would like to have an array with 4 sets of points (x,y).

    Looks like I need to create an array in the files folder, then open the array editor -

    then I need to load the array editor data into the array object that is created in the layout. Is this documented somewhere?

    I don't get how to load the points data into the array object.

    Thx much

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a lot to chew on but my future self will definitely be asking you about this -

  • Insane!

    Thanks DFORM!

  • thanks! heres my grid! It's gorgeous!

    If I have one object called enemy, how do I get/set position? I tried

    runtime.objects.enemy.x,runtime.objects.enemy.y but it gives me undefined.

    thanks!

    runOnStartup(async runtime =>
    {
    	runtime.addEventListener("beforeprojectstart",() => OnBeforeProjectStart(runtime));
    
    });
    
    function OnBeforeProjectStart(runtime)
    {
    	runtime.layout.addEventListener("beforelayoutstart",() => OnBeforeLayoutStart(runtime));
    	
    }
    
    function OnBeforeLayoutStart(runtime)
    {
    	
    	console.log(runtime.objects.enemy.x,runtime.objects.enemy.y);
    	
    	for(var i = 0;i<10;i++){
    		for(var j = 0;j<10;j++){
    		runtime.objects.player.createInstance(0,i*32+32,j*32+32);
    		}
    
    	}
    	
    }
    
  • Hi I am trying to learn basic js with construct - in the attached file, how would I instance player1 100 times, and set each instance to a 10 x 10 grid?

    thanks much

    drive.google.com/open

  • Thanks!

  • Hi I added Browser and log in console but I get no output in chrome browser dev tools console. Where is the output?

    can you provide a working demo? I would like to post my file or a screenshot but it wont let me unless i create a new topic.

    thanks LCC

  • Hey thanks for this! - I do appreciate the timely responses and I will play around with these.

    LLC

  • Thanks.

    Re: the second example. Are we using the same software?

    I have tried dragging this every which way but I cannot nest loopindex("i") into for i from 1 to n;

  • Somehow the spacing was weird - should look like this:

jsea000's avatar

jsea000

Member since 11 Feb, 2019

None one is following jsea000 yet!

Trophy Case

  • 5-Year Club
  • Email Verified

Progress

6/44
How to earn trophies