Author Topic: Police Story - Catch a criminal.  (Read 454 times)

RobinTendo

  • Crewmate
  • *
  • Posts: 13
  • Creator of levels.
    • View Profile
Police Story - Catch a criminal.
« on: February 28, 2019, 06:43:12 AM »
In this level you catch a criminal who's hiding in Histreet 74. So, time to go catch some criminal. :viridian:

Also, you get to steal a donut.

Here are the screenshots:




Looks kinda cool, right. Anyway, I do not want to brag too much, you will see everything when you play the level
« Last Edit: February 28, 2019, 07:23:22 AM by RobinTendo »

Balneor

  • Professor
  • ****
  • Posts: 108
    • View Profile
Re: Police Story - Catch a criminal.
« Reply #1 on: February 28, 2019, 01:23:16 PM »
This is pretty nice :viridian:

(Picture 1) : All of the scripts in this level are repeating, but since the level itself is linear, you usually don't need to backtrack, hence avoiding triggering them again. But it is encounterable in this particular room. By its nature, if you wait long enough the moving platforms are eventually going to desynchronise (They don't move by the same units depending on if there are walls near the platform bounds), making progress a bit troublesome as time goes on. The player could leave and re-enter the room to reset their positions, triggering the script twice in the meantime. The very first cutscene have this problem, though to a lesser extend because it's very unlikely to die until the first checkpoint is activated.
You can generally fix this issue by using internal scripting (Mostly ifflags and iftrinkets), along with a load script. But it's okay if you don't know how to do that yet.

(Pic 2) : This script doesn't work in-game, most likely because of that incorrect "react" command. Dunno how it got there in the first place, since all the other scripts are using the correct ones. And forget about that flag command, I put it there for unrelated reasons.

« Last Edit: February 28, 2019, 03:15:43 PM by Balneor »