Mantis - Squeak 5.2
Viewing Issue Advanced Details
1639 Morphic minor always 08-10-05 20:29 08-24-05 13:14
gaelli  
 
normal  
new  
open  
none    
none  
0001639: [ENH] overlappingPlayer
from preamble:

"Change Set: overlappingPlayer
Date: 6 January 2004
Author: Markus Gaelli

I showed a good friend of mine (a teacher) how to program space invaders
completely with Etoys.
You can try out the result here:

http://www.squeakland.org/project.jsp?http://www.emergent.de/pub/smallta [^]
lk/squeak/projects/petersInvaders.003.pr

We used the common seesColor trick for the collision-detection, but we
found it difficult to determine which UFO was hit by our laser, so I
leveraged the existing Smalltalk Method called Morph >>
morphsInFrontOverlapping:

to a tile in miscellaneous called: overlappingPlayer in Etoys.
Did we overlook some other way to find out with Etoys which of the UFOS
have been hit by our shot?

If not, should be put it to miscellaneous? Is it a problem that we only
return one of
possible many overlapped players? Is there a better name than
overlappingPlayer?
Should I send the changeset? Done... :-)
"!
 overlappingPlayer.cs.gz [^] (1,264 bytes) 08-10-05 20:29

Notes
(0002229)
KenCausey   
08-10-05 20:30   
karl.ramberg@chello.se:

"[er][sm] looks good

Someone on the Squeakland list wanted this feature."
(0002230)
KenCausey   
08-10-05 20:32   
I loaded this into 3.8-6665-basic without errors but did not test further.