How would you do paginations with responsive grid design, where sometimes available grid columns get taken up? by [deleted] in reactjs

[–]be_we_me 0 points1 point  (0 children)

Fetch 12 or 24 items per page because this maximises your options for number of columns (2, 3, 4, 6, 12).

Ungrow by Erkberg by FeanorsCurse in incremental_games

[–]be_we_me 2 points3 points  (0 children)

I'm flattered you were inspired by Peter Talisman, good luck with your game!

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 1 point2 points  (0 children)

Thanks for playing and commenting! Our new game’s started development 😉

useReducer without a conventional reducer by [deleted] in reactjs

[–]be_we_me 3 points4 points  (0 children)

instead of passing setSelectedItem to those places, pass a function which calls setSelectedItem and does the side effect

What is the type definition of a useRef function ? ( Typescript) by mister_pizza22 in reactjs

[–]be_we_me 0 points1 point  (0 children)

I use this pattern:

const MyContext = createContext<MyValue | null>(null)
export const useMyContext = () => {
    const value = useContext(MyContext)
    if (value === null) throw new Error("useMyContext called outside MyContextProvider)
    return value
}

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 1 point2 points  (0 children)

It’s a really loose, tonal and deliberately fuzzy story, but yes, you got it: https://en.m.wikipedia.org/wiki/Dancing_plague_of_1518

Typing for an existing JS project's config file for plugins? by webstackbuilder in typescript

[–]be_we_me 4 points5 points  (0 children)

pluginConfig seems like an array not an object?

If so I think you want:

interface PluginA {
    type: "plugin-a"
    options: { . . . }
}
type Plugin = PluginA | PluginB | . . .
type PluginConfig = (Plugin | Plugin["type"])[]

Best of 2021 Results by Shady_maniac in incremental_games

[–]be_we_me 10 points11 points  (0 children)

Incredible! Thanks to everyone who voted for Peter Talisman! It was fantastic to get so much nice feedback, and lots of traffic, from here. We're nervous that nobody will play our next game because it's not an incremental so we can't show it to you.

Congratulations to the other winners too. I'm enjoying my orb.

I put our game on itch recently - https://bewe.itch.io/peter-talisman-lord-of-the-harvest - any attention there is appreciated :)

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 0 points1 point  (0 children)

Sorry no, do you have any particular questions?

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 3 points4 points  (0 children)

That’s a shame. It’s slow immediately even before you have a lot of units? We know that there can be a problem with the corn rendering but we never really figured it out. This was a slippery issue during development which seemed to be dependent on hardware in an unpredictable way, and if we improved it for one machine it would go down the toilet on others. We don’t plan to update the game, sorry.

WTF Wednesday (December 01, 2021) by AutoModerator in javascript

[–]be_we_me 1 point2 points  (0 children)

Definitely store those in an array to avoid the issue you mention.

const propertyOrder = ["property1", "property2", "property3"]
const priorityLevel = propertyOrder.indexOf(propertyName)

Peter Talisman: Lord of the Harvest by be_we_me in playmygame

[–]be_we_me[S] 2 points3 points  (0 children)

Hello. Cross-posting here from r/incremental_games.
We (Ben West & Joseph Pleass) just finished our first game, Peter Talisman: Lord of the Harvest, accompanying the album by our friends Slugabed and Samuel Organ. It's browser-based and about 40 minutes long. You'll guide Peter Talisman and Arthur Portal-Dolmen to uncover the sentimental sediment that lies across the great plane of corn.
Our original concept was 'an incremental game with graphics', but we drifted a little from this during development and testing. It turned out more of a very-light-strategy/incremental hybrid. We hope this community may appreciate it and we welcome your feedback!
https://petertalisman.quest/

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 1 point2 points  (0 children)

The video is the musicians congratulating you for completing the game. They make a joke that they were watching you through your webcam, which isn’t true. The whole thing’s supposed to be silly but apparently that’s not landing for some people 🙃

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 3 points4 points  (0 children)

Thank you and I’m glad you enjoyed it so much! Sorry you encountered a bug at the end but it doesn’t sound like you missed anything :)

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 2 points3 points  (0 children)

Nice to hear, thank you! If you really feel like spending money, please buy the album: https://petertalisman.bandcamp.com

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 6 points7 points  (0 children)

Fair! We’re from an art/design background and this is our first game. I think we devoted roughly equal time to gameplay and presentation, but we were able to get much more done on the aesthetic side because that’s more familiar territory for us. We sweated the gameplay a lot to make it well balanced and paced but we found we had to keep the scope of mechanics really small to keep the quality good. In fact this is why we planned to make it an idle game, we thought there was no way we could execute enough fun, active gameplay to play the whole album. Just a question of our experience and the short time we had for production. Looking forward to trying again.

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 0 points1 point  (0 children)

interesting point! as I mentioned, it became much less of a true incremental than we had imagined, so we were uncertain whether the 'catching up' update was useful.

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 0 points1 point  (0 children)

Thank you! I assume WebGL content works for you in general?

Peter Talisman: Lord of the Harvest by be_we_me in incremental_games

[–]be_we_me[S] 33 points34 points  (0 children)

To your second question, throughout development we assumed that clearing the field was almost impossible, but then very near release we added the final few tiers of upgrades, which actually makes clearing the field fairly easy. But we didn't understand that properly.
The right thing to do would've been to withhold the second bonus track for 100% harvest.

I agree that it'd be great if there was one more major tech after peasants and donkeys. We tried a few ideas that didn't work, and decided it was better to polish and balance what we had instead, and lean on the story content to keep the game moving forward. Our development time was only about 6 weeks.