RBuster's Recent Forum Activity

  • I thought it was confusing to apply what was shown and I believe I didn't express myself correctly when I talked about my question. So I decided to talk a little about this stage of the game I'm creating.

    It's a simple password game where there will be symbols (here represented by letters) and answers in numbers that determine the correct position of the letters. The player will have to choose which one shows the correct order among the options.

    Illustrating the information:

    - ABCD (it is the order in which the password appears: A=1/B=2/C=3/D=4)

    - DCBA (is the correct password order)

    Answer options:

    1234

    3214

    4321 (correct answer)

    Both symbols and numerical orders will have to be generated automatically at the same time.

    I'm going to use images, both for the letters and also for the numbers. Maybe I should use a sprite with 2 animations (one with letters and one with numbers) and with 4 frames each, which will be drawn. The issue is that I will have to use instances of the same sprite for all the game items (password in the original order/password reorder numeric sequence/password in the correct order/2 wrong answers and 1 right answer) and thus identify each one of them. Would this be the best solution?

  • Thank you so much and R0J0hound for the suggestions and examples.

    I will test both solutions and return later if I have any questions or give feedback.

  • But in this case I need to register all the possibilities in the array, right? I want to create these combinations on fly (randomly)

  • I intend to create some random combinations of symbols distributed in 4 frames of two sprites for the user to identify which are the same and I wanted to know how I can do to avoid that the combinations are repeated in the next plays. Any simple suggestions for this?

    Thanks

  • Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you lennaert

    I believe I found the right example/tutorial to accomplish it: construct.net/en/tutorials/tracking-users-ajax-php-mysql-1061

  • lennaert Thank you for the reply. From what I understand, it doesn't seem like a very complicated thing to do. Do you know where I can find an example of how to create the PHP page and after that how to interact with the WordPress database? I need to understand this very well to see if I really have conditions or not to accept this project.

  • I intend to create a game to be published in a WordPress page (inside of an iFrame) and I need to register the history of each user who plays in the same database of the site (WordPress), recording score, length of stay, results (won or lost), among others. Would it be possible? If so, could you explain to me how to do it? Thanks.

    Tagged:

  • Hey dop2000

    Thanks for answering. My idea is to use a device that will have some small pieces of conductive foam and I need the app to confirm whether the distance between these pieces of foam is correct or not and do something after that. Could I do this using this plugin?

  • Would it be possible to know how many fingers are touching the screen at the same time and what is the distance between them? If so, I would like to know how to make this happen. Thanks

    Tagged:

  • Thank you, tarek2!

    You are right. It's a simple and effective solution. In fact, the complete solution is amazing. All commented and explained. A great class!

    I will study this CAPX and all your comments/explanations minutely, to be able to do some modifications or adaptations. I appreciated your help a lot and I hope I can still count on you if you have any more questions.

  • Everything should be possible as long you describe exactly how it works.

    Example:

    Do you mean something like this?

    The circuit has been cut it and they are two components at the two ends:

    -Going left side the last component is Resistor1

    -Going Right side the last component is Resistor2

    Which you can already get from the debug string if you look to the last components, look at the picture.

    If it's not that can you explain it a bit more, this assuming that we start always from the Switch? Anything can be done if you just explain how it works exactly including all the different situation that can happen, other ways it's confusing and it will take longer to give the right answer.

    What I meant is to separate a single component from the circuit in order to be able to measure it with the multimeter. In the example you showed in the image, resistor2 would be disconnected from both sides, that is, it would be completely separated from the circuit. The reason is that it has two values: one when connected and the other when disconnected.

    ==========================

    > - I need to implement the multimeter (as you may have seen in the simulator) to measure the components when they are connected or not. This happens at the ends of the component. What do you suggest for that?

    3-If you mean how to connect this:

    Then you can add it as a normal component but you just don't include it when you check if they finish the circuit in the right order, instead, it will act as a wire if I understood you correctly. Basically, it will be skipped for circuit check but it will be used to see who is connected to it only. I can have a look if you want but I just need to know exactly how this will work.

    Sorry, but as I cannot see this image, I don't know if I understood your comment correctly. I would use the multimeter to touch the probes to the ends of a component and the value would appear on the panel. In the simulator that I shared the link in the first post, the multimeter is at the top right of the screen and you can drag it to use the probes.

    ==============================

    > - I thought to use tile background as the wires, but I need those wires to show the energy inside them, as happens in the simulator and I cannot use tileBG for this. I also used sprites, but when I stretch the wires, the animation also stretches. Do you know another solution for this?

    Awesome! It is possible to control this animation, right? For example, use the switch to turn on (show the animation) and turn off (stop the animation) or still disable the animation when the circuit is cut?

    EDITED: In the current structure, it is necessary to define in the variable the number of items and the order of these items. It would be possible to consider the wires as a single item regardless of the amount, that is, if you join several wires, the program understands that it was included the wire that is requested on the order of the value of the variable? I am asking this because putting together multiple wires instead of using just one shouldn't change the 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