-
Notifications
You must be signed in to change notification settings - Fork 23
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
Better way to run game #9
Comments
I propose that we change things so that instead of focusing on making a module and using repl we simple require that the game script has |
We could simply scrap having |
I am not sure what the right answer is here, but I am willing to experiment a bit with thsi. |
The part of this that irks me the most is how the current implementation prevents using |
I am currently using Windows shortcut with a custom icon to launch the games from the desktop. The shortcut's C:\Windows\System32\cmd.exe /c "C:\path\to\Julia 1.5.2\bin\julia.exe" --project start_game.jl
This assumes the user already has Julia and the game code installed, but that's it. The only issue I have is that I don't know how to launch the game without the terminal... |
What exactly do you mean by, "I don't know how to launch the game without the terminal." Also, I like the idea of having a script that uses the |
By that I mean to load Julia (and the game) without showing the terminal to the user: https://youtu.be/kwyfj0D0LnY If I could hide the terminal window or launch Julia in a "headless" way, that would be nice, but not a big deal for development |
@dustyirwin To my knowledge there is no way to do this without the terminal because your windows shortcut has to link to some file and therefore will have to open up the command line to do anything. To make it run without the command line on windows you would have to make an executable using something like PackageCompiler.jl. |
We currently suggest users start the Julia repl to run the game. We should provide shell and cmd scripts to run games to make it easier to start from the shell.
At the same time, we should find a better way to start a game programatically, that plays well with modules and
include
The text was updated successfully, but these errors were encountered: