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

Demo page is down #222

Closed
6 tasks
john-sardinha-pbx opened this issue Aug 13, 2022 · 9 comments
Closed
6 tasks

Demo page is down #222

john-sardinha-pbx opened this issue Aug 13, 2022 · 9 comments

Comments

@john-sardinha-pbx
Copy link

Please ensure you have given all the following requested information in your report.

Issue details

https://libgdx.badlogicgames.com/demos/ is down (503)

Reproduction steps/code

Go to https://libgdx.badlogicgames.com/demos/

> $ ping https://libgdx.badlogicgames.com/demos
ping: cannot resolve https://libgdx.badlogicgames.com/demos: Unknown host
> $ ping https://libgdx.badlogicgames.com                                                                                                                                            X
PING https://libgdx.badlogicgames.com (95.216.8.184): 56 data bytes
64 bytes from 95.216.8.184: icmp_seq=0 ttl=53 time=46.012 ms
64 bytes from 95.216.8.184: icmp_seq=1 ttl=53 time=45.540 ms

Version of libGDX and/or relevant dependencies

Please provide the version(s) affected.

Stacktrace

//Please provide the stacktrace if applicable 

Please select the affected platforms

  • Android
  • iOS
  • HTML/GWT
  • Windows
  • Linux
  • macOS
@tommyettinger
Copy link
Member

I'm not sure where the demos are hosted now, if anywhere, but https://libgdx.com/wiki/start/demos-and-tutorials needs to be updated when hosting is figured out. @crykn , do you know if the old demos are still up anywhere (as built GWT apps)? Or what it would take to host them on libgdx.com , if we can build them again?

@Frosty-J
Copy link
Collaborator

Don't think they're hosted anywhere, except for the one I built. Duplicate of #221.

@crykn
Copy link
Member

crykn commented Aug 14, 2022

@Frosty-J is right, at the moment they don't seem to be hosted anywhere. If badlogicgames.com doesn't come online again, we should definitely think about transferring them to libgdx.com. The easiest way of achieving this would probably be to build them automatically via GitHub Actions and then deploy the GWT builds to GitHub Pages (similarily to what we do in the https://github.com/libgdx/libgdx-wiki-examples repo). The desktop and Android downloads could be provided via the releases tab of the corresponding repos.

Regardless of that, going forward we should probably think about what we want to do with the demo projects. We might want to archive a few of those/maybe even replace them, considering they are all quite old, have a bunch of open issues/PRs and it's a hassle keeping them up to date.

@SonicGDX
Copy link
Contributor

SonicGDX commented May 17, 2023

I will look into attempting to create PRs to update some of these so that they build at least. It looks like @obigu updated lots of them in 2021 but perhaps they are broken again?

However I'm not sure if I should update lwjgl to version 3 or leave it as is (or perhaps keep both?) for some of the older projects. Lwjgl3 is the main now, but 2 is still supported, right?
Edit: I'll just make changing to lwjgl3 a separate PR

@tommyettinger
Copy link
Member

I'd think they should target GWT if at all possible; the downloadable targets are much less likely for newcomers to try. If you include a desktop build, LWJGL3 is preferable because M1 and later macs don't work (normally) with LWJGL2.

@Frosty-J
Copy link
Collaborator

Frosty-J commented May 18, 2023

Some changes may be desirable for GWT. For example, that backend doesn't support setting a frame rate cap, so demos that don't use delta times will run at the wrong speed for users who have non-60Hz displays.

@SonicGDX
Copy link
Contributor

SonicGDX commented May 18, 2023

Manually changing one of the gradle projects now (although it may honestly just be easier to create a new project with the game name and drop the code files in), but I was curious about how it pulls the latest version numbers from the website as opposed to them being pinned like in newly generated projects. https://github.com/libgdx/libgdx-demo-superjumper/blob/master/build.gradle
It means the project is updated to the latest libgdx version automatically, but could this lead to breakage if e.g. the android api version changes?

@tommyettinger
Copy link
Member

I'd think if the projects are currently fetching the latest libGDX, they're broken as-is. They should IMO be pinned, and updated when the project is brought up-to-date for a new release.

@crykn crykn transferred this issue from libgdx/libgdx Aug 16, 2024
@crykn
Copy link
Member

crykn commented Aug 16, 2024

Closing this in favour of #221.

@crykn crykn closed this as completed Aug 16, 2024
@crykn crykn mentioned this issue Aug 16, 2024
6 tasks
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

5 participants