Mipey's Recent Forum Activity

  • rgba = rgb + opacity

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sounds like a nice idea, though I can't say I'm knowledgeable enough to make such a plugin.

    Off the top of my mind, however, the html5 <audio> tag supports media streaming over browser. Just point it to your radio station URL and put the tag in the game's web page, just below the game itself would work so that the player can adjust volume, etc.

    Note that <audio> tag supports different formats for different browsers; Firefox, for example, doesn't do mp3, IE8 doesn't like ogg... well, currently ogg seems to be the most prevalent format. May want to include different sources for different platforms.

    Some reading:

    http://thinkvitamin.com/code/html5-audio-unplugged/

    http://stackoverflow.com/questions/2229118/is-it-possible-to-play-shoutcast-internet-radio-streams-with-html5

  • Heh, I get brain farts like that all the time. You are welcome!

  • So the camera can scroll all the way to layout borders.

  • That's strange, I can't think of anything in spritefont that would affect the image's alpha channels. I can get semi-transparent PNGs to display properly.

  • Preposterous! Real men require no manuals!

    ...

    Maybe if I glance just a tiny bit...

  • Huh, isn't it basically XML?

  • I concur. For Scirra specifically, would be nice to also have Construct Classic and Construct 2 mini-logos.

  • Not going to enter the competition myself, got more demanding projects to work on.

    But I've created an example that demonstrates a rotatable layout and world gravity: Tiltball Example

    Left and right mouse buttons to rotate the layout. Rather simple. The ball and walls have physics behaviors.

    Feel free to (ab)use it, as I won't be entering the contest!

  • The SDK manual has been updated fairly recently, I believe, so you may want to take a gander at it once again, specifically the edit-time page.

    Specifically, you want the renderer.Fill(quad, color). You can create a new quad or use the instance.GetBoundingQuad() to get the instance's quad. You can also use the bounding quad to retrieve instance's corners, angle (calculating it with atan2) and so on.

  • This may answer your gravity angle question. In short, simply set gravity to 0 and add constant force that represents the gravity - at desired angle.

    As for sprites behaving as if they were within solids - well, you've got to make sure the transparent background is not part of the physics world. So the background object shouldn't have physics behavior nor solid/jumpthru attributes; in that case it will be ignored. For collidable structures use separate objects.

    Or so I believe, at least.

  • lerp is your friend. It is a system expression, you should experiment with it. There are a couple tutorials for it, too, hit the search box, apparently it works now.

    Tis a good day.

Mipey's avatar

Mipey

Member since 16 Jan, 2009

None one is following Mipey yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies