a patched version of SRB2 for reasonable usage with the low-poly model pack
Go to file
toaster 3eb9b85fd4 "PlayerCanDamage" hook!
* Takes function(player, mo) input.
* Return TRUE for stating that yes, the player is in a state that can cause contact damage, do with that what you will.
* Return FALSE for stating that no, the player is weak and vulnerable and cannot cause contact damage, do with that what you will.
* Return NIL for allowing the function to continue regular operation.

Fills a different ideological niche than ShouldDamage - that's for determining whether damage dished between two objects should happen, this is for determining which way around damage should be dished when considering a player-object interaction.

Or, in other words, think of it as "ShouldDamage is whether damage that has been requested should be granted, for object-object interaction, while PlayerCanDamage is for whether global player properties should cause damage to enemies and monitors in the first place, like spinning, hammering or stomping."
2019-06-19 12:55:05 +01:00
.circleci CircleCI: use libpng-dev 2019-03-27 18:51:20 -04:00
android SRB2 2.1 release 2014-03-15 13:11:35 -04:00
assets Don't download individual asset files; support only archives 2018-12-31 19:11:01 -05:00
bin WIP 20190101 merge 2019-01-02 01:09:15 -05:00
cmake/Modules Make this be consistent with non-CMake builds 2018-12-03 15:42:37 -05:00
debian-template Implement deployer scripts for Travis -- OSX and Linux package building 2018-12-30 15:22:50 -05:00
deployer Merge remote-tracking branch 'public-gl/master' into travis-deployer 2019-01-05 09:08:34 -05:00
doc SRB2 2.1.12 release 2014-11-11 19:55:07 -05:00
extras SRB2 2.1 release 2014-03-15 13:11:35 -04:00
libs Merge branch 'gme-msvc' into 'master' 2019-06-07 18:06:51 -04:00
objs Fix up 64-bit gme 2018-10-30 20:50:36 -04:00
src "PlayerCanDamage" hook! 2019-06-19 12:55:05 +01:00
tools Add example sql file 2018-11-15 17:31:42 -05:00
.gitattributes gitattributes: do not check whitespace for included libs 2016-05-18 10:38:29 -04:00
.gitignore Implement deployer scripts for Travis -- OSX and Linux package building 2018-12-30 15:22:50 -05:00
.travis.yml Merge branch 'master' into travis-deployer 2019-06-07 16:56:19 -04:00
Android.mk SRB2 2.1 release 2014-03-15 13:11:35 -04:00
CMakeLists.txt Merge branch 'next' into 2.1.24-prep 2019-06-07 23:18:31 +01:00
Doxyfile SRB2 2.1 release 2014-03-15 13:11:35 -04:00
LICENSE SRB2 2.1 release 2014-03-15 13:11:35 -04:00
README.md Merge branch 'tutorial-time' into tutorial-time-firstprompt 2018-11-11 09:21:10 -05:00
SRB2.cbp Backport the Blockmap library I made two years ago 2018-11-30 17:11:11 +00:00
SRB2_Debug.props More work to cleanup the ARM builds 2018-12-22 19:50:32 -05:00
SRB2_Release.props More work to cleanup the ARM builds 2018-12-22 19:50:32 -05:00
SRB2_common.props More work to cleanup the ARM builds 2018-12-22 19:50:32 -05:00
Srb2.dev change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00
appveyor.yml Update version to 2.1.24 2019-06-07 15:48:33 +01:00
comptime.bat comptime.bat: Put @echo off back in 2016-03-14 20:36:37 -05:00
comptime.mk SRB2 2.1 release 2014-03-15 13:11:35 -04:00
comptime.props MSVC: fixed up MSVC project 2016-05-21 23:53:04 -04:00
comptime.sh build: this script needs bash, not ash 2016-05-18 18:16:57 -04:00
cpdebug.mk Compile Win32 EXE with -gdwarf-2 2014-04-07 10:03:14 -04:00
debian_template.sh Implement deployer scripts for Travis -- OSX and Linux package building 2018-12-30 15:22:50 -05:00
srb2-vc9.sln SRB2 2.1 release 2014-03-15 13:11:35 -04:00
srb2-vc10.sln Added ARM/ARM64 to whole vc10 sln 2018-12-21 16:47:10 -05:00
srb2.png Fix debian desktop icon 2018-11-27 02:11:57 -05:00
srb2banner.png Fix debian desktop icon 2018-11-27 02:11:57 -05:00

README.md

Sonic Robo Blast 2

Build status Build status CircleCI

Sonic Robo Blast 2 is a 3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy.

Dependencies

  • NASM (x86 builds only)
  • SDL2 (Linux/OS X only)
  • SDL2-Mixer (Linux/OS X only)
  • libupnp (Linux/OS X only)
  • libgme (Linux/OS X only)

Compiling

See SRB2 Wiki/Source code compiling

Disclaimer

Sonic Team Junior is in no way affiliated with SEGA or Sonic Team. We do not claim ownership of any of SEGA's intellectual property used in SRB2.