sohomsahaun / SnowState

Finite State Machine for GameMaker
MIT License
146 stars 9 forks source link

Object: oPlayerT Event: User Event 15 at line 53 : "move_and_collide" is read-only function in latest GameMaker monthly version #42

Closed allende closed 2 months ago

allende commented 8 months ago

I'm getting this message when opening in latest GameMaker monthly version (2023.11.1.129 runtime 2023.11.1.160) and trying to run it.

Object: oPlayerT Event: User Event 15 at line 53 : "move_and_collide" is read-only function Object: oPlayerD Event: User Event 15 at line 47 : "move_and_collide" is read-only function Object: oPlayerT Event: User Event 15 at line 53 : malformed assignment statement Object: oPlayerD Event: User Event 15 at line 47 : malformed assignment statement

GM Version image

Temporary fix (at least I was able to run it) search and replace all serach:move_and_collide replace:_move_and_collide

image

Wondering if its a case where GM actually implemented the function move_and_collide in a later version

offalynne commented 8 months ago

Wondering if its a case where GM actually implemented the function move_and_collide in a later version

yep