jobel's Forum Posts

  • Laura_D

    do you ever stream later in the day? I always miss your stream, it's too early in my day.

  • I know its been posted about before but I can't find the answer on here.

    I have a Browser Object and the Action Close when the user hits a button. But it won't close when I make an HTML5 build and upload to a server. I read that you needed a secure server and I indeed have https:// before my URL but it does not work to close the TAB.

    What am I doing wrong?

  • AllanR

    the nice thing about layerTocanvas / canvasTolayer is that it will work from any layer to another, regardless of parallax or rotation.

    yeah it sounds like Canvas functions just do the math for you.. nice to know about!

  • is that Button_Point on the 0x0 parallax layer? it needs to be otherwise it won't work.

    I updated the c3p to use a 3000x3000 layout and it works for me.

    drive.google.com/open

    I create a UIbutton on the HUD layer (para 0,0) and then I spawn something on the game layer (para 100,100). I then move the camera to a different area of the layout and it still works fine.

    However, I didn't know about CanvasToLayer (and vice versa), that seems like it will work as well.

  • here is my test

    drive.google.com/open

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yeah I think you have to give viewport the layer. You are just trying to get the edge of the screen x/y then add the x/y of the UIbutton.

    if you make a Textbox and Everytick set text to UIbutton.x/y - also display scrolx/y you will figure out the calculation. or likewise run the debugger and just look at the x/y coords

  • oh your UI button is on the 0x0 parallax? I think I understand.

    Maybe try using scrollx and scrolly?

    Create UIbutton on Layer "HUD" (0x0 parallax)

    Create SWAT on Layer "Human" at

    x: (scrollx - (viewportwidth / 2)) + UIbutton.x

    y: (scrolly - (viewportheight / 2)) + UIbutton.y

    There's probably an easier way, but I think this should work.

  • afaik if they are disabled they aren't using any processing power.

  • what x/y are you using?

    if you are clicking (using the mouse) --> Create object at mouse.x mouse.y on layer "Objects"

  • NetOne

    oh I think I figured it out! the mouse has to be to the right of the Object/Event separator then it will go there easy.

    seriously.. I've been using Construct since 2013 and I NEVER knew that. I always thought it was like a "smart" mouse cursor. And you had to just get it in the exact spot.

    although, it should probably be a little more clear somehow - I don't know how

  • just talking about the best way to do it. dragging is just not easy to do. I always manage to do it.. it just feels REALLY picky about where my mouse is...

  • Often times I need to cut and paste events and it often paste them not as subevents so I have to drag them under other events.

    The current way shows does an "auto" indented arrow depending on where the mouse is (I think??), but its REALLY hard to get it to work. I have to really hunt for it to get the correct indent and keep holding the mouse the whole time.. it's really clunky.. there must be a better way..

    what am I doing wrong?

  • you don't know what is better than what?

    but yes you can make a Shakes and Fidget game in Construct if that is what you are asking.

    The combat system is the only part I'm not sure how secure it will be - it could be fine - I just don't know enough about mp gamedev in construct.

    but also note, this is NOT a simple game design, it's incredibly complex - even though it looks simple.

  • IceTorch

    just use Joannesalfa and oppenheimer's VHS damage plugin.. works great..

  • are you trying to create or modify an image dynamically?