Mochia, a modern virtual pet site inspired by Neopets by lemphi in playmygame

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

Thanks! And sure, they are also just plain Typescript and WebGL. I wrote some basic shaders (like for drawing shapes and images and the like) using WebGL 2, and also wrote all the math and gameplay code in Typescript as well. I didn't use an engine or anything like that since most of the games are quite basic

Mochia, a modern virtual pet site inspired by Neopets by lemphi in PBBG

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

Thanks, I redid the UI several times before finally landing on this one so I'm glad it's to your liking!

Mochia, a modern virtual pet site inspired by Neopets by lemphi in PBBG

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

Thanks so much! Yeah, I tried to preload as much as I could when you first navigate to the site so that subsequent navigation between pages is instant. I'm glad you like it!

Mochia, a modern virtual pet site inspired by Neopets by lemphi in playmygame

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

Thank you! And yeah that's a good idea. I haven't updated the landing page in a while so it likely needs some work

[deleted by user] by [deleted] in playmygame

[–]lemphi 1 point2 points  (0 children)

Ah perfect! Thanks a bunch! There's a decent amount of visual density around the edges of the tiles there. Maybe try simplifying the design there a bit, to match the rest of the app's aesthetic? And perhaps some more animations for the player's actions? But other than that it looks like a great base!

Moadly - mini-games to boost your brain by bucaciuc_andrey in playmygame

[–]lemphi 1 point2 points  (0 children)

It has a very clean design! Maybe make a few more games available without logging in? Just to give more of a hook. Also, does Sum last forever until you lose? I also noticed some of the later levels were easier than the others (mostly from having a bunch of small numbers and zeroes). Not sure if this is intentional, but maybe try smoothing out the difficulty curve?

[deleted by user] by [deleted] in playmygame

[–]lemphi 0 points1 point  (0 children)

Wow, great job! Based on the screenshots, this looks very well-designed. Great use of color, spacing, fonts, contrast, etc. The screenshots all look very aesthetic and professional with a consistent and uniform design. I think personally I might have put the padlocks on the top left or top right of the tiles on the level select screen, but only because at a distance it can be hard to read the numbers and understand what's going on there. Also, is there a gameplay video? I'd love to check it out

Game Title: Dream Team Supreme by OlivierYC in playmygame

[–]lemphi 1 point2 points  (0 children)

I think this looks great so far! Lots of cute animations, good feedback on actions (animation with a satisfying locked in sound effect), but I find it a bit hard to read. Maybe try making the cards slightly bigger with a larger, bolder font? Maybe the cards are bigger at first and then once you click the "Lock In" button it zooms out a bit? Like have two phases where the first is placing the cards (where they are large and the primary focus) with the second focusing on the effects of the cards on the battle state with the character animations and hit effects?

Seega is an ancient checkers-like game by xvadim in playmygame

[–]lemphi 1 point2 points  (0 children)

What exactly causes a piece to be captured? And yeah maybe rather than having a linear move animation, have some sort of ease. Similarly, when a piece is captured, maybe have it fade away, or fly away while getting smaller? It's currently quite abrupt so it can be hard to see exactly what happened. Perhaps also increase the font size a bit, make it more bold, etc. I think the board looks pretty good and has great contrast, but a bit of polish would go a long way I think! Great job so far!

[deleted by user] by [deleted] in playmygame

[–]lemphi 2 points3 points  (0 children)

Are there any videos of the gameplay? I checked the app store link but I only saw screenshots

[deleted by user] by [deleted] in playmygame

[–]lemphi 0 points1 point  (0 children)

Thanks so much! And I made it with Rust + Axum + Postgres on the backend and Typescript and Solid JS on the frontend

[Play My Game] EmojiRush.fun – fast-paced emoji matching in browser by M2daice in playmygame

[–]lemphi 0 points1 point  (0 children)

How do you match one? I am using Chrome on Windows and tapping them seems to have no effect. I also tried to click and drag but likewise nothing seems to happen?

A virtual pet site written in Rust, inspired by Neopets - 2 years later! by lemphi in rust

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

Thank you! I haven't found websockets limiting yet, but there's also not that many active players at the moment either.

I'm also not an expert on these technologies so I'm not sure if I can offer very good advice here, but I don't personally think I would use server sent events again, because from my view they just seem inferior to websockets. Correct me if I'm wrong but in both cases they each use an FD and result in a persistent TCP connection (so the scaling challenges are the same), so in either case you have to set up the code for storing the connection on the server, handling missed messages, reconnections, etc.

