SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion > Bug Reports

Reply
 
Thread Tools Search this Thread
Old 08-25-2017   #1
RedEnchilada
happy, pretty, lovely!
Developer
 
RedEnchilada's Avatar
Default Scripting a game end during title demos breaks menus

Method:
  • Add a script such as the following:
    Code:
    addHook("ThinkFrame", do
        if leveltime > 3*TICRATE then
            G_ExitLevel(1100, true)
        end
    end)
  • Wait on the title screen until a demo plays and is abruptly finished
Expected behavior:
The game should continue to operate as normal

Actual behavior:
Upon opening the title menu, no keys have any effect. The console key can be used to open the console, which is immediately closed.

Skipping or not skipping the intermission screen doesn't change the behavior. If the G_ExitLevel call sends the player to another map instead, they'll go to that map with zero lives (in a game over state) and the player will have full interactive control.

This was discovered while testing one of MPC's submissions
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
av src

Last edited by RedEnchilada; 08-25-2017 at 02:43 AM.
RedEnchilada is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.