scorpwiz's Recent Forum Activity

  • Is there any chance that you (or Armaldio) will be updating this addon to work with minify option in C2? :)

  • Hi Ashley, sorry for my late reply. I do see it correctly in the editor (at least I believe this is correct), here's a screenshot from the editor :

    https://drive.google.com/drive/folders/ ... sp=sharing

    Thank you for your reply!

  • Problem Description

    When previewing (or exporting) with NW.JS, the layout is not displayed properly with blending options that are set.

    Tested and it works with Firefox, Chrome and Internet Explorer.

    Also, if "Enable WebGL" is set to OFF, then it works correctly in NW.JS (as well as in all browsers). But if WebGL is enabled (ON), then preview doesn't work with NW.JS

    Attach a Capx

    Here's a CAPX of the issue that can be tested :

    https://drive.google.com/drive/folders/ ... sp=sharing

    Description of Capx

    CAPX is really simple with a Blue_Sprite that is "not working". Please note the blend options in these 2 layers.

    Steps to Reproduce Bug

    • Step 1 - Open CAPX, and set Preview to NW.JS. Blue_Sprite will not show in preview (it is black).
    • Step 2 - When opened in Firefox, IE, or Chrome, everything is working properly.
    • Step 3 - If WebGL is disabled, then it works correctly.

    Observed Result

    Blue_Sprite in the CAPX shows as black (not showing that is), when previewing with NW.JS and WebGL is enabled

    Expected Result

    Blue_Sprite needs to show up with these blending options when previewing with NW.JS, as well when the game is exported.

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)

    Operating System and Service Pack

    Windows 10 Pro, x64 version 1607, build 14393.351

    Construct 2 Version ID

    Release 239, 64bit

  • I just tried that, works perfectly!!

    Thank you so much!!

  • Hi,

    I cannot figure this out, it's driving me crazy <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I have 3 sprites : Player (green), EnemyShip (blue) and EnemyBullet (red).

    Player can also shoots bullets (different sprite called PlayerWeapon) that can destroy EnemyShip.

    My code is like this :

    Event 1 :

    Every 5 seconds / Trigger once -> Create object EnemyShip on Layer 0 (at random Y position)

    Event 2 :

    Every 1 second -> ------ EnemyShip spawn EnemyBullet

    ---------------------------------EnemyBullet set angle toward (Player.X, Player.Y)

    Event 3 :

    PlayerWeapon on collision with EnemyShip -> ---------- EnemyShip Destroy

    ----------------------------------------------------------------------------- PlayerWeapon Destroy

    ----------------------------------------------------------------------------- EnemyBullet Destroy

    My problem is that ALL the EnemyBullets on the screen are destroyed once I hit any of the Enemy ships. I would like it so that ONLY the bullets (and the enemy ship that's hit) from the ship that spawned them, are destroyed.

    So, if the third enemy in this picture (circled in yellow in the below picture), gets hit by my weapon, I would like it so that both that enemy and ONLY its bullets are destroyed. Not all the bullets on the screen.

    Picture

    https://drive.google.com/open?id=0B2knB ... zBxVzZuOHc

    What am I doing wrong ?

    If anyone can please help, that would be great! Thanks a lot!

  • korbaach , This mask1 is spot on, with blending options. I was struggling so much how to make this, so this has to be on different layer, I see. Can you just explain, this mask sprite, that is just a regular sprite, that has to have a Destination Out ?

    Does force own texture also have to be in this scenario ?

    Thanks

  • korbaach

    Yes! I just tried your capx, that is exactly what I wanted! Thank you, thank you!!

    And thank you all for your replies, I really appreciate it!

  • RamPackWobble

    Hm, that's an interesting idea, I was thinking something like that, line by line, just didn't know how to correctly include that fade. Although, 1 sprite would fit me more, but that is still a valid option.

    Anonnymitet

    When you say gradient, you mean to have another same image as the background, just have a "cut", a square hole in the middle ? And then put that on top of the layer ? Yes, I will try that, that might work.

  • Hi,

    I have a scrolling text, that has a bullet behavior. It slowly moves from the bottom, and up. What I am trying to achieve is to have that text show, but ONLY when it is within the yellow box (in capx).

    Basically, the text goes up, and I would like it to not being shown until it reaches the box. Once it goes "above" the box, it is again, not visible (the background is visible at all times). But it keeps scrolling like that - starts showing when reaches the bottom of the box, and stops showing when it reaches the top part.

    And also, the yellow box in the end result, I would like that it is NOT SHOWN at all. It would serve only as a "limiter" of sorts.

    I hope I explained it understandably.

    Here is a capx, that I have so far, if anyone has any idea how I can make it work, would be great.

    wikisend.com/download/356552/ending credits.capx

    Thank you so much!

  • Thank you both very much for replying, it helped!

  • Hi,

    I have tried many combinations with Z order and blending options, but I just can't seem to figure this one out. Please help!

    I have 3 sprites, all on the same layer. I am trying to achieve this :

    postimg.org/image/opyqrek5v/

    But after many different blend combos, and playing with Z order, I just can't get that. I get something like this :

    postimg.org/image/409r4k8ft/

    or something similar, but never what I want.

    If anyone would be willing to jump in and help me with this, that would be great!

    Maybe I am on the wrong track, and this cannot be done with Z order and different blendings for sprites, maybe I need more layers.. I don't know.

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    just stopping by to say thank you! Your solution fixed what I was trying to achieve!

scorpwiz's avatar

scorpwiz

Member since 28 May, 2015

None one is following scorpwiz yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies