Alien
Verified against the spelunky.ai port v0.1.10 on .
For the mothership's boss, see Alien Boss.
The Alien is a small monster of the Ice Caves in Spelunky Classic that parachutes out of a destroyed UFO and paces its ledge, hurting only on contact.
No level generation makes Aliens: each comes out of a UFO in the Ice Caves that a thrown item or a thrown monster destroys, 1 time in 3. It shoots up out of the wreck, opens a parachute and drifts down, then walks back and forth on the ledge where it lands. An Alien doesn't chase or attack the player; touching it costs him 1 heart, and with 1 hit point, it dies to any hit.
Behaviour
#When a thrown item or a stunned monster thrown at a UFO destroys it, the UFO has a 1 in 3 chance of ejecting an Alien [5] [6]. The Alien shoots straight up at 6 pixels per step, slowing by 0.5 each step and trailing flames, until it stops or meets a ceiling [7] [8]. Then it opens its parachute and drifts down at 2 pixels per step (60 per second) and 1 pixel per step to one side, which it picks at random, until a wall stops it going sideways [9] [10]. When it reaches the ground, or a web, it becomes an Alien on its feet [11] [12]; one that drifts out of the level is gone [13]. The clip shows an Alien parachuting from a UFO the player has destroyed, landing and walking off.
On the ground, an Alien sets off walking in a random direction at 1 pixel per step (30 per second), and turns around at walls and at the edges of its ledge, so it never walks off one [14] [15]. On a ledge with a wall or a drop on both sides of it, it stands still, facing away from the wall [16]. It stops to stand for 20–50 steps (0.67–1.67 seconds) with a 1 in 100 chance each step, then sets off again in a random direction [17] [18].
An Alien only acts while it's on screen or just off it, its parachute a little further below the screen [19] [20].
Damage
#When the player touches an Alien without landing on it, he loses 1 heart, is knocked away from it, and blinks, invincible, for 30 steps (1 second), as with most monsters [21]. An Alien still under its parachute does the same [22].
Defeating
#An Alien on its feet has 1 hit point, so any of these kills it, leaving no body [23]:
| Way | Damage | |
|---|---|---|
| Whip | 1 hit point | [24] |
| Machete | 2 hit points | [24] |
| Stomp (landing on it) | 1, plus 1 for every 16 steps of falling; three times that with Spike Shoes | [25] |
| A thrown item moving faster than 2 pixels per step, such as a Rock | 1 | [26] |
| A stunned monster thrown into it | 1 | [27] |
| A Shotgun or Pistol bullet | 4 hit points | [28] |
| A Bomb's explosion | 30 hit points | [29] |
| A Spear Trap's spears | 2 | [30] |
| Falling onto Spikes | Kills it | [31] |
| Standing in Lava | Kills it | [32] |
| Ending up inside solid ground | Kills it | [33] |
The clip shows the player landing on an Alien and killing it. Under its parachute, an Alien isn't one of the monsters weapons, items and explosions hit: only landing on it kills it, and that counts as killing an Alien [34]. Aliens killed count toward the player's kills, and the screen between levels draws an Alien icon for each [35] [36]. One that Spikes, Lava or a Spear Trap killed doesn't count [37] [38] [39].
Locations
#Aliens appear only out of UFOs, and level generation makes UFOs only in the Ice Caves [5] [40]. A UFO destroyed any way but by a thrown item or monster ejects none [41].
In custom levels, it's the level editor's tile a
[42].
Tips
#- An Alien never steps off its ledge, so one on a platform stays on it.
- Under its parachute an Alien can only be stomped, so it's safer to wait until it lands than to whip at it.
- A UFO brought down by the Whip, a stomp, a bullet or a Bomb never releases an Alien.
Trivia
#-
The parachuting Alien has a state for deploying its parachute that's never used: it goes from shooting up straight to drifting down [43] [44].
-
Its touch event starts with a comment copied from the code most monsters share, though it isn't one of them:
// jumped on - oCaveman, oManTrap replaces this script with its ownobjects/oAlienEject/collision_oPlayer1.gml:1, fromspelunky.gmk, Spelunky Classic 1.1's source, © 2008, 2009 Derek Yu and Mossmouth, LLC (Spelunky User License v1.1b).
FAQ
#- How much damage does an Alien do in Spelunky Classic?
1 heart per touch. An Alien never attacks: touching it, walking or still under its parachute, costs the player 1 heart, knocks him back and makes him invincible for 30 steps (1 second).
- How do you kill an Alien in Spelunky Classic?
Hit it once: it has 1 hit point, so a Whip hit, a stomp, a thrown Rock, a bullet or a Bomb kills it. While it's still drifting down under its parachute, only landing on it does.
- Where do Aliens come from in Spelunky Classic?
From UFOs. A UFO destroyed by a thrown item or a thrown monster has a 1 in 3 chance of ejecting an Alien, which parachutes down and walks off where it lands. Level generation makes none.
- Does the Alien chase the player in Spelunky Classic?
No. Its movement never looks at where the player is: it walks back and forth along its ledge, turning at walls and edges, and stops at random.
See also
#References
#objects/oAlien/create.gml:10objects/oEnemy/collision_oCharacter.gml:25objects/oAlien/step.gml:66objects/oAlien/step.gml:39-75objects/oItem/step.gml:331-340objects/oEnemy/step.gml:243-251objects/oAlienEject/create.gml:6objects/oAlienEject/step.gml:7-18objects/oAlienEject/create.gml:21objects/oAlienEject/step.gml:19-38objects/oAlienEject/step.gml:23-27objects/oAlienEject/collision_oWeb.gml:1-2objects/oAlienEject/other_outside.gml:1objects/oAlien/step.gml:30-58objects/oAlien/step.gml:66-67objects/oAlien/step.gml:59-65objects/oAlien/step.gml:69-74objects/oAlien/step.gml:30-38objects/oAlien/step.gml:3-5objects/oAlienEject/step.gml:1-3objects/oEnemy/collision_oCharacter.gml:14-27objects/oAlienEject/collision_oPlayer1.gml:19-32objects/oAlien/step.gml:13-23objects/oEnemy/collision_oWhip.gml:1objects/oEnemy/collision_oCharacter.gml:6-13objects/oItem/step.gml:341-348objects/oEnemy/step.gml:252-259objects/oBullet/collision_oEnemy.gml:16objects/oExplosion/collision_oEnemy.gml:12-19objects/oEnemy/step.gml:98-104objects/oEnemy/step.gml:108-124objects/oEnemy/step.gml:65-74objects/oAlien/step.gml:8-11objects/oAlienEject/collision_oPlayer1.gml:1-18objects/oAlien/step.gml:16-21objects/oTransition/alarm_0.gml:209-213objects/oEnemy/step.gml:68objects/oEnemy/step.gml:101objects/oEnemy/step.gml:120scripts/scrEntityGen.gml:338-360objects/oUFO/step.gml:6-16scripts/scrCreateTileObj.gml:205-208objects/oAlienEject/create.gml:15-19objects/oAlienEject/step.gml:11-16objects/oEnemy/step.gml:63-74
Source code
objects/oAlien/create.gmlobjects/oAlien/step.gmlobjects/oAlienEject/create.gmlobjects/oAlienEject/step.gmlobjects/oAlienEject/collision_oPlayer1.gmlobjects/oAlienEject/collision_oWeb.gmlobjects/oAlienEject/other_outside.gmlobjects/oEnemy/create.gmlobjects/oEnemy/step.gmlobjects/oEnemy/collision_oCharacter.gmlobjects/oEnemy/collision_oWhip.gmlobjects/oItem/step.gml