On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

After a few tries I figured out that if you just go in a corner after you catch the red cube, the green cube will never hit you, so the game becomes a routine and you just move from a corner to the middle beacuse you know what cube will spawn next. The game needs a little randomness.

TRUEEE IT IS RANDOM but what u say is right...

I maked the spawning random but the green one will never hit u if are in a corner. IDK WHY