Tokinsom's Forum Posts

  • .ogg files don't work when using "play music from resource" or "autoplay resource", which is what I have to use to get magicam to not stop the music during transitions. Otherwise, Lucid's idea gets the music to keep playing during transitions, but in turn breaks the transition..so..Just waiting to hear from Linkman.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In your first post you said that you are using "play music from resource", in your second you talk about magicam stopping music "on a reserved channel". XAudio2 knows music and sound - music is played directly (and parallel to the sound channels) and sound can be played on channels. And only for the latter you may reserve channels. Also, music is never chached, while you have full control over caching sound. If it is music you are using, then it might be that room transitions block access to the harddisc and because of music not being cached, it can't be played during that time.

    I assume you're using exactly one XAudio-object set to "global". Try playing the loops as wav via channels and set a high cache value plus using "cache file" or "cache directory". Other than that, there is only the way of fixing (if it is a bug) magicam.

    Sorry, as always I could have been a little more clear -w-;

    What I meant was I used to play music by doing exactly what you mentioned above, but that caused Magicam to pause the music during transitions. Due to this, I resorted to using "Play Music From Resource". That fixed the transition problem, but now there's a pause between loops. But yes, I think the only way to fix this is through Magicam. I've contacted Linkman so we'll see if something can be done.

    Edit: Actually, Lucid, your idea works...for the most part I'll have to mess with it a bit but I think it'll do.

  • All of the songs were designed to loop, and they loop perfectly in my media player.

    I haven't used music a whole lot, but the few times I did, playing a .wav file from a channel set to loop produced no noticeable pauses. Then again, I'm not sure if that was because of Construct or how the song was.

    Likewise. From what I recall the music looped just fine, but again, magicam (during room transitions) stops music on a reserved channel like that so I'll have to find another way..or talk to Linkman about it..hm.

  • Is there any way to loop music without that awful pause? I've gotten a lot of complaints on it and..well..it seems there's nothing I can do about it. It took my friend a while to make these tunes and now I can't even play them properly.

    I'm using "play music from resource." I tried loading them externally, which I think fixed the pause, but I'm using magicam so the music completely stopped during room transitions. Un-checking "Time-Scale Audio" surprisingly didn't fix it.

    Any ideas?

  • Why is this becoming so complicated?

    What's wrong with a 30-day trial w/nag screen & limitations, solid price on a full version of C2, and paid add-ons/exporters? There's still plenty of profit to be made.

  • [quote:29w5jfmw]

    You wouldn't mind programming 5 million lines for that, you make Construct because it's your passion to program a software!...

    If I would make a software like this and first let this be free, it will stay free in the future. I don't want to scare away people with a subscription plan....

    That's silly. Scirra is asking so little for so much. I can't believe some of the comments I'm reading. Atleast Scirra is actually consulting us about it, where most other companies would just slap an outrageous price on their software and call it a day. You don't see any threads on their sites about such prices, do you? While the whole subscription thing seems kind of odd, 150$ every 2 years is nothing, especially if you're profiting from your games. C2 could be 5x more expensive and still cheaper than a lot of other hobbies out there. Anyway..this 'indie perpetual' license sounds like a winner to me.

  • Oh ok. Damnit Tulamide what DON'T you know?

  • Pretty sure. When I delete the cursor my VRAM goes from 5.50mb to 1.50mb. I'll try that out though.

    EDIT: Ok so removing it's "additive" effect takes it from 3.52mb to 0mb...I don't recall shaders taking up so much VRAM like that.

  • For some reason my 8x8 tile cursor (sprite object) takes up roughly 4mb VRAM.

    There's only 1 frame, and the collision mask is also 8x8.

    I made a new frame for it but it didn't change anything.

    I'm using .97

    What's going on here???

  • ?

  • Speaking of image editors/animators, C2 will be getting brand new ones, right? As in..not 0.x's..

  • Aha! Works perfectly. Thanks

  • mediafire.com

    Does this work for you?

    Well, it keeps the tile cursor from getting offset when zooming, but now the map editor cursor becomes offset :T

    That said, I can now select the correct tile when zoomed in, but can't place it in the correct spot.

    I'm starting to wonder if the zoom is just broken..

  • Here's a .cap I quickly put together to demonstrate the problem: Download Here

    The white cursor is for placing tiles, and is on the layer that zooms. The red cursor is for selecting tiles, and is on the layer that doesn't zoom.

    Use the mouse wheel to zoom in or out.

    Notice how the red cursor becomes offset when zoomed in. (The mouse has to be over the panel on the right to see this)

  • I haven't tested it, but from my head:

    If zooming in to 200%, the area (virtually) represents double the size. Theoretically

    Cursor.x = int(MouseX * (Zoom/100)/8) * 8

    should work.

    Damn. Sounds like it would work, but it doesn't. I'll upload a .cap soon, might make things a bit easier. I really need to figure this out :T