| 1234567891011121314151617181920212223242526272829303132333435 |
- EntityContainer = {}
- EntityContainer[ "Director" ] = {
- on_start = function( self )
- background2d:autoscroll_to_entity( entity_manager:get_entity( "Cloud" ) )
- script:request( Script.ENTITY, "Director", "main", 6 )
- return 0
- end,
-
- main = function( self )
- return 0
- end,
- }
- EntityContainer[ "Cloud" ] = {
- on_start = function( self )
- set_entity_to_character( "Cloud", "Cloud" )
- self.cloud = entity_manager:get_entity( "Cloud" )
- entity_manager:set_player_entity( "Cloud" )
- self.cloud:set_solid_radius( 0.3 )
- self.cloud:set_solid( true )
- return 0
- end,
- on_collide = function( self )
- return 0
- end,
- }
|