dop2000's Forum Posts

  • Well, if you want to make a real mirror in a 3D game, you need to give all your graphics a "reverse" side. Say, if your character is facing the player, the mirror should show the character's back, not his face..

    If you just want to make a snapshot of a part of the scene, you can use Drawing Canvas, I did something similar recently:

    howtoconstructdemos.com/create-a-reflection-with-water-effect

  • Try moving the "On every tick" event before "is IsDay" event.

    If this doesn't work, could you share you project file? It's difficult to try running this code in my head :)

    .

    On a side note, you can't run anything every 0.01s. On most devices the framerate will be around 60, which equals to 0.016s per frame, and you can't trigger any events faster than that.

    If I understand correctly, the full cycle takes 24 minutes? Then updating the whole thing on every frame is probably an overkill. I would do it every 0.5-1 second or so, it should still look smooth.

  • LaurenceBedford I believe you are also making a football manager game? Maybe you guys should team up :)

  • SnipG Thanks, this effect doesn't seem to affect the performance at all. Unfortunately, it's not very nice looking, it adds horizontal and vertical stripes/artefacts to some images. If nothing else works, I'll use it, as it's definitely the fastest!

    DiegoM Yeah, that was my other idea, but with Drawing Canvas. Apply blur to a sprite, paste it on Drawing Canvas, hide the sprite. At the end of the level, remove Drawing Canvas, re-show the sprite, slowly remove the blur.

  • Try disabling "Parallax in editor" checkbox in layer properties. And then simply set UI objects position correctly in the editor, they should stay there in the game.

  • I had this check in my file.

    Level<=LevelsArray.Width-2

  • Not sure if this is what you were trying to make:

    dropbox.com/s/qekbb8c492gva3w/thumbMovementTest.c3p

    The little guy will always fly forward, like in Jetpack Joyride.

  • Oh, so after every level up you are basically resetting the XP? Yes, that last screenshot looks correct. Glad it worked.

  • If you use Anchor because of scrolling, you don't really need it. Simply set parallax to 0,0 on the HUD layer and it will not scroll. You will be able to use Tween and other movement behaviors on it.

    Anchor is mostly used to support different screen sizes.

  • I don't understand your xp system. Why are you subtracting MaxExp from XP?

    And event 11 on the screenshot doesn't make any sense.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Asmodean You mean show blurred version of the image above the original, and fade-out the blurred one? It will not be the same as slowly decreasing the blur intensity, but probably pretty close.

    I guess I can activate the blur effect on the image, paste it on a Drawing Canvas, then disable the blur. And then fade out the Drawing Canvas.

    Thank you all for the useful ideas!

  • No, sorry, forgot to mention that I want to remove the blur effect slowly, over several seconds. Also, there will be more than a hundred large images, adding blurred versions of them will significantly increase the app size.

  • I need to apply Blur to a large background image. The idea is to hide small details on it, so that people couldn't figure out what's on the picture, until I remove the blur.

    Unfortunately, it's really slow on mobile. I tried Blur Horizontal+Blur Vertical. And also these two effects - they are even slower..

    Since it's a static image, is it possible somehow not to update it on every tick? Or is there another way to blur the image (with masks or something else)? Or a similar effect that is less performance-hungry? My last resort is pixellate effect, but it doesn't look nice.

    Tagged:

  • Feels like a bug. You can report it here:

    github.com/Scirra/Construct-3-bugs/issues

  • I'm guessing your layout scrolls to the right. Put all UI objects on a separate layer with zero parallax.