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

Game doesn't run without a draw function #29

Open
aviks opened this issue Dec 24, 2020 · 0 comments
Open

Game doesn't run without a draw function #29

aviks opened this issue Dec 24, 2020 · 0 comments

Comments

@aviks
Copy link
Owner

aviks commented Dec 24, 2020

it should display an empty frame if a draw function has not been defined

julia> rungame("MyGame.jl")
ERROR: BoundsError: attempt to access 0-element Array{Method,1} at index [1]
Stacktrace:
 [1] getindex at .\array.jl:809 [inlined]
 [2] getfn(::Module, ::Symbol, ::Int64) at C:\Users\avik\dev\GameZero\src\GameZero.jl:239
 [3] initgame(::String) at C:\Users\avik\dev\GameZero\src\GameZero.jl:219
 [4] rungame(::String) at C:\Users\avik\dev\GameZero\src\GameZero.jl:183
 [5] top-level scope at REPL[32]:1
@aviks aviks mentioned this issue Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant