Git Product home page Git Product logo

Comments (6)

besnoi avatar besnoi commented on September 16, 2024

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

from fruit-crush.

kasteiner avatar kasteiner commented on September 16, 2024

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'

from fruit-crush.

besnoi avatar besnoi commented on September 16, 2024

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!

from fruit-crush.

kasteiner avatar kasteiner commented on September 16, 2024

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'`

from fruit-crush.

besnoi avatar besnoi commented on September 16, 2024

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) :>

from fruit-crush.

besnoi avatar besnoi commented on September 16, 2024

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!

from fruit-crush.

Related Issues (1)

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.