RBuster's Recent Forum Activity

  • I changed the Touch objects by Mouse objects and the game worked in Internet Explorer. The only problem now is that it has no sound. How can I solve this? So I have to create games with Touch objects only to mobile devices and use Mouse objects when producing games for the web?

  • Ashley, I tried in two different machines (IE9 - desktop with win7 nvidia gts 450 / netbook win8 IE11). All my graphics card is up to date. A friend of mine did a test and not worked in his machine too (notebook win8 IE11). Everythig happens the same way: loading the game and freezes. No audio and no interaction. This happened with 03 games.

  • allan: I got it. Living and learning. Thanks for the tips.

  • lennaert: Thanks.

    mindfaQ: Thank you. Works like a charm.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I count how many sprites with frame animation greater than zero are on the screen?

    Thanks

  • Instead of trying to solve the problem I decided to follow the AllanR suggestion and made comparisons between UIDs and everything worked. Thank you for help me.

  • Hi After I read your post I changed the soundNumber variable type to number too. Now both variables are number variables. I even created a local variable with the same name and removed the global one, but still not working. Now the problem inverted: all number that I clicked is right.

  • RenatoB, there are a few things in your code that seem a little funny to me, but I tested some of them out and they seem to work (but just aren't quite the way I would have done it).

    I'm a newbie programmer trying to accomplish some personal projects. When I compare my scripts with others that were written by more experienced programmers, I see that are very different. But how in the end everything works, I keep following this line.

    I believe the main problem is that the CheckAnswer function is not working with the same "numbers" instance as the one you touch. When you touch one, it is the only instance "picked", but when you call the CheckAnswer function it will randomly pick any instance to work with. So, You should pass in the numbers.UID into the CheckAnswer function, and then in there "pick" that unique ID.

    I'll check it. What I find strange is that the texts fields that I include for testing, shows the same number in both: the number of the draw as well as what was clicked. I thought it was something wrong, the text fields would show that.

    One other potential problem is in your "On Start of layout" section, where you "Pick a random numbers instance". You repeat that loop 20 times, but theoretically it could pick the same numbers instance all 20 times. Out of 20 times through the loop, you will have no way of knowing how many instances got picked more than once, and how many never got picked. If you have 20 instances of numbers, and want to set each one to a random animation frame, then replace the "Repeat count times" and "Pick a random instance" with "For each numbers". (the part where you choose a random index and delete it out of the array seems fine as far as I can tell).

    In fact the numbers are not repeated, only the "0" but it's intentional.

  • AllanR, I was afraid it was something wrong I was doing, so I asked here to see if it happens to everyone. If the problem is the touch object, can also use the Mouse object, such as another condition (or). That would solve the problem or I need to remove the Touch conditions?

  • I did some tests in IE and my games doesn't work. The game loads and freezes on the first screen. The buttons and the sounds do not work. The games works very well in Chrome and Firefox. The problem may be the Touch object? What could be the other reasons? Thanks.

  • ramones,

    number.value is a number variable

  • I'm having some trouble to find the error of this script and so I decide to ask for help. The goal of the script is to check that the correct number was clicked. When picks a number, the audio tells the same number and I click on the same number, but the answer appears as wrong. Someone could check for me? Thank you.

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