MegaMente Br's Forum Posts

  • I am away from my PC right now, I will test it and give say what happened as fast as I can.

  • And the way to search will work with ajax...

    Ajax request -> RTDB(realtime database)

    Load all the sites tags and it's names:

    Json:

    Sites Tags:

    (Site name) : (site tags: "green;yellow;banana;apple;fruit")

    On Ajax > Dictionary load

    > Call function "load"

    On "load"

    > For each dictionary key

    > Find(dictionary.get(*current tag) x= -1

    >> Ajax request RTDB (site info "title, description, etc.")

    On ajax >> create (container)

    Container:

    1 Separated text for title

    1 Separated text for description

    1 Separated text for custom site url (custom url is fake, just to make it beautiful)

    1 for background

  • Basically yes, I am trying to do like... like right here right now! Construct.net have a system on the forum to add tags to your post ( Like I tagged "regex" and "browser" "search)"

    Here is something that I tryed, but is not working at all:

  • Ok I know what I am trying to do is a little crazy, but I really need it... Sry any grammatical error.

    So what I am trying to do:

    Basically the user will have a search bar where he/she will can search whatever want.

    //

    Search:

    //

    The user will search like:

    //

    Search: What is the color of the sky

    //

    The system will break each word:

    "What is the color of the sky"

    ==

    "What" "is" "the" "color" "of" "the" "sky"

    -----------

    With each word I will use as "tags" to found something that corresponds with what the user is searching.

    Someone have any idea? I tried a lot of things but they are not all dynamic... Like if I wrote and try to delete all the string:

    Ctrl+a + Delete

    Or even select some words and delete, the system will broke....

  • That's just a function name in my game, ignore it. You can put your own code in that event.

    Oh ok! Thank you do much! You helped me a lot. I really appreciate your help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Canvas Plugin updated 2/9/2014

    Download:

    https://app.box.com/s/vj4l7k8upl5ywoch9zf1qg0nt3064mnt

    Actions:

    Paste Object

    Resize canvas

    Draw point

    Draw line

    Draw box

    Fill color

    Clear canvas

    New R2:

    [Fix] Canvas will now automatically redraw.

    Actions:

    + Fill canvas with gradient

    Path drawing actions:

    + Begin Path

    + Move to

    + Line to

    + Quadratic to

    + Bezier to

    + arc

    + Rectangle path

    + Set line Settings

    + Fill path

    + Draw path

    Expressions:

    + rgbaAt

    + getImageUrl

    New R3:

    [Fix] pasting objects on scaled canvas'.

    + The draw line action now has a line width parameter [warning: may cause capx made with previous version not to open. > + Draw circle action. > [Fix] When choosing colors the alpha value is in the range of 0 to 1, rgbaAt now returns a usable value.

    New R4:

    [Fix] Now works with WebGL. (thanks to Yann)

    [Add] Additional hotspot locations top-right,top, etc...(thanks to Yann)

    [Add] Paste Layer action(thanks to Yann)

    [Change] Paste object/layer action now only paste visible objects.

    New R5:

    [Add] FloodFill. (Thanks to Pode)

    One of the interesting features this has is the way colors are chosen.

    You can use any of the following:

    "black", "blue", "orange", "gold", etc...

    "#00FF00"

    "rgb(100, 10, 1)"

    "rgba(20, 30, 40, 0.5)"

    "hsl(120, 50%, 50%)"

    "hsla(120, 50%, 50%, 0.5)"

    Note: alpha values are from 0 to 1.

    Another nice side effect of this plugin is you can now use all the effects that html5 has to offer.

    http://dl.dropbox.com/u/5426011/plugins ... index.html

    capx:

    http://dl.dropbox.com/u/5426011/plugins/effectTest.capx

    If anyone encounters any bugs or has a feature request for this let me know.

    -cheersR0J0hound2014-02-09 23:17:12

    Hello! Sorry I now it have been a long time since the last update but I finally decided to download this plugin and I put it on my C2 plugins file and it doesn't worked..... Can you help me? .... When I try to open construct 2 it appears 2 messages of error....

    I just want to use the plugin.... Don't mind if it have some bugs

  • There are two expressions you can use with Touch object - Touch.SpeedAt(0) and Touch.AngleAt(0)

    Say, when an object is grabbed, you can start recording how the touch angle is changing. Here is an example from one of my games:

    Hello! I am trying to figure out what is the "gesture" in your screenshot, is it a global event? I am doing some tests in my project and i think i miss this

  • Wow! Really impressive! I will test it and see if it works.

    I am really happy for you helping me! Thank you very much! :D

  • Sry my bad English, it isn't my first language....

    I am trying to do something to detect when I shake a object. And then when I shake it a event occurs.

    Something like super Mario maker 2 when you shake a monster it transform to another.

    I don't have any idea where to start. Someone can help me please?

    Tagged:

    But I mean, construct 2 Will become free this year right? Because It Will bê discontinued?

    Uh well... I don't want to crack construct 3. But Minecraft have a Lot of crack btw the mojang don't Care....

    Sry my bad english!

    Will construct 3 become free after a longe time? Or Scirra think do some give aways?

    IDK but I cant make a good game in only a day... (Ludum Dare)

  • From the official site. When You click in the C2 and It redirect You to download.

    Sry bad english.

  • Ashley

    I Just want know If NW.JS for cosntruct 2 have virus? Because i am afraid tô download it....

    Tagged:

  • Well, actually my problem os that I want to take the user's map (TMX - Tilemap -> .json) and make a publish, went mal published others players can download it or play on It (only online - i know How to do a Basic multiplayer game).

    I don't know but There is a way to use Ajax to sendo the tilemap.json to a website where everyone can acess It after the player is offline?