RBuster's Recent Forum Activity

  • Hi R0J0hound

    Thank you for replying

    OK. I understand what you said, but even though it's a new row of options I have to leave it in the same sprite as the others? Because in that case, I would have to select two options (1 in the top row and one in the bottom row).

  • Hi R0J0hound

    Thanks a lot for the last example. I've been studying this file and I've also made some changes to my event sheet to make it look more like your solution, however, I'm looking to raise the difficulty once again and ended up getting stuck. I've duplicated your file already in the format it should be (two lines of options instead of 1), but the rest remains the same. I decided to clone the sprite to use in the other row, but I can't make it draw the numbers. The idea is that one of the options from the top row and another from the bottom row arrive in the final result. Could you take a look?

    we.tl/t-ZqYIS3lFi1

  • I thought to use something like this:

  • Thank you so much R0J0hound

    I thought you wouldn't have time so soon and I ended up trying hard to get this problem resolved so I could proceed. I managed to do this last night, but I'll take a look at your file to see if I can optimize my solution. It will definitely be much better than mine.

    I'm having a problem finding a solution for another question and I think you can help me (if it's not asking too much)

    The exercise has 3 answer options. I would like to make one of them (randomly) receive the value of the right answer signed in a variable (eg: varAnswer=0,3,2,1) and the other two options would have to be randomized to generate other different combinations between them. In the end, I need to know which of the options was signed as right, that is, the one that has the value of the varAnswer variable. Could you give me an idea of how to build this? It can be in pseudocode even if you prefer.

    EDITED: I am still talking about the same game, where each answer option consists of 4 numbers. Just to clarify.

  • I forgot about the "current frame" option. This is exactly what I need. Thanks!

  • I intend to create a light/dark layout and I want to change the assets of each condition using different animations in the same sprite. Is there a way for animations to always show the same frame as the current one when I change from one animation to another?

  • No problem.

    I had tried doing this for layout 1 example but it didn't work and I can't even imagine why.

    I will keep trying

  • Thanks for replying, R0J0hound

    I think that now I could not follow your reasoning. It's so simple that I can't decipher it :) Which example does this code apply to? I was previously using temporary sprites to be able to realign the frames correctly. I saw that here you are not using it. Could you please explain a little more?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry about that R0J0hound

    I know it's confusing and I should have left an explanation.

    This is what I already solved.

    Now I need to solve these two and I'm not able to do that (the same 2xC3P layouts)

    Layout 1

    Layout 2

    C3P: we.tl/t-16w3i8PPXy

    I hope I managed to make it more understandable now. If not, please let me know. Thanks

  • Hi R0J0hound

    I tried to solve this problem but I've been stuck in this trap since Thursday.

    This is the file I'm using to test the possibilities.

    At first, I need to change the position of the letters below, according to the black numbers below (above the letters). The answer is generated before the script and available on one of the buttons with orange numbers (3 in total). Could you please check why my code is not working? Thanks.

    we.tl/t-LzcJQJ3wGP

  • for each sprite3

    pick sprite2 instance loopindex

    pick sprite1 instance sprite2.animationFrame

    -- sprite3: set frame to Sprite1.AnimationFrame

    Very nice! Thank you.

    As I only had the variable storing the numbers, I ended up generating a temporary sprite to be able to list these numbers. Curiosity: is it possible to do it with a variable instead of using the sprite frames as a reference?

    Thank you very much. Providing some coffee. ;)

    I will create some difficulty levels and I think I will be able to implement it using the solutions you gave me.

  • dropbox.com/s/9xmf8rhsypwojxf/shuffle_and_reorder.capx

    Thanks for the example.

    This or something similar I already managed to do :)

    What I need is to use the frame numbers to identify each letter position. This is the correct result:

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