Aekiro's Recent Forum Activity

  • You can use build.phonegap.com it's much simpler.

    The doc : http://docs.phonegap.com/phonegap-build/

  • this might help

  • Right click.

  • Thanks so much for your time.

    I was doing the same but now I discovered that it wasn't working because the positions were overrided by another behavior.

    Anyway, kind of fixed now.

    Thanks.

  • Hi,

    Suppose we have Sprite A and sprite B.

    Sprite A is moving horizontally while B have the sine behavior set on horizontal.

    Does anyone have an idea on how to make a behavior that would make Sprite B move in sprite A coordinate system ? So that B "follow" A but still freely moving itself.

    Having Sprite B pinned to A would make B follow A but B won't be able to move anymore.

    Sorry if I was verbose.

  • The CSS looks fine, It should work when you set the fonts from your CSS.

    Just to make sure, check in the chrome dev tools if the fonts are indeed loaded from your server.

  • Can you please post the content of your stylesheet.css

  • For how long you want to move the player ?

    This might be a solution :

    Add these boolean instance variables to your player: movingRight, movingLeft, ...etc

    then do, for example: when command = right then Player.movingRight = right.

    then to move the player you test the boolean variables:

    if(Player.movingRight) then :

    • simulate right
    • wait 1s
    • simulate stop
  • Yeah, I think I just need to go with the "object" type and let the user know that they need to programmatically create the instance.

    Thanks so much for your time.

  • It looks like this:

    function GetPluginSettings()
    {
    	return {
    		"name":			"ListModel",
    		"id":			"aekiro_listmodel",
    		"version":		"1.0",            
    		"description":	"Stores and manipulate an Array of simple non-nested hashtables (aka dictionnaries).To be used as a model for a listview for example.",
    		"author":		"AekiroStudio",
    		"help url":		"https://later.com",
    		"category":		"Data & Storage",
    		"type":			"world",
    		"rotatable":	false,
    		"flags":		0
    	};
    };
    [/code:23dmakva]
    I also tried the flag:  pf_position_aces | pf_size_aces | pf_angle_aces | pf_appearance_aces | pf_zorder_aces | pf_effects 
    but I still get the same error.
    
    Btw, I know that ("type" : object) is more appropriate for a data structure, but I went with  ("type" : world) because I need to be able to create, in the editor, multiple instances (by copy/paste) of a same type. you can't do that with a plugin of type "object" like an array, you can only clone it, which create a new type. I hope I was clear.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the quick reply.

    That's what I did, but I got a message error:

  • Hello,

    What's the minimal code to put in the runtime drawing function of a plugin:

    instanceProto.draw = function(ctx, glmode){}

    and in instanceProto.drawGL = function(glw){}

    To draw nothing.

    If I put nothing, I get error messages.

    Does any of you guys have an example ?

    I would really appreciate it. Thanks.

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