- abad interaction scenes

This commit is contained in:
2022-11-02 18:58:07 +01:00
parent b738cec630
commit 5c75bf9ab5
6 changed files with 106 additions and 16 deletions

View File

@@ -17,6 +17,11 @@ function peu.update()
if peu.hab==abad.hab then
if aabb(abad,peu) then
abad.objects.peu=true
if elalien.scene_intro then
start_scene(scenes.peu_trobat)
else
start_scene(scenes.peu_trobat_nointro)
end
if abad.objects.gps~=nil then current_camera=4 end
remove_actor(peu)
end