Skip to content

Issue 77 incorporate playable games into individual game pages#85

Open
TobbleCobble wants to merge 14 commits intomainfrom
issue-77-Incorporate_playable_games_into_individual_game_pages
Open

Issue 77 incorporate playable games into individual game pages#85
TobbleCobble wants to merge 14 commits intomainfrom
issue-77-Incorporate_playable_games_into_individual_game_pages

Conversation

@TobbleCobble
Copy link
Collaborator

@TobbleCobble TobbleCobble commented Feb 7, 2026

Change Summary

The cover image on the game page is now replaced by an iframe linked to itch. Database now stores values for game embed id, game width and game height. If there is no value for game embed id, the game page will still show the cover image

Change Form

  • The pull request title has an issue number
  • The change works by "Smoke testing" or quick testing
  • The change has tests
  • The change has documentation

Other Information

Game scaling may not be an exact match to itch, but this shouldn't be a problem for most games

Related issue

Comment on lines +91 to +99
{gameEmbedID != "0" ? (
<div className="flex justify-center">
<GameEmbed
embedID={gameEmbedID}
gameWidth={gameWidth}
gameHeight={gameHeight}
gameImage={gameCover}
/>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible that we can supply a game embed but not a gameWidth, height or image? If this is possible, is there a case to catch this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could have a default case, but size of embed is dependent on game and different engines have different defaults.

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

Successfully merging this pull request may close these issues.

Incorporate playable games into individual game pages

2 participants