Flikes's Recent Forum Activity

  • Hello, I just tried to get spriteFont object, but all the time is empty. I tried use this IDs: Sprite font, SpriteFont, sprite-font

    Is this missing for plugins?

    	 "params": [
    	 {
    	 "id": "param-id",
    	 "type": "object",
    	 "allowedPluginIds": [
    	 "Sprite font"
    	 ]
    	 
    

    Tagged:

  • Hi everyone!

    I know, multi-touch works on mobile. All works fine. But how can I get it on PC?

    1. I have one projector

    2. I have a game at the wall

    3. I can manipulate only the cursor

    4. I need that two players move their circles at one time

    But, when they try to make it together - one player stopped and the second is moving

    What I tried:

    1. Give the circle DragAndDrop. Not working

    2. I used to code for detecting touch in the tick. Also not working, only the current cursor is works

    Does somebody know how to detect two touches at one time, or detect it at the some order?

    Sorry for my eng:)

  • 	var myArray = [];
    	myArray.push(1);
    	console.log(myArray[0]);
    
  • Hey, how can I get an TAG with the script?

    I using same code like in scirra tutorial. Also I can`t find it into documentation. Can know someone or this feature is missing? Or how can I separate messages without tag?

    		// Called when a message is received over the network from any peer.
    	OnMessage(e)
    	{
    		let str = "";		// string message to display
    		
    		if (typeof e.message === "string")
    		{
    			// If a string message was received, display the content of the string.
    			str = `String message received from ${e.fromAlias}: ${e.message}`;
    		}
    		
    		console.log(e.tag); // No tag
    		console.log(e.message.tag); // No tag
    		
    	}	
    
  • [SOLVED]

    Right answer:

    	OBJECT_A.addChild(OBJECT_B, { transformX: true, transformY: true });
    

    Options need add like object. Maybe it help someone:)

  • Hi Everyone. How to add child to hierarchy with script?

    I tried like this:

    	rn.objects.OBJECT_A.createInstance("Game", 100, 200, true);
    	OBJECT_A.addChild(OBJECT_B);
    

    But nothing happens...

    Here is instruction. But how right use it?

    addChild(wi, true) -> not working

    addChild(wi, "transformX") -> not working

    Maybe I did something wrong? Can someone show example how to add in the hierarchy

  • Thanks, all works fine, plugin working. This is my mistake -I just used physics and when I start jump:

    Appy Impulse at position [ 0, 100], so I just broxe X order speed:)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone,

    I have one problem:

    1. For ex. I created player that runs

    2. Player can jump using keyboard. If I down [D] key (run) and down [W] key (jump) - I can easy jump and move right in the air.

    3. When I try to repeat this on my controller, it doesn't work. I mean, the JUMP key works as a trigger and resets the key to the right. You can see like player stay, jump and only then moves right in the air.

    Maybe someone got it?

    Tagged:

  • Maybe Ashley know what wrong?

  • Hi friends, have a small problem:

    - After I did android export - game not opening... White screen.

    I spent a lot of time figuring out the problem and found it! Android can`t see any scripts funcions if they are not a global (globalThis).

    I can`t make class and export it, android just can`t find it and crush... Also Android don`t like "import * scriptVar..."

    Maybe I did some wrong or I miss some tips about it?

    You can try make export yourself. Just call any function from JS file and game will not open.

    All rest perfect works on PC, browser, thanks

  • Hello, I:

    1. Opened YouTube API example;

    2. Started preview;

    3. Can see video, all works;

    4. I created in this exampe file new Layout;

    5. Started preview - all black, no errors.

    I need this feature, but I not understand what is wrong, because I did nothing, just created new Layout...

    Thanks

  • Are you sure that this is good idea?

    Your game and website can be just fallen... very fast.

    Better if you are create just oneDB with all players. This DB will be save any from the player and you don`t need create every time new database

Flikes's avatar

Flikes

Member since 21 Nov, 2017

None one is following Flikes yet!

Trophy Case

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

Progress

9/44
How to earn trophies