Local obj = myLevel:createLayerObject(“animals”, objProps). Local obj = myLevel:createObject(“animals”, objProps).view (I have 3 files in my lib direcory: a, LD_a, LD_a) I don’t know maybe I have not enough properties in followPathProps or I miss some library. local objProps = local obj = myLevel:createObject("animals", objProps).view obj.speed = math.random(1,4) obj:setSequence( "monsterFly") obj:play() local path = myLevel:getLayerObject("animals","path\_18").view obj:followPath( path, objProps.followPathProps)īut i still have nil value when I call followPath. Heres a video showing how to animate your 3D models in Gamemaker Studio 37 3 comments Best Add a Comment VampSquirrel 6 yr. My game will have a lot of this dynamic object so I want to remove those I don’t need anymore. Then I want to create new one with different objProps. When I click to my object I want to pause the animation and remove whole object. Can you tell me how can I remove my dynamic object? This function returns a random floating-point (decimal) number between the specified lower limit (inclusive) and the specified upper limit (inclusive).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |