redfoc's Recent Forum Activity

  • I'm going to import zip file after watching video tutorial how to import Spriter files.

    But nothing shown nor imported, it's like zip file is not supported

    Is there any special configuration to do this?

  • Since my plugin is not work with worker

    I have plan to show an alert if Worker is active, just to notify user if my plugin wont work with Worker

    in JS it's look like this if(document is undefined){ is worker then show alert }

    How to achieve this ?

  • By default the runtime runs in a Web Worker so there is not direct access to the DOM.

    If it's a small and simple amount of JS code, it might be better just to use the JS coding feature (which switches to DOM mode by default).

    I need to create a plugin, even it's can be done in js for a few line

  • since worker mode can't access root variable regularly, is there any way to access external variable and functions ?

    Example: I want to insert "domain.com/api.js"

    Then access it's API function through Construct plugin

  • How to do alert(message) on plugin code ?

  • let body = document.getElementsByTagName('body')[0];
    body.style.backgroundImage = "url('"+image_url+"')";

    How to achieve that with plugin SDK ?

  • there is a new setting for use interactive elements on hidden layers or not.

    Thanks, I will find out about hidden layers setting

  • I been request this feature a few times (Don't click invisible sprites), but there is a reason why this can't be implemented.

    All Construct project that use hidden touch will be broken, I know is bad.

    I have an idea, what if there is a Touch plugin properties to "Ignore invisible object"? also is good to add Touch plugin option to only click/execute front object.

    And make these properties disable by default, so, older project will not be affected.

    I also using several js game framework, these framework ignoring clicking on invisible object, it's very clear and straight forward.

    Why this important for me:

    - Mostly I grouped / families all buttons, and make button clicking effect and play button sound with families. if hidden object is clickable, effect and sound still played.

    - If I have multiple hidden layer that have a bunch of buttons (and some reused buttons), It's will be a lot of work to create an identifier or condition.

    - "Is visible" object is return true on hidden layer

    I like to create a efficient, less code/event and less duplicated events

  • Even if the layer is hidden the button still has Visible condition set to yes.

    Changes to this would break many projects.

    Just add a "Is layer XXX visible"-condition to the button event and you are all fine.

    Who using invisible object on a invisible layer to click ?

  • Hi,

    I love Construct, I can make some type of games quickly.

    But there are some weird things that make it complicated that should be easy.

    One of them is an object on a invisible layer detected as visible object and clickable

    If I have many buttons on a some invisible layers like pause, gameover, completed and other game popups it will be a lot of work.

    Should be fixed with single event

    "Buttons on clicked && Buttons is visible" { do something }

    Edit: I mean sprite as button

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What browser are you using? I noticed the website lags a lot with Firefox. But I use Edge now and it runs a lot better.

    I use Chrome

  • If you put the flat sprites/billboards on their own layer on top, with the 3D boxes on a lower layer, does that help?

    It's works, thank you!

redfoc's avatar

redfoc

Member since 7 May, 2016

Twitter
redfoc has 4 followers

Connect with redfoc

Trophy Case

  • 8-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x3
    Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies