dfyb's Recent Forum Activity

  • well i found an easy bandaid fix... i do the 'start of layout, change layout' thing, with another condition to confirm it's the right layout before switching.

    still not having any luck changing the order of the layouts though..

  • i always think that instead of making a fangame, it's better to just make an original game (original characters, etc) but still adopt whatever gameplay mechanics you want. it just gives you more flexibility that way -- not only in respect to gameplay, but also as far as distributing and promoting your game because you won't be using someone else's IP.

    with that said, the art shown so far is definitely nice and i'll be keeping an eye on it (already subscribed to your blog rss)

  • But theres one little problem, if I do it like "C:\Documents & Setting\user\Name\Game\Music\Music.mp3" it will only work with me but if someone else tries it wont play them.

    put the sound file in the same folder as the .cap or .exe and use

    AppPath + "music.mp3"[/code:v7tgm7n7]
  • pretty sure i've played an .mp3 file easily with xaudio2

    as far as the OP goes, make sure to include the path of the file (not just the name).

  • the modal layout resets the events so after closing the modal layout, all the trigger once events activate again even when they shouldn't.

    this may also be related to my small issue --

    <img src="http://upload.dfyb.net/uploaded/modal_bug.PNG">

    if i sustain my run animation, it will basically add a new instance of the animation on top of the one already there.. one duplicate for each time i create and close a modal layout (options screen). switching animations corrects the problem.

  • <img src="http://upload.dfyb.net/uploaded/pirate_progress3.jpg">

    a little bit more progress -- been busy with other stuff. hope to have a very early alpha version to post soon, but i'll warn it's very barebones and nothing of worth is really implemented yet -- been busy with all sorts of stuff over the past few weeks.

  • happening on XP, too

    edit: wish i knew what i did to get it working that one time... but i've tried dragging these things every way i can think of.

  • Hmm, maybe this is a Vista bug. If you change the order of the layouts and it starts on the wrong layout, does it still do it when you save and reload the .cap? If so, can you send me one of these .caps that runs layouts in a different order to the way the project bar shows them?

    well i can, but whenever i load the .cap, it returns to the original layout order -- it's as if i never changed the order.

    *change layout/event order around

    *save

    *close (edit: to specify - i closed the layout using the x under the top bar)

    *open

    and this is what i see

    <img src="http://upload.dfyb.net/uploaded/order_bug.png">

  • > i've been dragging up and i've found that my change doesn't stick. i can drag the second layout up to the top and it acts as intended -- it's listed first (though it still loads the engine layout when testing it). but if i save and restart construct, it's back to its original order. i've also tried adjusting the order of the event sheets, but they seem to have no effect. i'm on a vista machine right now -- i'll test at home later today to see if i get the same problem.

    >

    Strange. If you do it with a new .cap does it do the same thing?

    not all the time. i made two new .caps trying to troubleshoot this. one had same problem, but another actually worked -- unfortunately, i don't know what caused this disparity. pretty sure i always dragged layouts upward though, rather than dragging the first layout down.

    i'll be home soon, and i can see if my XP machine performs any differently.

  • i've been dragging up and i've found that my change doesn't stick. i can drag the second layout up to the top and it acts as intended -- it's listed first (though it still loads the engine layout when testing it). but if i save and restart construct, it's back to its original order. i've also tried adjusting the order of the event sheets, but they seem to have no effect. i'm on a vista machine right now -- i'll test at home later today to see if i get the same problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > if i drag a different layout above the engine layout in the project menu on the right... it doesn't change which layout loads first (this was the first thing i tried).

    >

    It does, I just tried it - a horizontal line appears where the layout can be dropped. All you need is a blank layout as the first layout which jumps to the layout you want.

    yeah i tried it, too. i even started a new file to test it. in the project menu to the right, i can drag another layout above, sure -- i see that horizontal line and all... but it doesn't actually have an effect on which loads first when i test the application (no matter what, the original layout created with the .cap will load first).

    edit: i seemed to get it working on a new file... still not working with original. i'll play around with it more.

  • The first layout isn't your engine if you add a new layout at the start!

    i guess i'm a bit confused as to what you mean by this...

    if i drag a different layout above the engine layout in the project menu on the right... it doesn't change which layout loads first (this was the first thing i tried). i can't seem to change order in the event sheet editor -- just add/delete.

dfyb's avatar

dfyb

Member since 16 Sep, 2008

None one is following dfyb yet!

Trophy Case

  • 16-Year Club

Progress

16/44
How to earn trophies