jatin1726's Recent Forum Activity

  • See this demo:

    https://www.dropbox.com/s/rrpxnmer3gwhl88/DoubleVirtualGamepad_v3.c3p?dl=0

    It's for Construct 3, but you can open it in free version of C3 (in your browser), and then copy all events to your C2 project. There are only 4 events for both thumbsticks.

    Thanks Dop, I was also looking for the same solution from long time.

  • Change condition in event #5 in my example to this:

    find(FruitsArray.CurValue, TextBox.text)>=0

    I don't know how to change the list size to 10 items, maybe you can do this with CSS.

    After replying to your comment, I got the reply so easily that I am very eager to share it. What I did is just 2 steps. I turned drop down list to list only and expanded it in UI now it showing results like google search box. Thanks again for your support.

  • Change condition in event #5 in my example to this:

    find(FruitsArray.CurValue, TextBox.text)>=0

    I don't know how to change the list size to 10 items, maybe you can do this with CSS.

    Hi Dop,

    I must say u r magician. it worked so butter smooth. Thank you so much. Now I am trying to find some method to display the list. Let me see if I can figure out this else will request you again for support and I am sure some solution we will arrive.

    Regards,

    jatin

  • I don't understand, could you give an example with that list of fruits? When I type "ap" in the textbox, what should come up in the list? Top 10 fruits starting with "ap" (apple and apricot)? Or top 10 fruits containing "ap" anywhere in their name (for example, papaya and pineapple)? Or something else?

    Hi Dop,

    You got this point right "top 10 fruits containing "ap" anywhere in their name (for example, papaya and pineapple)" will be listed one below another in list. if list matched is longer than 10 items due to "ap" user can scroll it up and down to see the item in list.

    Thanks.

  • jatin1726

    when the text in the textbox changes, use Find(textbox.text,"love")

    if the position returned is -1 then love was not found, otherwise you can start the jump animation.

    https://www.rieperts.com/games/forum/LoveJump.capx

    Thank you so much Allan, u saved me.

  • Hi Friends,

    Need a super urgent help suddenly.

    How to play an animation only if the textbox or text object contains one word of interest in whole sentence.

    For example. I want my character to jump if text of the text box contains anytime word 'love'. The whole sentence in text box. for example: "Almond likes to go for tours so he love riding bike" as u can see love word comes in the sentence then my character should jump. User can type any sentence in the text box anytime. But if it contains word 'love' in whole sentence my character should start jumping. Please help me guys. This is very urgent for me.

    Thanks in advance.

  • Here you go:

    https://www.dropbox.com/s/9esvuvpfsnri46n/SearchableList.capx?dl=0

    .

    Don't be scared by JSON, it's just an easy and compact way to quickly fill the array with lots of values. You can use other methods, for example "Array Insert" action.

    Hi Dop, thanks for sharing CAPX. I loved the way u did for array. Found it clean and cute and less scary. Also, want to point out that the shared capx is giving result bit differently. I was trying to implement the solution like we see in google search bar omnibox. We type a word or alphabet and matching to that 10 items gets listed of the list. Is it possible to display that list? If yes how should I do with the array you helped me to create. Thanks in advance. U are a nice guy and god bless you.

  • When my wife and I moved to Europe we realized that it would be the first Easter that we didn't hide eggs for our daughter (she's 30). This made me kind of sad, so I found some pictures of our old house and used them to create an egg hunt game!

    It has become a tradition and on Sunday I sent Autumn egg hunt game #4. This time the theme was "home", so I started with a picture of where she works in Seattle, followed by a picture of where I work in Berlin. (Then I did "drinks", "graffiti", etc.) There 10 scenes, 5 eggs in each scene.

    NOTES/DISCLAIMERS:

    1. The game runs in the browser. It's big and takes a minute or so to load. Be patient.
    2. It ONLY works on PC/Mac. It doesn't work on phones or tablets.
    3. You can use your middle mouse button to zoom in and out. This helps because I get a bit... creative... with some of my egg hiding. 😈
    4. I don't own most of the pictures or any of the music. Copyright violations abound.

    https://www.cuttergames.com/egghunt_2019

    Very nice one. Good work. God bless.

  • Here you go:

    https://www.dropbox.com/s/9esvuvpfsnri46n/SearchableList.capx?dl=0

    .

    Don't be scared by JSON, it's just an easy and compact way to quickly fill the array with lots of values. You can use other methods, for example "Array Insert" action.

    Thanks for the encouragement dop. Will definitely think like that going forward. The link you shared, I am unable to download it shows loading loading only capx is never downloaded. Can you mail me zip on 'ancientmailsyrn@gmail.com'.

    That will be very helpful.

    Regards,

    Jatin

  • I think you need to use two objects - TextBox and List.

    In "TextBox On Text Changed" event you can refresh the list of items for the List. For example, if you keep these strings in an array, you need to clear the list, then loop through the array and check if

    lowercase(left(Array.At(loopindex), len(TextBox.text))) = lowercase(TextBox.text)

    If this expression is true, add this string to the list.

    Thanks for reply dop. Actually i m trying this without array bcz I dont understand array so i try to find alternate and sometimes it go long route. I am sharing what I have done. vserv-images.s3.amazonaws.com/adsunit/capx/search.capx this is the file. If we can do this only by array, then can you help me with the example may be it will help me and start loving arrays. Thanks for the support dop.

    Regards,

    jatin

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Friends,

    Need help in creating a drop down list where user types one word and relevant rows with that alphabet is shown in results. You might have seen this in various search boxes and google search bar. As u type one word, results start appearing in drop down listing. Is it possible in construct 2 drop down list?

    Regards,

  • jatin1726

    thanks!

    I made a couple of minor improvements - made it use a family, and filter based on a Group variable in the family (like Maverick suggested), so that it is easier to integrate into an inventory system, shop, or gallery...

    so, re-download from the link above.

    good luck with your project!

    Also, need one help. If i create more rows, then it makes icons smaller. Instead of that can we do somethin g where icons can be scrolled vertically if rows are more then viewport area? can u help me out with this?

jatin1726's avatar

jatin1726

Member since 27 Oct, 2014

Twitter
jatin1726 has 4 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x2
    Popular Game One of your games has over 1,000 players
  • x25
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies