SlideShare a Scribd company logo
1 of 2
Download to read offline
GameSalad Bugs - “Achilles”

!

!

The bug I had was to do with respawning my main actor
again once he had died. So I made a game attribute
called “Respawn” which is a integer. I then implemented
that in my kill rule
for the actor
“Achilles”.

!

I then created another actor called
“Control”which controls the respawning
action. Which basically says when this
respawn is set at 1we want GameSalad to
create a new actor at the position “49, 139”.

!
!

The problem I then had
was when the enemy
kills the Achilles; he
didn’t respawn and the
enemy kept on moving
as I hadn’t put any
rules in place to
respawn him too.

!

Which was a real pain
was that Achilles would
then spawn an
unlimited amount of times but slightly bigger than he
originally was; also the new “Achilles” was able to kill the
enemy which shouldn’t happen.

!

The outcome to this
problem was actually
very simple. I made a rule in the “Achilles”
actor calling it “Reset Scene” and made an
attribute which states that when the actor
collides with the enemy the reset scene
behaviour then comes into place and starts the
whole game again.
!
!
!
!
!

More Related Content

More from James Buckmaster (20)

Wallpapers pdf
Wallpapers pdf Wallpapers pdf
Wallpapers pdf
 
Graphic design banner presentation pdf
Graphic design banner presentation pdfGraphic design banner presentation pdf
Graphic design banner presentation pdf
 
Presentation icon pdf
Presentation icon pdfPresentation icon pdf
Presentation icon pdf
 
Fitness for purpose final pdf
Fitness for purpose final pdfFitness for purpose final pdf
Fitness for purpose final pdf
 
Photographer comparison pdf
Photographer comparison pdfPhotographer comparison pdf
Photographer comparison pdf
 
Fitness for purpose pdf
Fitness for purpose pdfFitness for purpose pdf
Fitness for purpose pdf
 
Final image 1 pdf
Final image 1 pdfFinal image 1 pdf
Final image 1 pdf
 
Legal and ethical pdf
Legal and ethical pdfLegal and ethical pdf
Legal and ethical pdf
 
Total film flat plan pdf
Total film flat plan pdfTotal film flat plan pdf
Total film flat plan pdf
 
Photography contact
Photography contactPhotography contact
Photography contact
 
Annotated sheet 3 pdf
Annotated sheet 3 pdfAnnotated sheet 3 pdf
Annotated sheet 3 pdf
 
Annotated sheet 2 pdf
Annotated sheet 2 pdfAnnotated sheet 2 pdf
Annotated sheet 2 pdf
 
Annotated sheet 1 pdf
Annotated sheet 1 pdfAnnotated sheet 1 pdf
Annotated sheet 1 pdf
 
Equipment pdf
Equipment pdf Equipment pdf
Equipment pdf
 
Lighting pdf
Lighting pdfLighting pdf
Lighting pdf
 
Focus pdf
Focus pdfFocus pdf
Focus pdf
 
Composition pdf
Composition pdf Composition pdf
Composition pdf
 
Planning doc 1 pdf
Planning doc 1 pdfPlanning doc 1 pdf
Planning doc 1 pdf
 
Image analysis 2
Image analysis 2Image analysis 2
Image analysis 2
 
Image analysis 1
Image analysis 1Image analysis 1
Image analysis 1
 

GameSalad Bugs - Respawn Achilles Actor Fix

  • 1. GameSalad Bugs - “Achilles” ! ! The bug I had was to do with respawning my main actor again once he had died. So I made a game attribute called “Respawn” which is a integer. I then implemented that in my kill rule for the actor “Achilles”. ! I then created another actor called “Control”which controls the respawning action. Which basically says when this respawn is set at 1we want GameSalad to create a new actor at the position “49, 139”. ! ! The problem I then had was when the enemy kills the Achilles; he didn’t respawn and the enemy kept on moving as I hadn’t put any rules in place to respawn him too. ! Which was a real pain was that Achilles would then spawn an unlimited amount of times but slightly bigger than he originally was; also the new “Achilles” was able to kill the enemy which shouldn’t happen. ! The outcome to this problem was actually very simple. I made a rule in the “Achilles” actor calling it “Reset Scene” and made an attribute which states that when the actor collides with the enemy the reset scene behaviour then comes into place and starts the whole game again.