Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfixes #5

Merged
merged 4 commits into from Mar 5, 2018
Merged

Hotfixes #5

merged 4 commits into from Mar 5, 2018

Conversation

henriiquecampos
Copy link
Owner

#1 seems to be fixed with this:

		if note == null:
			return
		var pitch = key
		var duration = note.duration
		note.finished()
		note = null

Also added the same "nullifier" to the var object. Hopefully this will do the job

Also fixed a weird behavior when playing a note and then moving, now the character only moves if is not playing and vice versa. This also adds another layer of control for basic_character.gd since now if the character can't move, nothing of the physics_process will happen
When changing to next scene the finished/skip/next button is disabled. Also added a disabled style box to the theme, so when the button is disabled it doesn't seem weird looking.
The major problem of #1 is that after the first time the references are set, they won't reset to null, so the check would only happens successfully once. Now this may definitely fix #1

Also cleared the code removing "can_interact" logic, it isn't needed with the new approach
@henriiquecampos henriiquecampos added the engineering An engineering solution to implement a design label Mar 5, 2018
@henriiquecampos henriiquecampos merged commit f5739d4 into master Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering An engineering solution to implement a design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant