MegaMente Br's Recent Forum Activity

  • Ok it worked 50% as i expected, but you helped me a lot, i didn't even think how to write this code before.

    I made everything like you said

    Here is my output:

    "The" "Birds" "Are" "Flying" "In" "The" "Sky" "The" "Birds" "Are" "Flying" "In" "The" "Sky" (Repeat) (Repeat) (Repeat) (Repeat) .....

    Why they still repeating?

    Edit 1:

    I found the solution...

    I need to put an trigger event:

    ~ On start of layout:

    ~~repeat tokencount(text," ") = tokenat(text, loopindex, " ")

  • I Think C3 already have an plugin in it named "Share"

    Are you having issues with it or you just didn't know about it?

  • I need the system to split a string into text like this:

    "The birds are flying in the sky"

    To become:

    "The" "birds" "are" "flying" "in" "the" "sky"

    There is any regex that can be useful?

    Sry any grammatical error...

    Tagged:

  • 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:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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:

MegaMente Br's avatar

MegaMente Br

Member since 4 Nov, 2020

Twitter
MegaMente Br has 2 followers

Trophy Case

  • 4-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • 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

10/44
How to earn trophies