lollipoppy's Recent Forum Activity

  • Thank you dop2000DeltaStarStudios

    I added boolean variable to check the game is finished or not as you advised

    and it works perfectly.

  • Hi, I'm making a quiz game.

    There's a function that resets question.

    and I want it to stop working when the game is over until the layout is restarted.

    Is there a expression that stops function working?

  • dropbox.com/s/sujrkr4imdx6o59/quizanswersexample.c3p

    Thank you so much!

    This has been a great help.

  • First, place the correct answer/value in a random position. Store this value so that you have something to compare the user answer with as well as to check against a duplicate when picking random values in the next step. For each of the remaining three positions, chose a random non repeating letter by using the advanced random plugin. If the correct answer is randomly picked, then ignore that result and use the next result.

    To use the advanced random plugin, first use the create permutation table action with offset 1 and length 26. This will generate the numbers from 1 to 26 and then randomly shuffle them, each one corresponding to a letter of the alphabet. To retrieve the values, use the AdvancedRandom.Permutation expression, where AdvancedRandom.Permutation(0) would be the first value, AdvancedRandom.Permutation(1) would be the second, and so on.

    So for each answer choice that isn't the correct one, put the next permutation value in sequence (since they're already shuffled), only if the value doesn't match the correct choice. If it does, skip that permutation and continue with the next.

    Thank you for the detailed reply.

    Thanks to your explanation I got an idea where to start.

    But since I'm not so familiar with construct3,(actually I'm noob to any kind of game making) I have hard time implementing the idea into actual project.

    Could youn please elaborate a little more including some example expressions?

  • Hi.

    I'm trying to make a quiz game where all the answers are single alphabet letters.

    Questions are given with pictures.

    For example, a picture of a frog is given as a question, then four alphabets are given to choose from.

    The player is to guess the first letter of the object in the picture.

    (In this case, F)

    Here, I want the four given letters to be one correct answer and the rest to be not repeating random letters(out of 25 other alphabet letters).

    How can I do this?

    I've studied some of the related tutorials but none of them uses random answers out of a answer pool.

    Please help.

  • You do not have permission to view this post

  • If your audio files have just numbers for names (1, 2, 3 etc.), then use str() expression:

    > Audio Play By Name str(Sprite.AnimationFrame)
    

    Also, AnimationFrameCount is the quantity of frames. You need AnimationFrame.

    Thank you so much again.

    Your tip solved my problem and saved a lot of my time.

  • I have an animation with about 100 frames and want to play audio files(also about 100 matches each frame) when clicked.

    I've tried setting the audio file name to Flashcards.AnimationFrameCount, which is the current animation frame.

    and changing the names of all audio files to the matching frame number.

    but The error says the parameter does not take number.

    How can I make each audio files to play at a matching frame?

  • Always wanted to make one of these :)

    https://www.dropbox.com/s/fg8aegqmpu91uid/MatchLetters.c3p?dl=0

    I tried to edit the file you uploaded last time and try to make it myself, but it was too difficult.

    Thank you so much. You're so kind. :')

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm trying to make a memory card match game for my child where matching 2 cards are not identical.

    To be specific, the cards are 52 in total with big and small alphabet letters.

    A matches small a, B matches small b and so on.

    the cards are in each frame in one animation(A-Z, a-z) and all I need to do is draw out random frame number.

    But I have no idea how to draw out random sets of (big letter, small letter).

    Can anyone please help?

  • I found this confetti effect made with javascript.

    https://www.construct.net/en/tutorials/confetti-effect-javascript-2508

    I tried copy&paste but it doesn't seem to work.

    How can I import the effect and use it in my project?

  • You do not have permission to view this post

lollipoppy's avatar

lollipoppy

Member since 2 Feb, 2021

None one is following lollipoppy yet!

Trophy Case

  • 3-Year Club
  • Email Verified

Progress

4/44
How to earn trophies