Closed AbhimanyuAryan closed 2 years ago
I had the same errors today with my regular Stipple apps. So it seems that something with Stipple is broken. In most cases a reload of the page fixed the problem. Meanwhile, there is ann animated 2048 available. Colors still need some tuning, but the mechanics is ok.
can you review this commit? I removed all back-ticks: https://github.com/GenieFramework/Stipple.jl/commit/fb086806ddd43a7bc0ecc17b7a8eaf9a435398a3 so it picks up code formatting in docs
specifically at line 702(in Stipple.jl). Had weird boxy. spaces So had to remove them with proper spaces
but I don't think that's the problem. Because examples uses Stipple v0.20.5 and the one with changes is not tagged yet
Try updating, I changed the Project.toml
@hhaensel 2048 works now but I running into issues with 2048_animated
julia> include("Stipple2048_animated.jl")
Activating project at `~/Git/StippleDemos/AdvancedExamples`
WARNING: could not import Stipple.js_destroyed into Main
ERROR: LoadError: UndefVarError: replay not defined
Stacktrace:
[1] handlers(model::G2048)
@ Main ~/Git/StippleDemos/AdvancedExamples/Stipple2048_animated.jl:86
[2] |>(x::G2048, f::typeof(handlers))
@ Base ./operators.jl:966
[3] restart()
@ Main ~/Git/StippleDemos/AdvancedExamples/Stipple2048_animated.jl:220
[4] top-level scope
@ ~/Git/StippleDemos/AdvancedExamples/Stipple2048_animated.jl:227
[5] include(fname::String)
@ Base.MainInclude ./client.jl:451
[6] top-level scope
@ REPL[3]:1
in expression starting at /Users/abhi/Git/StippleDemos/AdvancedExamples/Stipple2048_animated.jl:227
looks like latest commit is not tagged https://github.com/GenieFramework/Stipple.jl/commit/580070d6aa8c00e723ba582ac3dcc4903d071c85
ok a different error now after using Stipple#master
julia> include("Stipple2048_animated.jl")
Activating project at `~/Git/StippleDemos/AdvancedExamples`
ERROR: LoadError: UndefVarError: replay not defined
Stacktrace:
[1] handlers(model::G2048)
@ Main ~/Git/StippleDemos/AdvancedExamples/Stipple2048_animated.jl:86
[2] |>(x::G2048, f::typeof(handlers))
@ Base ./operators.jl:966
[3] restart()
@ Main ~/Git/StippleDemos/AdvancedExamples/Stipple2048_animated.jl:220
[4] top-level scope
@ ~/Git/StippleDemos/AdvancedExamples/Stipple2048_animated.jl:227
[5] include(fname::String)
@ Base.MainInclude ./client.jl:451
[6] top-level scope
@ REPL[2]:1
in expression starting at /Users/abhi/Git/StippleDemos/AdvancedExamples/Stipple2048_animated.jl:227
But I see you have defined replay
and R{Bool} weird ....as well as a method
The order of the routines needs to be modified, I'll submit a correction soon...
Done!
@hhaensel looks amazing. Closing this....now I just need to get CameraWidget working on m1
@hhaensel I wanted to add this demo on genieframework.com showcase section and looks like the game doesn't look like what @essenciary showed me
When I disable internet and run the game offline. I can play the game. But it doesn't look like what Adrian showed me. Color are different
When my internet is enabled and I run the game. I can't play the game
Weird error stack
Are we using some assets in cloud or something? So they are not loaded properly. I using Macbook M1(air 2020)