RBuster's Recent Forum Activity

  • Asmodean

    I got it. Thank you!

  • I am trying to create an animation that moves each square to the right place according to the same id number and in an ordered way, starting with the id1 and finishing with the last one and with a quick interval between each one. I created the animation but not in the right order (my animation is starting with the last one and it's decreasing). I already tried to invert the count value and summing instead of subtracting this value but I am not getting it right. Please, some help.

    A sample:

    dropbox.com/s/91qz25ly3cu7djl/demo_animation.c3p

    Important: I don't want another solution. Please, don't change this script. I just want to understand what I need to do to fix this sample.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, you would change the x by the card width every nth index.

    Search the forums for how % or, modulus works.

    Thank you

  • Kinda like this?

    https://www.dropbox.com/s/ipwpdmwwsszqpg0/dealspline.c3p?dl=0

    Remember that you need to clean all the points if you do another spline.

    Thanks for the example. Is it possible to animate a sprite per time, positioning them in a specific place, as leaving the pile and going to a position on the board (like the rows in the solitaire game)?

  • Hi newt

    I have checked the plugin e the behavior you had suggested. I got the smart random but I did not understand the spline movement and I did not find any example to check how it works.

    As I want to simulate some animations with the cards (shuffle and distributing them on the board), I intend to create a sprite with 52 frames (the total of a card deck) and create 52 instances of this sprite. The idea is to create a pile that the player will touch to distribute part of these cards on the board (as happens in a solitaire game). Every time the player touches the pile, the card moves to the right position and flips to reveals itself. The game will have another dynamic totally different from the solitaire game, that is already done. I just need to create these preliminaries.

    I would like to know your opinion on how I am planning this part of the game I explained above, and ask you to help me to understand how the spline movement works.

  • Well that would depend on the shuffle method, there's many ways to do that not just on the computer.

    I think most of the time you don't even see the faces during a regular shuffle anyway.

    The method I see most often is a spline moving the cards around from on spot to another.

    https://www.construct.net/en/make-games/addons/198/spline-movement

    Then for the shuffle you can just populate an array and match the card index.

    https://www.construct.net/en/make-games/addons/187/smart-random

    Thanks, newt

    I'll give them a try and I 'll let you know the results later.

  • I would have it sample the current orientation, then if the touch accelerometer values change on at least two axes you can consider that the start of a shake.

    Hi newt

    Sorry, but I did not understand what you are meaning. Do you know if I can find an example of your suggestion?

    To implement a real shuffle, I imagined changing the Z position of each card as the player shakes the device, when it is finished, the cards are put together in a single pile to be distributed to the correct place one by one. What do you think?

  • I am trying to create a card game and I would like to implement an interactive shuffle that happens when the player shakes the device or moving their mouses quickly if they are playing it on the pc. I am wondering if these two options are possible and if someone can give me some simple tips about how to implement them. Thanks.

  • > I am sure they are C3 plugins. The Rex Tag text I got from his official GitHub.

    https://github.com/rexrainbow/C3Plugins/tree/master/plugins/rex_TagText

    yes its c3 plugin. but not support c3runtime. only working c2runtime.

    select c2runtime

    Ok. I got it. Thanks, nacra and Eren

  • Have you checked that they support the C3 runtime? To see that the plugins are C2 only, create a little test project, and set it to use the old C2 runtime. Try adding those plugins. If you can, you’ve demonstrated that the plugins are working, but are C2-only.

    I am sure they are C3 plugins. The Rex Tag text I got from his official GitHub and, as I said, I can see these plugins in the Addon Manager window. They are there with all the respective information. I just cannot include them on my projects because they are not in the "Create new object type" window.

  • I cannot see the 3rd party plugins in my C3 editor. I've installed the Rex Tag Text and the Lite Tween plugins, and they are not appearing in the Opera and the Chrome browser. I already cleaned the cache and I restarted the C3 but nothing different happens. Both plugins are appearing in the Addon Manager but I am not finding them in the "Create new object type" window. Any help?

  • Thanks for replying newt

    It's very obvious and I didn't even think about it (shame). I think it's not possible to load images into frames, right? Maybe the better solution is to create different sprites for this.

    Thanks.

RBuster's avatar

RBuster

Early Adopter

Member since 29 Oct, 2012

Twitter
RBuster has 2 followers

Connect with RBuster

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies