Giter Site home page Giter Site logo

godot-credits's Introduction

Credits scroll scene

Credits scroll scene rich of options (for Godot Game Engine).

Usage

The credits file must be provided in a INI like format, example:

[Programmers]
Programmer's name
Another programmer's name

An example file is provided at example-CREDITS.

Load the scene, set the credits file and you are ready to go. All the options available al pretty much clear on what each do.

Features

  • Centered titles and double panel titles
  • Signal on scroll end
  • Customizable speed
  • Set an image as title
  • Customizable colors
  • Video as background (with optionable loop)
  • Customizable font
  • Customizable margins
  • Music playlist (with optionable loop)
  • Optionable controls for speed, stop and reverse at gamers reach
  • Optionable skip control
  • Optionable scene to load on scroll end
  • Optionable quit on scroll end

Screenshots

Scrolling text

[scrolling.mp4](screenshots/scrolling.mp4)

Options

LICENSE

LICENSE

godot-credits's People

Contributors

bytezz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

slyprid

godot-credits's Issues

Margin don't work in Godot 4.1

In order for the margin to work, you need to change this code:

	# Set the margin (the space between left and right panels)
	@warning_ignore("integer_division")
	$scrollingText/margin.add_theme_constant_override("offset_right", margin/2)
	@warning_ignore("integer_division")
	$scrollingText/margin2.add_theme_constant_override("offset_left", margin/2)

To this:

	# Set the margin (the space between left and right panels)
	@warning_ignore("integer_division")
	$scrollingText/margin.add_theme_constant_override("margin_right", margin/2)
	@warning_ignore("integer_division")
	$scrollingText/margin2.add_theme_constant_override("margin_left", margin/2)

How do I use this?

Do I have to pre-record a screencast of me scrolling through the credits? If so, what is the example credits file for?

After export, no actual credits show, only the logo.

I do have a custom font, but that shouldn't matter since it works everywhere else. I thought maybe the issue is because the .ini file doesn't export properly and then the script can't find it after export, but I'm not really smart enough to make assumptions here. Inside the engine the credits work flawlessly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.