devilsgarage's Recent Forum Activity

  • Here are the steps that cause this bug

    1. Opened Chrome
    2. loaded editor.construct.net
    3. logged in to my construct subscription account
    4. Clicked on the 'Cloud' folder link on the top right
    5. Got the 'Open Project' prompt
    6. Clicked on the logout icon (marked with a red box) by mistake instead of the drop down
    7. The 'Open Project'prompt closed
    8. Clicked on the 'Cloud' folder link on the top right

    Result

    Got the 'Open Project' prompt - but it contains a gray box with no header access buttons

    Expected

    Open Project prompt opened, with toolbar for me to sign into desired cloud service and Google Signin prompt appears

    Steps to help resolve this but didn't produce any changes on Chrome

    • Cleared cookies
    • Cleared all browser data
    • Cleared all options on Chrome
    • Made sure to check 'Save & backup' an choose Default save location as 'Cloud'
    • Under Advanced - Disabled Cache cloud metadata under (not sure if that affects this process)
    • Disabled UBlock Origin to see if made any difference.
    • Google Chrome Version 84.0.4147.135 (Official Build) (64-bit)

    I followed the same steps on Firefox and got the 'Open Project' prompt - and it contains the gray box with header access buttons and a status message.

  • click on the 'Edit' link on your first post, and edit your Topic

  • FromChris! Thank you so much for figuring this out! Oh man - I had no clue I could add another condition to the Else statement. Facepalm

    Appreciate all your help, Cheers!

  • Thanks for the speedy reply FromChris!Your logic made a lot of sense. I have updated the Events Sheet and still get the same error. The error appears when the player's health drops to 0 or if the player exits the Screen Layout.

    https://www.dropbox.com/s/r79t4mtfajvn0cu/GameJam_Forum.c3p?dl=0

  • Just so I'm getting this correct.

    1. There exists multiple sprites on different layers
    2. You'd like to select all of them. copy and paste them in to a specific layer of your choice

    If 'Yes'

    1. Select all the sprites that you have duplicated
    2. Go to the Properties window
    3. Under Common / Layer - change that drop down to the layer you'd like to move selected sprites
    4. Demo
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, Im relatively new to programming in general and making some n00b mistakes here. So any help would be much appreciated.

      1. Player is generated within the screen layout.
      2. Every tick, the player loses some health.
      3. After x ticks, players health reaches 0.
      4. Once players health is 0 or less than 0,
      5. #5 kicks in
      6. System sets for the Global Boolean PlayerIsAlive = False.
      7. then it jumps to #7 where if the Global Boolean PlayerIsAlive = False - run the following commands
      8. Set Player to death animation
      9. on the HUD - display player state
      10. Stop all Audio
      11. Start Sound "efxDeath" - player only once
      12. Deactivate two groups in the PlayerControllEvents so the user cannot control player.'PlayerControllEvents' Events sheet - contains all the animation tied to the player and player control
      13. System waits for 2 seconds, so it has enough time to play the Sound 'efxDeath'
      14. System then restarts layout

    Results: Sound 'efxDeath' plays multiple times for 2 seconds. From the debug preview - it looks like the game checks steps 5 and 7 multiple times - causing the audio sound to multi-loop

    Expected: Sound 'efxDeath' should play only once.

    Subscribe to Construct videos now
  • Huyax! Thank for offering your services - Curious to know if you have a link to any of your existing C3 games or prototype (videos) you have uploaded somewhere

  • Woah, thanks for this really cool plugin! Ive bookmarked this for the future

  • Do you mean this animation from Reigns

    i.imgur.com/fXKH4tb.gif

    Refer: Video youtube.com/watch

  • Oh man! It finally works - THANK YOU SO MUCH!

    I have uploaded the the Construct3 file so that anyone else facing this issue can download the working file and send props to

    Download ZSorting.C3p

  • Thank you for the speedy reply . Correct me if I'm wrong, this is what I understand from your event's sheet

    1. So you have a bunch of objects and have added them to a family group called 'Zorder'
    2. Assuming you have added 'Skin' to the 'Zorder' group.
    3. Then you have assigned an instance variable to the 'Zorder' family.
    4. Assuming this instance variable is a number with an initial value '0'

    There are two parts to the Events Sheet

    A) Assigning a 'Zorder' to the Skin / Player's Y position

    B) Sort by Zorder Value

    A)In the first set of condition ---

    • If the Skin is present on-screen and
    • If the Skin is on the layer called 'Character'
    • Then Set ZorderFamily to the Skin's Self.y

    B)In the second set of conditions --

    • If the Zorder (Family of Objects) is present on-screen
    • If the Zorder (Family of Objects) is on the layer called 'Character'
    • Then tell the system to sort Zorder (Family of Objects) by Sort Z order by Zorder (Family of Objects) Instance Variable 'ZorderFamily(number) (i.e the instance variable is assumed to be a number)

    Does this sound correct?

    Here is the Zordersort.cpx file with the updated code but it's failing to sort correctly

  • I’ve hit a wall with Z Order Sorting in Construct3.

    My questions is how do I handle Z Order Sorting for multiple objects in a layout. I am not a programmer so this concept is very new to me. So Ive broken down my approach to Z Order Sorting and documented it below with Gifs, Screenshots of Events and Ive also included the .C3P

    The layout has the following objects

    • Player
    • Doorway
    • Box (1 to many)

    From my finding - it is easy if the Layout has a player and one object to Z Order Sort

    https://78.media.tumblr.com/00fc9cb17bd4b806a60db224a4ae54c8/tumblr_pcb7eydu421vav283o1_540.gif

    And the Events look very basic as shown below

    https://78.media.tumblr.com/a156e19cb3b93b1579d2d7519c6dfbd4/tumblr_inline_pcb75uctOT1tx8y63_540.png

    Now when the layout has two objects tThe Z Sorting stops working as intended.

    https://78.media.tumblr.com/babe3b03325c26013a29a465ed4fc1ee/tumblr_inline_pcb7aoOJGN1tx8y63_540.gif

    and the Events look like this

    https://78.media.tumblr.com/f1877636e2f4a95c09e531cc19f5f2fe/tumblr_inline_pcb7a3HmEs1tx8y63_540.png

    And for a layout that has multiple objects that need to be Z Order sorted - the sorting is also not working.

    https://78.media.tumblr.com/4e327a2e010334e88a4fb462a840c4c2/tumblr_inline_pcb7dij9Jz1tx8y63_540.gif

    Download the .C3P https://www.dropbox.com/s/d0wlby8a61jiwn2/ZOderSorting.c3p?dl=0

devilsgarage's avatar

devilsgarage

Member since 16 Nov, 2011

Twitter
devilsgarage has 4 followers

Connect with devilsgarage

Trophy Case

  • 13-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

19/44
How to earn trophies

Blogs