Held's Forum Posts

  • Thanks!

    I don't think I've explained it well.

    The slider controls a function that has nothing to do with sound. No volume control or anything like that.

    As long as I move my slider, a ticking sound should be audible. A bit like a mechanical controller. As acoustic feedback to the slider movement.

    I have a single short tick audio that I want to use for this.

    Approximately 1 tick sound for every 5 units of change.

    Regards.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    i'm trying to play a simple click-sound as a feddback, when a slider gets moved.

    I tried several ways - "touchspeed", "on changed" ...with sound looped, not looped, etc.

    I'm a little confused now and was wondering if anyone could help. Can anybody ? :)

    Thanks!

  • Hi,

    right, in the event-sheet. In c2 there was an precise template to show the use of instance variables. Don't know about c3. Anyway, here`s a screenshot.

  • thank you for your effort!

    I have followed your recommendations step by step. and it already does quite a lot of what i want :)

    I don't understand everything yet, but i'm working on it. I'll try to work on it from there. Maybe I'll get back to you with a question or two. If I may.

    thanks for the help so far, appreciate it!

  • thanks already!

    sorry, I don't quite understand it yet.

    I have created a global text variable, because otherwise when deleting the array-.

    the values would simply slip. Hope I have explained it reasonably well. Here is my current test sheet. Can't I store the random array value as text in the variable?

    Thanks!

  • Hi,

    I want to create a 3 round quiz. In each round one of 10 random sprites should be created. But no sprite should be created twice.

    For this I have dealt with (1D)-Arrays for the first time. Until now I choose a random x-value from the Array and store it in a global variable. Then the corresponding sprite is created.

    But I don't manage to delete specifically the selected x-value from the array.

    So,

    1. How can I randomly select from an array between the remaining values?

    2. And how can I specifically delete the currently selected value?

    Thanks for any help!

    held

  • Hi,

    thanks for your tipp!

    I was hoping to get around this efficient but little inelegeant solution.

    Maybe there's another way with the help of css? Maybe I have to take a look at css someday. For now, I got me a font generator and it's working.

    Thank you very much!

    held

  • exported as html5, on iOS devices, my text gets out of place - some pixel downwards.

    on Android and desktop it's alright.

    Does anyone have a tipp for me to solve this? Thanks!

    held

  • I solved it.

    Request orientation is NOT triggered by 'on touch-event' but by 'on touch-end'-Event.

    Pooh, simple as it seems, that was a hard nut to crack. But anyway, hooray!

  • got it working now on iOS 12.5.5

    not on 14.6

    where's my mistake?

  • Hi,

    my tilt controls are not working on iOS devices.

    I request orientation permission by touching an object. As it destroys, it seems that the permission is granted. But no tilting works.

    tested iOS 12.5.5

    What am I doing wrong? Can anyone help me out?

    Thanks,

    held

  • I solved the riddle: The test-server, on which my game is uploaded, has no ssl-certificate.

    Surprisingly it was enough to type the missing "s" in the URL-field. Everythings works correctly now.

    Mozilla seems to be less demanding.

    cheers,

    held

  • Hi,

    I implemented tilt-controls to my game.

    Once, exported, uploaded and opened in chrome on android-devices, the tilt-controls are not working in chrome browser. In Firefox it all works good.

    Xiamomi Note 10

    os: android 11

    chrome version: 93.0.4577.82

    Does anyone have a clue, why? Thanks!

    held

  • thanks for the hint. maybe tomorrow with a fresh brain. :)

  • Yeah, that's much better!

    As I still see a little white border blinking for a short time and then disappears, maybe the issue is, that it's quite a long event-sheet and it takes time to call the action?

    But I`m happy with the result.

    Thanks a lot for your time and effort! Really appreciate it!!

    held