Aekiro's Recent Forum Activity

  • Hi,

    I'm making a behavior and I would like to use the triggers of the Touch plugin (like you would normally use them in an event sheet) inside my behavior like this:

    pseudo code inside my behavior:

    touchPlugin.OnTouchObject(
    myObjectType,
    callback(){
    //My object was touched
    }
    )
    [/code:1t7fotq3]
    
    Is there a way to achieve this ?
    Thanks
  • Hi,

    I'm making a behavior that's supposed to be attached to Sprite objects.

    I want that behavior to set the animation speed of the sprite once that sprite is created.

    And this is what I do in the behavior:

    	behinstProto.onCreate = function()
    	{
    		cr.plugins_.Sprite.prototype.acts.SetAnimSpeed.call(this.inst,0);
    	};
    [/code:3d8r6s5s]
    
    Unfortunately that does nothing, because apparently the sprite object's instantiation/initialization comes after behinstProto.onCreate() and override my setting.
    One solution is to put it in behinstProto.tick() but I don't want to add initialization stuff in the tick function.
    
    One other hackish solution:
    [code:3d8r6s5s]
    	behinstProto.onCreate = function()
    	{
    		var self = this.inst;
    		setTimeout(function(){
    			cr.plugins_.Sprite.prototype.acts.SetAnimSpeed.call(self,0);
    		},0);
    	};
    [/code:3d8r6s5s]
    Do you have a better solution ?
    Thanks.
  • Hi rex,

    Thanks so much for your plugin.

    I found an issue : CurValue("a.b") does not work. Construct 2 says that it doesn't accept parameters even though the description says that it does.

  • pikazho

    Making an object move in a simple linear way from A to B and make it stop at B is something that you can't do in Construct 2 out of the box unless you use the unsuited, complicated methods that people have suggested you before, like pathfinding ??? what ?

    it still boggles my mind how can a basic and fundamental function is not an official behavior.

    Yes you can achieve it using lerp but if I'm gonna spend time to write a few low-level events everytime I want to simply move an object I might as well learn coding and use a non beginner-friendly engine.

    Anyway, you can use an unofficial behavior called Litetween.

  • Hey guys,

    I was working for the past weeks on a UI system that makes implementing advanced GUI in C2 a breeze, I made it into a modular and flexible template; you also wont have to touch the event sheets to setup your UI; I'm testing it right now, I think everything works fine for now;

    Except when I embed my game in an iframe (so I can re-size the canvas) a weird bug occurs: sometimes the buttons of the "buy coins" list do not get pushed down, which is weird since the buttons of the items list do; This bug doesn't happen when I preview the game directly and not through an iframe.

    Feedback are welcomed !

    Here is the demo:

    http://servusdei.github.io/ (with iframe, notice the bug)

    http://servusdei.github.io/game.html (without the iframe)

    The "game" that you play is a mock game to showcase how all the UI components might be used together in real-life example.

  • What do you guys think of build.phonegap.com ?

  • I just downloaded it; it's beautiful, polished funny and fun.

    Btw How did you made those platforms elastic ? the effect is really cool.

  • Super MATCH 3 BUNDLE — Now for sale in the Scirra Store!

    https://www.scirra.com/store/2d-game-graphics-packs/super-match-3-bundle-1975

    <h3>Description</h3><div class="deshr"></div>

    • A Pack of 20 Match 3 sets.
    • Diverse collection: Gems, Monsters, Rocks, Wood, Diamonds, Candy, Balls and more.
    • Perfect for casual match 3 games, puzzle games, physics games...

    <h3>Features:</h3><div class="deshr"></div>

    • 100% Vector, Fully Editable.
    • Works with Adobe Illustrator CS6 or higher

    <h3>You will get, for each set :</h3><div class="deshr"></div>

    • Vector file of the set (1 .AI Files (CS6) )
    • 1 high resolution PNG file (spritesheet) of the entire set.
    • Separate PNGs of each element of the set.

    <h3>Bonus:</h3><div class="deshr"></div>

    • 10 unique backgrounds (Vector + PNG)
    • 13 Variations of the backgrounds (PNG only in 1080p)

    <p>If you like it, please rate it and recommend it !</p>

    Use this topic to leave comments, ask questions and talk about Super MATCH 3 BUNDLE

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Font color. Same issue here :

    I think am gonna delete this one.

  • Hello,

    I can't seem to find the color property of a text object in the expression panel.

    Would love to have it available in the next build if possible, if not, are there any alternatives ?

    Thank you

Aekiro's avatar

Aekiro

Member since 13 Nov, 2015

Twitter
Aekiro has 39 followers

Trophy Case

  • 9-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • x2
    Popular Game One of your games has over 1,000 players
  • x2
    Famous Game One of your games has over 10,000 players
  • x8
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies