Bug Issue: On Update: Move Camera Center to Self breaks mouse input events on other actors


Pages: 1

SirCrocketz

  • Subscriber - Stencyl Studio
  • *
April 10, 2018, 05:18:13 am
Not sure if this is the correct category. I updated from build 978X to 9851. Everything works fine except for the title. I have an actor that the camera follows every update. I have other actors in the same scene that react to user input (when the mouse is pressed on self, grow self..etc.). Ever since the update, the user input events simply don't respond. 

If I disable the camera follows actor block, the user input events work fine in the other actors. I'll see if I can upload a sample.

Update: I've uploaded a .swf along with a stencyl project file with my problem. I've noticed that the input events only respond when the camera is at 0,0.
« Last Edit: April 10, 2018, 05:48:11 am by SirCrocketz »


New attachment added by SirCrocketz - April 10, 2018, 05:45:10 am


New attachment added by SirCrocketz - April 10, 2018, 05:46:46 am


Luyren

  • Master Stencyler
  • *
April 10, 2018, 11:27:04 am
I think the mouse coordinates are only based on screen position. Try adding the camera X/T to the mouse's X/Y position.
« Last Edit: April 10, 2018, 11:27:20 am by Luyren »


Justin

  • Master Stencyler
  • *
April 10, 2018, 03:41:10 pm
It was actually the built-in mouse over actor blocks/events that were broken due to a recent change, not a logic error.

Fixed in b9853.
  • Status changed from New to Resolved
  • Issue Assigned from (none) to Justin


SirCrocketz

  • Subscriber - Stencyl Studio
  • *
April 10, 2018, 05:23:47 pm
Awesome! Thanks guys!


Pages: 1

Details

  • Reported
    April 10, 2018, 05:18:13 am
  • Updated
    April 10, 2018, 05:23:47 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.5
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Design Mode Blocks

Tags


Attachments


* CameraUpdate Issue.swf (735.14 kB, 640x480 - viewed 82 times.)
* CameraUpdate Issue.stencyl (763.43 kB - downloaded 15 times.)