Winsclav's Recent Forum Activity

  • Thanks blackhornet, I needed a small push, and you did well. I first posted my question on the beginner's section, but it felt weird about the music playing with an error message, and only with it.

    So, "On start of layout" alone is, of course, working. But it's not what I was looking for.

    So, my problem was the trigger, I needed a trigger, so I used that trigger: "System / Trigger once", combined with an "Is overlapping another object", or another event lasting, it works.

    To start and stop the music according to the place my player is, I set a global variable "music". When my player hits the planet, the variable change, then I just need to make the music stop, and then play.

    So I found out how to play music, BUT, this bug about music starting with an error message still makes me circumspect...

  • Everyone, some quick up-coming.

    My problem is obsolete and my music is playing perfectly if I make my song starts with a trigger.

    Event: Keyboard / On "Espace" pressed -> Audio / Play "music"

    When I will find the way to make my music starts without a trigger, it will be good for me.

    Still, this bug about music starting with an error message still makes me circumspect.

    Hope my bug report is not a total false alert.

    Thank you for your consideration.

    Winsclav

  • Try Construct 3

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

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

    Problem Description

    I met a special software trick maybe someone will be able to tell me about.

    I have a problem making my music starts in my game. My web navigators (Google Chrome, Mozila Firefox, Internet Explorer) seem to unable the music to load.

    Thus, when I start the debugger, I see that the "Currently playing" is on but doesn't load. Exactly, it's loading between 0.0sec and 0.03sec randomly, and it's restarting at anytime.

    [attachment=1:3g2egj12][/attachment:3g2egj12]

    Attach a Capx

    Not relevant. I tried with the simplest platform game with only one event : "On every tick" -> "Play music". And it's the same thing.

    Description of Capx

    Not relevant.

    Steps to Reproduce Bug

    Not relevant.

    Observed Result

    The weirder is, and here is THE trick, my music starts to play when I get an error message by clicking on "Watch" or "Profile" (what I cannot do because I'm a free licensed user).

    [attachment=0:3g2egj12][/attachment:3g2egj12]

    This happens with Mozilla Firefox and Google Chrome. Internet Explorer never plays the music.

    Expected Result

    So I understand that my music is not the problem but what is ? My navigators? Construct2?

    I expect my music to play as long as my player is in the right zone. I would like the music to change according to the planet my player is on. But the first step is to make the music starts.

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES (except that the music never plays)

    Operating System and Service Pack

    Windows 7 - 64bits - Service Pack 1

    Construct 2 Version ID

    Release 168 (64 bits) - Free edition

    Thanks for your help!

    Winsclav

  • Hi nimos100, thanks for your reply.

    I don't understand why you write that my player turns 60 times a second. It's rotating clockwise, from left to right, like a clock... Did I miss something?

    When I check the parameters changes with the debugger, I see that my variable "gravity_angle" is only changing when touching the other gravity zone, not before (my "Passerelle" event is useless).

    If I disable my last toggle, my player falls (because it is not attracted by my planet).

    I made no success on this direction.

    Finally, I make my player jumps just enough to touch softly the other gravity zone, making the rebound not visible. And I don't need any "passerelle" anymore...

    But still, I don't understand why my event is ineffective.

  • Hi everyone!

    I have a newbie question but it is because it makes no sense to me why my code is not working. I want to make a gravity-based game. After different attempts (I posted a question in the "How to make a gravity-based game" tutorial, page 4, without answer yet), I am trying something. Anyway, my problem is that my parameter changes do not always seem to be effective, I need to understand why.

    So, here is my code :

    [attachment=1:m42pd5pa][/attachment:m42pd5pa]

    With the layout:

    [attachment=0:m42pd5pa][/attachment:m42pd5pa]

    Could someone explain me why my ClémentBox is not rotating when it is overlapping my object Passerelle?

    Thank you in advance for any help you could give me.

    Winsclav

Winsclav's avatar

Winsclav

Member since 4 May, 2014

None one is following Winsclav yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies