konjak's Forum Posts

  • I still haven't installed the latest SpriteFont version, so this might be changed at this point.

    But basically, I wish the SpriteFont's source sprite for letters' current state was always how the letters would turn out. Right now it seems that the letters change according to the state of the source sprite upon layout start initially, and I need a series of For Each Letter events to change it every time I change the text.

    So, basically, I can't set the tint or size of the source sprite, then set the SpriteFont to "show text 'asasd'" and get it to look like the source sprite. I need the For Each Letter afterwards, making all the changes.

    One instance this is extra clear for me is my source sprite changes animation direction, but if I have a Show Text event that repeats (like for instance if I make the progressive text on my own) it will freeze on the first animation angle until the Show Text event stops executing.

    Maybe I'm just using it the wrong way, and I remember Write Text not being very fast.

  • Bah, I had two instances of a global XAudio2, removing one seemed to fix the muffle, but there's still a slighty echoing effect to all tracks. Not the exact same as my example MP3, but playing the files back-to-back you can still hear a slight reverb from Construct.

    EDIT: http://www.konjak.org/echo2.mp3

    The current echo side-effect makes the feel of music change quite a lot, so I hope it's fixable somehow... It's the difference of making a studio recording and making one in a big empty room.

    The music plays on a looping reserved channel which was made reserved at start of layout.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I guess this is the wrong board, sorry.

  • Listen to this:

    http://www.konjak.org/echo.mp3

    The first part of it is the OGG played externally through Winamp, the second part is the same file being played by XAudio2.

    There's a definite "doubling" effect, creating a nasty echo. When I tried earlier it even muffled the track. Is there anything I can do about this?

  • The only way to make them restart is to have actions that reload the files into memory again, it seems. It doesn't hiccup the game as it probably remembers the tracks still (or however it works), but I didn't want to do that because of the chance there ARE hiccups (I'm pretty pedantic about it), and it requires an event for each song that can play in a layout. Not a big sacrifice, but a "workaround" nonetheless!

    And I'd love to have the file, as I've been planning to enter IGF by Nov 1. That would be awesome!

    EDIT: Is it somehow inherent to DirectX to set if a sample loops when you load it, rather than when you play it?

  • There's an additional issue I don't know if I'm doing something wrong or not, but with the way I currently did the fade, it fades fine, and I have an action to "stop" that channel when it's quiet anyway. Problem is, then, when I want to start playing that channel again, it was never stopped (rather paused?). So I thought I'd set the position to 0 then, but that in turn seems to disable looping, and there's no action to initiate a loop (but there is one to stop one!)...

    Help?

  • Really? Isn't that a given?

    Sorry to be jerky, but isn't that sort of necessary? How do I made any music fade, for instance? I guess a variable , but that's sort of backwards...

    I complain a lot.

  • Well, it could be both.

  • The array problem isn't a problem in earlier versions, though. And I was contemplating it when things I did before in SpriteFont, like easily making multiple speech bubbles uisng multiples of the same SpriteFont, stopped working or even started to crash the game...

    I don't have a CAP right now, and I'd have to make a unique one recreating the problems, which usually doesn't happen then, and I don't want to send the whole game I have, really.

  • If I were to try to make my own text writing engine (just to have my own controls and stuff) WITHIN Construct, how much more process heavy would that be compared to using SpriteFont?

    And can you get the length of just one line of text in Construct somehow?

  • The newest version gives me the same issue I had before where I try to get text (from an Array) and display it in the game and SpriteFont refuses to display the whole text... Just cuts off.

  • It's because everything is "global" in Construct. I think the thing to do is just have a Start of Layout where you set everything the way you want it for now. Maybe you used MMF before, which doesn't remember things as often. The Event Sheets act independently of the layouts, I'm pretty sure.

    A nice feature would be "reset values" for sprites, at least, so you could group together a bunch of sprites in a family and then "Start of Layout --> Reset Values" and it would set all the values to their initial ones.

  • I think we should just wait for 1.0 before we ask for such major additions.

  • > Raknet looks good and is free for non-commercial use, which means I could make a plugin using it and distribute it for free. However anyone wanting to sell their online game needs a license, which is only about £50 ($100) per application. This is okay I guess, a commercial game would probably make that back if they just have a handful of sales. But it's still a bit of a barrier to small time indie devs. What do you reckon?

    >

    I understand this is one hell of a gravedig, however, it has come to my attention that Raknet is now FREE for independent commercial use providing gross revenue does not exceed $250,000 (at which point you have to pay RakNet $5000 for a normal Commercial license it seems).

    So, the barrier for small time indie devs is now gone. <img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy">

    Anyone here fluent enough with Visual C++ to turn this sucker into a plugin? Or do I have to start learning it myself (which would be like attempt 12 or so)?

    EDIT: Link. http://www.jenkinssoftware.com/purchase.html

    I think that sounds pretty terrible ($5000) if you actually do make something that makes money and still would prefer a free alternative... What if you managed to make something that some day reaches $250,000 and you've already invested some of that? Because of the slow and steady climb you're suddenly slapped with a $5000 price. The premise of that is much worse than paying $50 once at the start, I think.

    Is there a way in Construct to do stuff like uploading scores to databases yet? If I'd need this plugin for that, it would be even more annoying with such a fee looming! <img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy">

  • I have no idea how it is "hell" to make levels for some people. It works perfectly fine, save for one thing, and that's that you select a placed object by its entire bounding box rather than just clicking on opaque parts. That I'd love an alternative to!