Cross_'s Recent Forum Activity

  • Anyone?

  • It works, here is a example as proof:

    http://dl.dropbox.com/u/5426011/examples%209/container.capx

    It looks like this shouldn't work and yet it does.

    In conditions 5/6 you pick the first instance of healthbars / shadows why does this destroy the one that matches the underlying object and not the first instance created ?

  • Let's say I have a few dozen sprite frames as individual images; is there a way to automatically convert them to a sprite strip? (Preferrably using Photoshop instead of other 3rd party tools.)

  • <img src="smileys/smiley24.gif" border="0" align="middle" />

  • Not seeing this problem in your capx. Here's a screenshot running in Chrome, zoomed in. It's blurry because of the zoom but there is no noise compared to your initial example.png

    <img src="http://i.imgur.com/XCSJS.png" border="0" />

    ETA: Testing was done on a PC with just the built in intel graphics chipset. Preview mode only, not exported. I checked the PNG inside the capx with Photoshop and it's perfect, no alpha channel problems there.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The lerp function can help. To fade out you could do:

    Every tick: set opacity = lerp(self.opacity, 0, 0.5*dT)

    to fade in:

    Every tick: set opacity = lerp(self.opacity, 100, 0.5*dT)

    To alternate between the two, use a sine function:

    Every tick: set opacity = 100* sin(time*50)

    scirra.com/forum/lerp-clarification_topic48641.html

  • Is this the typical issue with WebGL text layers always being on top, no matter what ?

  • Thanks Ashley- I just found that code last night ;)

    I think there are two issues that keep throwing me off. First that scaling acts like scaling plus cropping ("no black bars") and secondly that parallax is not based on the top-left window position. Opening the C2 parallax example and changing the window size moves the background layer around which IMO should not happen.

    What happens when you run in windowed mode and change the c2canvas.width/height setting during runtime ?

  • So far I have run into two issues where the C2 fullscreen scaling does not work the way I'd expect it to. Since Ashley confirmed that everything is working as it should, maybe somebody can give me more pointers on how to work with projects at different screen sizes. I have read the appropriate pages on this website but there are not many details to be found.

    My expectation was that if I set a 400x400 project window size and enable fullscreen scaling, that the browser would zoom in as much as possible while maintaining the original aspect ratio. E.g. on a 1024x786 screen we'd now have a 786x786 window and all layer relationships remain the same. Clearly that's not the case. I can get this (desired) behavior by changing the Zoom setting inside Chrome and disabling C2's fullscreen scaling. However, I would like to understand C2's algorithm instead. Any pointers ?

  • Hi Ashley, have you had a chance to try this ?

  • Not free, but comes with a very generous trial period:

    Goldwave - an excellent audio editor with all the features you could ever want- Goldwave

  • Well it's supposed to have a parallax effect and looks alright in windowed mode, but not in fullscreen-scaled.

Cross_'s avatar

Cross_

Member since 14 Jan, 2012

None one is following Cross_ yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies