Possible bug: On object clicked + scrolling

This forum is currently in read-only mode.
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Edit:

    Sorry, I was in hurry and didn't notice the "Where to submit bug reports" sticky thread.

    and, Ashley, I erroneously put my mail address in the details of the bug tracker (bug number 2172847), could you please wipe it out so I won't receive tons of spam, thanks.

    Hello, my first post here!

    I think I spotted a possible bug.

    In Layout

    -Add a sprite (a filled square will suffice)

    -Add a Mouse-Keyboard object

    In Event sheet

    -Add a Mouse event of type "On object clicked", set the sprite as a target for the event

    -Add an action for this event, say "Set angle to 45" for the sprite

    Now run the layout and everything should go fine (click the sprite, the sprite turns 45�)

    Ok, now:

    -Add a system event "Always"

    -Add to this event an action "System - scroll to object", with the sprite as a scrolling target

    Now run the layout, click the sprite and... nothing happens! It seems like the clicks aren't recognized anymore.

    I don't know if this is a bug, I'm new here and maybe I'm missing something.

    Beside that: wonderful application! Wonderful, wonderful wonderful!

    Leo

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Huzzah! You found the bug I was trying to find in one of my games.

    This is an issue with the collision mask - or something like it - because if you do the steps you mentioned then click in the middle of the layout when it's running (where the sprite would be if it could scroll to it), the sprite rotates.

    It's like the collision mask has 'unbounded scrolling' on, even though the layout doesn't.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)