Why did Pixel make the Deathtraps do 127 damage?

Old topic!
The last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.
Nov 27, 2014 at 4:40 AM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3712
Age: 28
Bionicobot said:
Either that or he had forgotten that the spike was not a gun... :mahin:
What does that even mean? If he had forgotten that the spike was not a gun, it would have rolled over/done positive damage at a value of 128, just like all the other guns/bullets.
Nov 27, 2014 at 4:44 AM
beep boop
Bobomb says: "I need a hug!"
Join Date: Aug 16, 2014
Location: Earth
Posts: 859
Age: 19
What I meant to say is that he just didn't change the damage after he changed the code, or made the damage number, but never coded in the ability to add health because he had scrapped the idea.
Nov 27, 2014 at 4:58 AM
Discord Group Moderator
"What're YOU lookin' at?"
Join Date: Jan 18, 2013
Location: Somewhere quiet with many birds
Posts: 1119
Age: 21
...I think "It's simply an homage" is the most logical theory yet, really.
Dec 7, 2014 at 6:39 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Jun 8, 2012
Location: CHRISTMAS stuff in August. WTF.
Posts: 145
Age: 24
Polaris said:
Of course 127 would be my first choice for no reason! 4, 8, 16, 32, and so on are all holy numbers, along with relatives, retainers and heroes like 0, 1, 2 and 127. 127 is the sister of 128, a noble who fathered the mighty 256.
My dementia aside, yes, Cave Story was created in C++.
Lol, I don't mind that at all. Anyways, great theory!
Dec 7, 2014 at 11:22 PM
Junior Member
"It's dangerous to go alone!"
Join Date: Dec 5, 2014
Location: IN HELL
Posts: 35
Age: 18
Actually it dosn't delete it and you can cheat to have max health which the cap is 255 the best you can get there.Might have been during beta testing god power privilege's but they still only had 255 so the maximum damage anything can do is death spikes,3 hits to kill if 255 health it could have helped.two hits=254 health helpful during beta testing think bout' it
Dec 8, 2014 at 1:30 AM
Forum Administrator
"Life begins and ends with Nu."
Join Date: Jul 15, 2007
Location: Australia
Posts: 6175
Age: 34
I suspect that the player damage logic matched the enemy damage logic when the spike damage value was originally set. Or Pixel simply forgot that the logic of the two were different, as Bionicobot suggested. But I very much believe that the number being the max signed 1-byte integer is significant.