skymen's Forum Posts

  • metalmuscles I know right

  • DOWNLOAD: drive.google.com/file/d/0B2mWgUxR_IXwY3BmX0M0RXBQX1k/view

    Hey, those who have followed Clickteam's Fusion 3 dev blog may have seen this gif:

    And maybe, like me, you thought that was pretty damn cool.

    Well, stop right there, cause I straight up stole their feature and shoved it into C2. Introducing TextAlignement.

    Properties:

    Same as Text plugin, but it has a few differences.

    • Horizontal Alignement: integer
    • Vertical Alignement: integer
    • Clamp: Boolean
    • Wrapping mode: Combo with 3 outcomes: Word, Character, None

    ACES:

    Same as Text plugin, but it has 5 new actions and 3 new expression.

    Actions:

    • Set Horizontal Alignement.
    • Set Vertical Alignement.
    • Set Alignement.
    • Set Clamping mode.
    • Set Wrapping mode.

    Expression:

    • LineHeight (returns Line height, including LineHeightOffset)
    • HAlign (returns Horizontal Alignement)
    • VAlign (returns Vertical Alignement)

    DOWNLOAD: drive.google.com/file/d/0B2mWgUxR_IXwY3BmX0M0RXBQX1k/view

    PS: A known issue is that in the editor the text clamps to the 3 usual values. My guess is that in some code I can't access, Ashley used floor(value) instead of just value. If some experimented plugin maker wanna help me with that, it'd be cool

    UPDATE LOG :

    Version 1.1

    • Added Expressions to get horizontal and vertical Align
    • Added Property to clamp alignement between 0 and 100 or not
    • Added Property to set wrapping mode to no wrapping
    • Added Actions to change clamping and wrapping mode at runtime
    • Showcase of the new actions and properties: https://cdn.discordapp.com/attachments/ ... -57-12.gif

    Version 1.0

    • Changed Alignement Properties from a combo box with 3 outcomes to an integer
    • Added Actions to change the Alignement at runtime
    • Added an Expression to get line height at runtime (this is just a nice addition, nothing to do with alignement)
    • Showcase of the new actions and properties: https://cdn.discordapp.com/attachments/ ... -10-26.gif
  • Hey all, I just completed my very first behavior.

    It's a pretty simple one but also kinda useful in some cases.

    DOWNLOAD LINK: https://drive.google.com/open?id=0B2mWg ... m9XNWowZ0E

    What it does is that it sets an object's timescale to follow the global timescale with a ratio and with a default timescale. Kinda like parallax.

    Let's see a few cases to illustrate what I mean (DTS = Default timescale, GTS = Global Timescale) :

    • DTS = 1 and ratio = 0 . The object will always be at a timescale of 1
    • DTS = 1 and ratio = 0.5 . The object will follow the variation of the global timescale by half ( GTS = 1, Timescale = 1. GTS = 2, Timescale = 1.5. GTS = 0, Timescale = 0.5)
    • DTS = 1 and ratio = 1 . The object will be as usual: Following the global timescale
    • DTS = 0.5 and ratio = 0.5 . ( GTS = 1, Timescale = 0.5. GTS = 2, Timescale = 1. GTS = 0, Timescale = 0)

    Etc, I could do a lot more of these, but I think you get the point.

    How can it be useful? Well the most important one I can think of is Pause menus:

    The default values of the behavior are set for that use. So it's a plug n play in that case. But I'm pretty sure anyone playing a lot with timescale can find more uses to this.

    Properties:

    • Default timescale
    • Ratio
    • Status (Enabled or Disabled)

    ACES:

    Actions:

    • Set default Timescale
    • Set Ratio
    • Set Enabled

    Conditions:

    • Is enabled
    • Compare default timescale
    • Compare Ratio

    Expressions:

    • Timescale
    • Ratio
    • Status ("Enabled" or "Disabled")

    DOWNLOAD LINK: https://drive.google.com/open?id=0B2mWg ... m9XNWowZ0E

  • Hello.

    I was wondering. Could anyone possibly make a Yarn Spinner integration?

    https://github.com/thesecretlab/YarnSpi ... n/Usage.md

    It's a node based dialogue editor that can export to JSON. It was used in Night in the Woods for exemple. It's super useful, and I wonder if anyone would be willing to make a plugin that integrated that.

    Here is a very simple JSON export with two nodes:

    [
    	{
    		"title": "Start",
    		"tags": "",
    		"body": "Hey\n[[Node1]]",
    		"position": {
    			"x": 255,
    			"y": 216
    		},
    		"colorID": 0
    	},
    	{
    		"title": "Node1",
    		"tags": "",
    		"body": "Empty Text",
    		"position": {
    			"x": 614,
    			"y": 229
    		},
    		"colorID": 0
    	}
    ][/code:3ffehgj2]
    
    And here is how it looks in the editor.
    [img="https://image.noelshack.com/fichiers/2017/23/6/1497101594-yarn-2017-06-10-15-32-46.png"]
    
    I'm pretty sure someone can make something out of this. That'd be cool anyway.
  • Wtf

    I gotta say pixi.js blew me away. The few long drops are when I change tabs (it seems to idle at 30fps), but when it's not creating bunnies, it runs at more than 50FPS and it's pretty stable.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The link is broken, please reupload

  • Hey the link is broken, please reupload .

  • Okay nevermind, I solved my problem

    Here is the code if anyone is wondering

    #check {    
        -moz-appearance: none;
            -webkit-appearance: none; 
        clip: rect(0 0 0 0); 
        height:1px; 
        width:1px; 
        margin:-1px; 
        padding:0; 
        border:0;
        padding-left:25px;
        background-image:url(http://csscheckbox.com/checkboxes/u/csscheckbox_5ed3110c2dbfa898cff4fe25b69ceb41.png);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-repeat:no-repeat;        
        height:20px; 
        display:inline-block;            
        line-height:20px;    
        background-repeat:no-repeat;    
        background-position: 0 0;
        font-size:20px;
        vertical-align:middle;            
        cursor:pointer;        
    }
            
    #check:checked{
        background-position: 0 -20px;
    }[/code:lzzdxyot]
  • The thing is that it works on a regular web page but not on C2.

  • Little bump. Could you look into this Ashley ?

  • Hello.

    Lately I've been messing around with CSS and Construct, especially using CCSImport plugin (as it gets very tiring with events).

    This allowed me to make use of CSS Generators, and they all work fine. However, I can't seem to make changes to Checkboxes.

    Well I can apply effects to text, but I can't touch the checkbox itself, the little box I mean.

    Same I looked around, and apparently, I found out that you can't change it. So the way they do it is that you just move the box far away, and place an image where it should be. Image that gets changed when the checkbox is checked or not.

    For that it uses Labels. But Labels don't seem to work with C2, so all it does is that it moves the checkbox far away, and nothing else.

    I'm a CSS noob and if someone could help me that'd be cool.

    Here's the code that I'm using right now

    #check {
    
    position:absolute; 
    z-index:-1000; 
    left:-1000px; 
    overflow: 
    hidden; clip: 
    rect(0 0 0 0); 
    height:1px; 
    width:1px; 
    margin:-1px; 
    padding:0; 
    border:0;
    						
    }
    
    						
    #check + label.css-label {
    
    padding-left:30px;
    height:25px;
    display:inline-block;
    
    line-height:25px;
    
    background-repeat:no-repeat;
    
    background-position: 0 0;
    
    font-size:25px;
    
    vertical-align:middle;
    
    cursor:pointer;
    
    }
    
    						
    #check:checked + label.css-label {
    							
    background-position: 0 -25px;
    						
    }
    
    						
    label.css-label {
    				
    background-image:url(http://csscheckbox.com/checkboxes/u/csscheckbox_391ce065f36b1460c4845fa9b5173fba.png);
    		
    -webkit-touch-callout: none;
    				
    -webkit-user-select: none;
    				
    -khtml-user-select: none;
    				
    -moz-user-select: none;
    				
    -ms-user-select: none;
    				
    user-select: none;
    			
    }[/code:2mw3s082]
    
    And here is the result that I should have 
    
    [img="https://image.noelshack.com/fichiers/2017/19/1494199392-chrome-2017-05-08-01-22-48.png"]
    
    So please, if anyone could help me, that'd be cool
  • Is there a way to make some sort of collision masking or blending. Like let's say I have a solid area, and I want a sprite moving over that area that nullifies the collision on it.

    Easiest exemple would be in a top down game, moving blocks over water: You can't walk over water, but only on the blocks that move over the water, and you can move in the area of the block, but not outside of it unless another block is near (or you're out of the solid zone)

    What is the best or the easiest way to do this?

  • The link is dead, can someone reupload?

  • UP: I'm available again

  • The plugin is not available anymore, can anyone reupload it?