You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open src/main/java/fr/snapgames/game/core/Game.java
Run and debug (F5)
Expected behavior
Game becomes available on port 3000.
Actual
Output:
/usr/bin/env /home/gitpod/.sdkman/candidates/java/19.0.2-zulu/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:41177 @/tmp/cp_24ogv7q67cnawia7mr0bs395o.argfile fr.snapgames.game.core.Game
Picked up JAVA_TOOL_OPTIONS: -XX:+UseContainerSupport -XX:ActiveProcessorCount=1
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.debug.level to 1
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.window.strategy to 2
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.physic.world.acceleration.y.max to 4.0
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.window.scale to 1.0
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.render.fps to 60
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.scene.list to demo:fr.snapgames.game.demo101.scenes.DemoScene,title:fr.snapgames.game.demo101.scenes.TitleScene
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.physic.world.speed.x.max to 6.0
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.physic.world.acceleration.min to 0.001
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.window.size to 640x400
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.viewport.size to 320x200
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.physic.world.speed.min to 0.001
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.physic.world.gravity to v(0.0,-0.981)
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.scene.default to title
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.physic.world.acceleration.x.max to 4.0
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.physic.world.speed.y.max to 6.0
Sep 10, 2024 10:44:53 AM fr.snapgames.game.core.configuration.Configuration parseConfigFile
INFO: file=/game.properties : set game.physic.world.playarea.size to 1008x642
INFO: File has been parsed.
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
at java.desktop/java.awt.Window.<init>(Window.java:553)
at java.desktop/java.awt.Frame.<init>(Frame.java:428)
at java.desktop/javax.swing.JFrame.<init>(JFrame.java:224)
at fr.snapgames.game.core.graphics.Window.<init>(Window.java:30)
at fr.snapgames.game.core.Game.initialize(Game.java:111)
at fr.snapgames.game.core.Game.run(Game.java:248)
at fr.snapgames.game.core.Game.main(Game.java:297)
Additional Context
Port 3000 is shown as not served in the ports tab.
Isn't this supposed to work? Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm following your tutorial here: https://medium.com/@McGivrer/gitpod-save-your-life-de937bf2bd71
To Reproduce
Steps to reproduce the behavior:
src/main/java/fr/snapgames/game/core/Game.java
Expected behavior
Game becomes available on port 3000.
Actual
Output:
Additional Context
Port 3000 is shown as
not served
in the ports tab.Isn't this supposed to work? Am I doing something wrong?
The text was updated successfully, but these errors were encountered: