jatin1726's Forum Posts

  • jatin1726 Try this demo:

    https://www.dropbox.com/s/hnhepai660anaf4/ScrollingListOfPlayers.capx?dl=0

    Thanks a ton dop. God bless u.

  • Hi Friends,

    I have created three list object. Each list item on selected should change the sprite frame based on ID. But it is not updating the sprite frame as per the id. Can anyone help me what I am doing wrong?

    Here is the capx im working

    bit.ly/2VSf6bE

  • Thanks mate!!! That worked fantastic!

    I didn't know that i can pick items that easily if i put them in container!

    Hi Can you share the list example. I also need it for my project.

  • Wow, 37 events to rotate one sprite! :)

    You can remove the slider bar and do this with just one event:

    > Mouse left button is down: Sprite set frame to ((mouse.X+180)%180)/5
    

    Also, set animation speed to 0 in the sprite editor.

    Hi DOP, thanks for reply but the solution you shared roated image once and then stopped. where as my requirement is smooth 360 rotation on touch. can you help me out in that.

  • Or maybe

    Hi thanks for the reply but I tried to add the touch and it is giving weird jerks while touching the sprite and everytime starts from same position on touch instead of starting from the position where last touch ended. can you help me out how to make it smooth?

  • Hi Friends,

    Need help in getting 360 rotation of an object done (already have different angles images) on touch swipe left and right. You might have seen the same in many sites where car or bike is rotated using mouse or touch. Please help me how to do that. Sharing capx of what I have done before and it not giving best results.

    Here is the file. bit.ly/2VFgCy1

    Regards,

    Jatin

    Tagged:

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

  • Try Construct 3

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

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

    That will be very helpful.

    Regards,

    Jatin