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

Won't play on Windows 10 #1

Closed
kasteiner opened this issue Dec 20, 2019 · 6 comments
Closed

Won't play on Windows 10 #1

kasteiner opened this issue Dec 20, 2019 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@kasteiner
Copy link

Error

lib/clove.lua:220: Clove Error! Directory 'assets/graphics\gameBackground.png' doesn't exist!

Traceback

[C]: in function 'assert'
lib/clove.lua:220: in function 'load'
lib/clove.lua:248: in function 'loadImages'
src/util.lua:2: in main chunk
[C]: in function 'require'
main.lua:1: in main chunk
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

@besnoi
Copy link
Owner

besnoi commented Dec 26, 2019

Sorry about that - the latest commit takes care of the problem i believe!

@kasteiner
Copy link
Author

There is another bug sadly

Error

lib/iffy.lua:167: attempt to index local 'infile' (a nil value)


Traceback

lib/iffy.lua:167: in function 'newAtlas'
src/util.lua:24: in main chunk
[C]: in function 'require'
main.lua:1: in main chunk
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

@besnoi
Copy link
Owner

besnoi commented Dec 27, 2019

thanks for pointing it out! I forgot to use the updated version of iffy in fruit-crush! I do hope the latest commit should fix this!

@kasteiner
Copy link
Author

Now I can access the game however after 2 rounds I get this

`Error

lib/euler.lua:16: bad argument #1 to 'Max' (number expected, got nil)

Traceback

[C]: in function 'Max'
lib/euler.lua:16: in function 'constrain'
src/Entities/ScoreBoard.lua:7: in function 'init'
lib/Class.lua:79: in function 'ScoreBoard'
src/Scenes/RoundOverState.lua:5: in function 'enter'
src/StateMachine.lua:25: in function 'switch'
src/Scenes/PlayState.lua:132: in function '_oncomplete'
lib/flux.lua:174: in function 'update'
src/Scenes/RoundOverState.lua:40: in function <src/Scenes/RoundOverState.lua:39>
src/StateMachine.lua:38: in function 'update'
main.lua:8: in function 'update'
[C]: in function 'xpcall'`

@besnoi
Copy link
Owner

besnoi commented Dec 27, 2019

Yeah that's a bug in the level-generator algorithm! I'm sorry but I can do nothing about it (as i lost interest in the project and am currently working on some other thing)! I'd however love if someone can come up with a fix and make a PR on that!
(again sorry for being lazy here) :>

@besnoi besnoi pinned this issue Dec 27, 2019
@besnoi besnoi added the help wanted Extra attention is needed label Dec 27, 2019
@besnoi
Copy link
Owner

besnoi commented Jul 17, 2020

Issue SOLVED!

In this commit!

The problem was that I forgot to add a End Game State, which looks like this.

Hopefully everything should be solved now @kasteiner!

@besnoi besnoi closed this as completed Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants