work3's Recent Forum Activity

  • Thankyou for your kind assistance!

  • Hello, I am trying to find a low res resolution that will fill the screen at 1080p and 720p in NW.JS

    I had my low resolution pixel art game running at a window size of 480x270 which looks fine and fills the screen at 1920x1080, with scaling set to letterboxed integer, but in 1280x720 it is surrounded by large black borders, which is confusing me as it is also 16:9. any other fullscreen scaling options either do nothing or make the pixels uneven.

    Are there any resolutions I can use, similar to the window size I am using where I can have full screen (or as close to), square, clean pixels at both 720p and 1080p?

  • Thanks guys, and thanks as always to Bruno for the regular replies.

  • (Apologies, I posted this on the C3 board previously, wont do it again..)

    Hello, Hopefully someone will be willing to assist with my latest question.

    Is there any way to mask a sprite, so that its pixels are only visible when overlapping pixels of a particular layer?

    Thanks, as always..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thankyou so much!

  • Hello, I am attempting to try and limit the rotation of a spawned bullet to 16 directions, which I believe is steps of 22.5 degrees, however I am not sure how to implement the correct "round" syntax and math for this..

    I have bullets spawning toward the player, so I assume I would implement the "rounding" (whatever the correct syntax is) after that action?

    Hope someone is willing to assist.

  • Tnanks for the response, Sadly that's not very viable for me as I want it to work on numerous sprite characters that have rather large amounts of animations, and some are going to be quite large...

    I shall attempt writing my own effect for it!

  • Hi all, hope someone will be kind enough to answer..

    I wanting to make some animating sprites a solid colour, say for example RGB 255,0,0 then fade that amount down via opacity / amount so the overlaid colour gradually dies away.

    Having gone through the effects, I can't seem to find anything like this..

    Example image is attached, hope someone can advise..

    fx.png

  • Thanks Bruno, as always!

  • Hello. Hopefully someone can assist with my query.

    I have some bullet objects flying about, and every tick they spawn a non moving "trail" sprite, which scales down, and fades down in opacity every tick. creating some nice "tails" on each bullet.

    However, I'm just fixing all my code to work with time delta, and I am unsure how to do spawning as well as scaling / opacity changes at the same rate using time delta.

    Thanks as always!

  • Problem Description

    Pixellate effect does not work correctly unless opacity is below 100. It also glitches over shader effects.

    (glitch effect can be removed by changing the following XML)

    <!-- Extend the bounding box for effect processing by a number of pixels to show the edges

    of effects which go beyond the object edges, e.g. blur and warp. -->

    <extend-box-horizontal>2</extend-box-horizontal>

    <extend-box-vertical>2</extend-box-vertical>

    Attach a Capx

    https://my.pcloud.com/publink/show?code ... rz95Ej3Ikk

    Description of Capx

    Left side shows pixellate effect at <100 opacity working correctly but glitching, right side shows 100 opacity not working correctly.

    Steps to Reproduce Bug

    • set opacity of object with pixellate effect applied to 100 and rotate it

    Observed Result

    mosaiced pixels just rotate as opposed to being pixellated, as opposed to what happens at opacity <100

    Expected Result

    effect shout be pixellated.

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    Win 7

    Construct 2 Version ID

    rel. 245 64bit

  • OK, having been through the XML I have seemingly fixed the problem! - however I have no idea if my change to the XML file will cause any issues as I am NOT a programmer!

    In the pixellate XML file, changing the two zero values in the part shown below from 0 to 2, not only fixes the glitch effect but also fixes the incorrect mosaicing of the 100% opacity version too..

    <!-- Extend the bounding box for effect processing by a number of pixels to show the edges

    of effects which go beyond the object edges, e.g. blur and warp. -->

    <extend-box-horizontal>0</extend-box-horizontal>

    <extend-box-vertical>0</extend-box-vertical>

    Now as I said I am not a programmer, so I would really appreciate some advice wether I am doing something volatile or not with the code!! brunopalermo do you know who I can consult about this??

work3's avatar

work3

Member since 20 Dec, 2007

None one is following work3 yet!

Trophy Case

  • Email Verified

Progress

17/44
How to earn trophies