Actions

Difference between revisions of "Spikes (obstacle)"

From Sonic Retro

(mv cat to bottom; copy-edit/rewrite)
(add object info for S1 and S2)
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
'''Spikes''' are sharp, pointy white obstacles common in many [[Sonic]] games. They cause damage to the player when touched and cannot be destroyed.
+
'''Spikes''' are sharp, pointy white obstacles common in many [[Sonic]] games. The points cause damage to the player when touched. Spikes cannot be destroyed.
  
 
In [[Sonic 3]]'s [[Marble Garden Zone]], there is an enemy that looks like a set of spikes, but acts as a spring and rises slightly out of the ground to shoot projectiles when the player approaches it.
 
In [[Sonic 3]]'s [[Marble Garden Zone]], there is an enemy that looks like a set of spikes, but acts as a spring and rises slightly out of the ground to shoot projectiles when the player approaches it.
 +
 +
==Technical info==
 +
{|border="1" class="prettytable"
 +
!Game
 +
!Object ID #
 +
!Code offset
 +
!Mappings offset
 +
!Subparameters
 +
|-
 +
|[[SCHG:Sonic the Hedgehog|Sonic the Hedgehog]]
 +
|36
 +
|$CE28
 +
|$CFF4
 +
|
 +
*$00 - Three standard spikes
 +
*$01 - Three moving spikes
 +
*$10 - Three spikes facing left
 +
*$12 - Three moving spikes facing left
 +
*$20 - One spike
 +
*$30 - Three widely spaced spikes
 +
*$40 - Six widely spaced spikes
 +
*$50 - One spike facing left
 +
*$52 - One moving spike facing left
 +
|-
 +
|[[SCHG:Sonic 2|Sonic 2]]
 +
|36
 +
|$15900
 +
|$15B68
 +
|The first nybble can be set in the range $0-$3 and sets the spike style. The second nybble is a flag - if set, the spikes shift up and down, if clear, the spikes are static.
 +
|}
  
 
[[Category:Items]]
 
[[Category:Items]]

Revision as of 20:38, 28 December 2007

Sonicretro-round.svg This short article is in need of work. You can help Sonic Retro by adding to it.

Spikes are sharp, pointy white obstacles common in many Sonic games. The points cause damage to the player when touched. Spikes cannot be destroyed.

In Sonic 3's Marble Garden Zone, there is an enemy that looks like a set of spikes, but acts as a spring and rises slightly out of the ground to shoot projectiles when the player approaches it.

Technical info

Game Object ID # Code offset Mappings offset Subparameters
Sonic the Hedgehog 36 $CE28 $CFF4
  • $00 - Three standard spikes
  • $01 - Three moving spikes
  • $10 - Three spikes facing left
  • $12 - Three moving spikes facing left
  • $20 - One spike
  • $30 - Three widely spaced spikes
  • $40 - Six widely spaced spikes
  • $50 - One spike facing left
  • $52 - One moving spike facing left
Sonic 2 36 $15900 $15B68 The first nybble can be set in the range $0-$3 and sets the spike style. The second nybble is a flag - if set, the spikes shift up and down, if clear, the spikes are static.