zero-to-mastery / ZTM-Quest

A fun little 2D top-down rpg where you can explore the world of zero-to-mastery. Be prepared for funny and serious content and of course, Bruno.
https://zero-to-mastery.github.io/ZTM-Quest/
27 stars 94 forks source link

Create a mini game like the offline dino game in the arcade room for game machine 4 #11

Closed r4pt0s closed 2 weeks ago

r4pt0s commented 1 month ago

In the arcade map, each of the arcade machines should contain a mini game. Goal of this ticket is, to add a mini game for game machine 4 which you can find in the screenshot here.

There are no limitations except of only adding non-violent content. To get an idea of what games you could add, head over to the kaplay playground

Anandraj2908 commented 3 weeks ago

Hi @r4pt0s, I would love to take on this task and contribute to this game. Could you please assign it to me? I look forward to your response. Thanks!

r4pt0s commented 3 weeks ago

Totally @Anandraj2908 . Go for it 🚀🏃🏽‍♂️‍➡️

r4pt0s commented 3 weeks ago

@Anandraj2908 could you add controls for mobile as well? Currently I can't jump if I try it on my smartphone. 😅

Anandraj2908 commented 3 weeks ago

Sure!!

r4pt0s commented 3 weeks ago

@Anandraj2908 I tested right now on mobile. Could you add a way to exit the game on mobile? It is currently not possible to exit out of the game.

Anandraj2908 commented 3 weeks ago

Ok i will add

Anandraj2908 commented 3 weeks ago

Hey @r4pt0s, I’ve added the exit buttons, and they’re working as expected. However, I’ve run into an issue with the scale factor of the game, which is affecting several other arcade games since adding the energy bar and dialogue box. It seems to work fine on smartphones, though. Should I make adjustments in my file to handle the resizing, or is there an external file we can modify to change it for all the games?

Screenshot 2024-10-11 140244

r4pt0s commented 3 weeks ago

@Anandraj2908 I already added a fix in this pr https://github.com/zero-to-mastery/ZTM-Quest/pull/138

I added global usable default start and lose screens for use in all games. If you don't mind then I would merge mine because I fixed this issue for all games.

Anandraj2908 commented 3 weeks ago

Sure!!

r4pt0s commented 3 weeks ago

@Anandraj2908 awesome. Already merged it. All are fixed now.

Anandraj2908 commented 2 weeks ago

Do you think this issue can be closed now?

r4pt0s commented 2 weeks ago

Yes, sure @Anandraj2908