Game Credits screen

Is there sample code of a game credits screen in which a list of the people involved in the game creation scroll up and off the screen like movie credits?

I know this can be done with transition.to and clever use of a table of strings. But I want the scrolling to be clipped to a specific area of the screen, e.g. a small window in the middle of the screen. I tried this by adding the text.objects that hold the strings to a display group, but if the scrolling isn’t manually clipped, the text keeps scrolling up and out of the screen group over other parts of the game screen. I want the text to be clipped to the top/bottom of the credits window so that even the height of the text is partially clipped if it goes over the top/bottom edge of the scroll window. [import]uid: 295 topic_id: 4139 reply_id: 304139[/import]

Ingredients:

  • Black screen.
  • One text object.
  • Array table of credits.

Instructions:
Scroll object until desired point at the top. Update the text with the next line and move it below the viewable area and re-scroll. Rinse and repeat.

Let it run itself to the end of the table until all credited persons are served.
When it completes, the next line should do housekeeping. [import]uid: 11024 topic_id: 4139 reply_id: 12821[/import]

Apparently I didn’t read your post well enough.
Isn’t the rest of the objects on your screen in a higher layer that can be overlapped on everything else like a frame? [import]uid: 11024 topic_id: 4139 reply_id: 12822[/import]

Tokyodan, did you get any helpful posts or feedback about scrolling credits? I am about to tackle this very issue for my game - is why I ask. [import]uid: 74844 topic_id: 4139 reply_id: 55185[/import]

you could also easy just make a full screen scroll and place a full width square on the top and one at the bottom that does overlap your scrolling :slight_smile: so it appears the scrolling just happens in the middle of the screen. just as idea :@ [import]uid: 4795 topic_id: 4139 reply_id: 55196[/import]