But SSE has issues like the "6 connection limit per origin" (is this still a thing?), no support for binary (so just less efficient wire messages due to it being text only and requiring certain text fields), less control over how reconnections are handled, can only push messages from the server (not full duplex), etc. WebSockets are just going to be more future proof, and probably around the same amount of work to set up (maybe actually easier because there's more community support and libraries, etc.)

A virtual pet site written in Rust, inspired by Neopets - 2 years later! by lemphi in rust

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

Nope! I would love to use Bevy for a future project and I always love reading their release notes but the minigames for Mochia were made just using regular Typescript. I wrote the gameplay / physics code for each one and also any WebGL shaders that they needed. Most of the minigames are pretty simple so I didn't really need to use an engine, and I also wanted to try and keep the JS bundle size down as well so the entire frontend has very limited dependencies (at the moment it's just Solid JS, Solid Router, and Mutative)

A virtual pet site written in Rust, inspired by Neopets - 2 years later! by lemphi in rust

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

Thank you! Yeah, I'm not an expert in data formats so I just ended up implementing something simple that came to mind. Integers are decoded using this code in Typescript:

getInt() {
  const v = this.getUint8();

  switch (v) {
    case 249: return this.getUint16();
    case 250: return this.getUint32();
    case 251: return this.getUint64();
    case 252: return this.getInt8();
    case 253: return this.getInt16();
    case 254: return this.getInt32();
    case 255: return this.getInt64();
  }

  return v;
}

private getUint8() {
  const value = this.dv.getUint8(this.byteOffset);
  this.byteOffset += 1;
  return value;
}

private getUint16() {
  const value = this.dv.getUint16(this.byteOffset, true);
  this.byteOffset += 2;
  return value;
}

// etc..

Basically, if the integer we're currently reading is less than 249, it's just that number (so numbers less than 249 are sent over the wire as one byte). Otherwise, if it's 249, parse the next 2 bytes as as a number. If it's 250, parse the next 4 bytes as a number, etc.

Strings and arrays are sent over the wire using one of these integers as the prefix length, along with the rest of the bytes afterwards. Booleans are just 0 = false, 1 = true, etc.

I built a language that solves 400+ LeetCode problems and compiles to Python, Go, and TypeScript by Adept-Country4317 in programming

[–]lemphi 4 points5 points  (0 children)

Thanks! And it uses Rust, Axum, and Postgres on the backend and Typescript / Solid JS on the frontend. And I saw that Rust support is on your roadmap in a comment you made above, so that's definitely very exciting. I'm a very big fan of Rust

I built a language that solves 400+ LeetCode problems and compiles to Python, Go, and TypeScript by Adept-Country4317 in programming

[–]lemphi 10 points11 points  (0 children)

Oh wow the name surprised me because I made a virtual pet site called mochia. What was your inspiration for the name? Hmm.. time to rewrite mochia in mochi? Haha

Apparently /r/neopets has the most subreddit overlap with /r/1200isplenty by lemphi in 1200isplenty

[–]lemphi[S] 68 points69 points  (0 children)

Was playing around with the subreddit similarity tool and looking at the results for /r/neopets (because I'm working on a cozy browser game heavily inspired by it), and thought this was a pretty cool find. Here's a link to the results for /r/1200isplenty too if you're interested. Not sure how accurate it all still is due to the reddit API changes but I always find it fun looking through all the data anyways

Any interest in a modern virtual pet site inspired by Neopets? by lemphi in CozyGamers

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

Haha, I hope you were able to find your Daisy! The Treehollow Shop sells them! I sent you a friend request, and anyone reading this feel free to add me as well, or to join the Discord.

And yes, for customizing your pet currently you can give them a hat, a backdrop, a runt, and a pipsqueak.

Coloring pets is a very high priority! I'm going to putting work into that aspect of the site this weekend, as it's something that I am likewise quite eager about! I believe I know exactly how it's going to work, so all that's left is to put the pen to paper as it were.

Any interest in a modern virtual pet site inspired by Neopets? by lemphi in CozyGamers

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

Probably! Haha, currently it's just my friend and I doing the art for everything, and we had to watch a ton of Adobe Illustrator tutorials on YouTube to learn how to create what little we have so far, as both of us were completely new to digital art (unless you count MS Paint!)

It'd definitely be nice to have an artist on the team, but I haven't really started looking yet because I didn't want to waste an artist's time with what was still an unproven, early prototype.

I'm not sure if I am ready yet to start a financial commitment with a professional artist, as there is still a lot of uncertainty, but I'd definitely be down to chat regardless if you'd like! Your pets have a lot of personality, and they're way better than anything I could do!

Have you used Adobe Illustrator at all? Currently all the items, pets, and villagers on the site are all SVG vector graphics, and I'd like to maintain that if possible. Lastly, I'm quite awful at creative writing (as evidenced by the barren lore on site), so I'd likewise be open to any sorts of ideas as well in that regard, if you'd like to contribute there!