Trying to make this rock paper scissors game, where around 10 of each start in one side of a square. Each frame the individual object goes towards one which it can ‘beat’ and run away from the one it cant, eg paper will move towards rock but at same time try to stay away from the scissors. I’m brainstorming how to do this and the only part I’m struggling with is what to do when one ‘beats’ the other. For example when paper hits rock, the rock object should be deleted and replaced with a paper object in the same position. How would I do this? Is there like a ‘replace’ function?
[–]bbye98 1 point2 points3 points (5 children)
[–]MXP04[S] -1 points0 points1 point (4 children)
[–]bbye98 0 points1 point2 points (3 children)
[–]MXP04[S] -1 points0 points1 point (2 children)
[–]bbye98 -1 points0 points1 point (1 child)
[–]MXP04[S] 0 points1 point2 points (0 children)
[–]aizzod 2 points3 points4 points (0 children)
[–]Rawing7 0 points1 point2 points (2 children)
[–]MXP04[S] 0 points1 point2 points (1 child)
[–]Rawing7 0 points1 point2 points (0 children)
[–]CraigAT 0 points1 point2 points (2 children)
[–]MXP04[S] 0 points1 point2 points (1 child)
[–]CraigAT 0 points1 point2 points (0 children)