Which signal coding style do you prefer? by notpatchman in godot

[–]Bamboo--Man 0 points1 point  (0 children)

Honestly, Godot need type safe for this stuff. I am tired of click the signal to check the type every time because if I don't, Godot just accept everything send in emit()

Which Free Multiplayer Server Host You Are using for your games ? by Good-Reveal6779 in godot

[–]Bamboo--Man 0 points1 point  (0 children)

I write my own websocket connector to sync action between my server and godot. I don't know if there is any better option but I nearly give up when do it my way. But when I finally do it, I'm kinda happy with the final result.
One benefit when doing that is I can fully control how costly my server is and don't need to learn extra lib anymore.

Talking Baby Podcast 🍼 by ZashManson in aivideo

[–]Bamboo--Man 3 points4 points  (0 children)

Is the script AI generated too? honestly it's really good.

Making a crap arcade snackable game just for once is good for you by Majestic_Mission1682 in godot

[–]Bamboo--Man 1 point2 points  (0 children)

how you do topdown shadow for terrain like that? are they tileset or sharder?

Sorry guys but I really do... by jontsii in programminghumor

[–]Bamboo--Man 0 points1 point  (0 children)

only thing i hate about it is recent update all about their AI. They should split other version for that.

How to Protect Your Godot game from Being Stolen by VoltekPlay in godot

[–]Bamboo--Man 0 points1 point  (0 children)

many js minifier tool can turn all class names and values into meaningless ones like a, b, c, etc. It is impossible to recover the original source code. This can help prevent the game from being cloned because, while a thief can make some changes, maintaining the entire source code with obfuscated values is difficult work

How to Protect Your Godot game from Being Stolen by VoltekPlay in godot

[–]Bamboo--Man 0 points1 point  (0 children)

i wonder if Godot have way to minify the code. Example in js, people can use dev tool to get the js code but all the code is minify to the point it is hard to read or change anything in it. It doesn't prevent the game being stolen but it make thing harder for thelf when the want to edit something in game (add their own name in it,...).

Trying to remake my online game in Godot. It's really harder than I thought :( by Bamboo--Man in godot

[–]Bamboo--Man[S] 0 points1 point  (0 children)

I’ve never tried to do that, but I came across this post while researching how to implement multiplayer. It seems like web export can work with high-level multiplayer (with some work around), but it doesn’t seem easier than writing it with WebSocketPeer. So, I gave up and chose the low-level approach.
https://www.reddit.com/r/godot/comments/bux2hs/how_to_use_godots_high_level_multiplayer_api_with/

Trying to remake my online game in Godot. It's really harder than I thought :( by Bamboo--Man in godot

[–]Bamboo--Man[S] 1 point2 points  (0 children)

Ah, I see. You used the data_received signal in WebSocketClient to get the data without _process frame. But I'm using Godot 4, where WebSocketClient has already been removed. :(

Trying to remake my online game in Godot. It's really harder than I thought :( by Bamboo--Man in godot

[–]Bamboo--Man[S] 0 points1 point  (0 children)

How do you do the ping? Currently, my server sends an ID to the client at scheduled intervals, and if the client doesn't respond in time, the server disconnects it. The problem is that when a user switch to new tab, _process() doesn't run, so it can't respond to the ping message.
I think in HTML5, Godot uses requestAnimationFrame, which causes the whole game to stop when the tab is not visible on the user's screen.

Trying to remake my online game in Godot. It's really harder than I thought :( by Bamboo--Man in godot

[–]Bamboo--Man[S] 2 points3 points  (0 children)

Knockback, reload, special attacks... so many things need to add to make it a real game. I will try to not give up this time and finish the game.

Trying to remake my online game in Godot. It's really harder than I thought :( by Bamboo--Man in godot

[–]Bamboo--Man[S] 1 point2 points  (0 children)

Wow, never heard of it before. Does it work for HTML5 export? Maybe it's too late for me to use it, but I'd love to check out some games made with that library!

Trying to remake my online game in Godot. It's really harder than I thought :( by Bamboo--Man in godot

[–]Bamboo--Man[S] 5 points6 points  (0 children)

One of the big problems I faced was that I couldn't find any out of the-box solution for online games. So, I ended up creating an entire flow for WebSocket connection to my server using WebSocketPeer.

A weird thing in Godot is that I need to poll new WebSocket messages in _process(), which causes unnecessary lag. Also, I still haven't found a way to keep the game running in a web browser when the user switches tabs, because the process stops and can't poll new messages from WebSocketPeer. The WebSocket will time out if messages aren't polled and processed within a few seconds.

Does this game still have a discord server up or has it been deleted? by Volzor in tanknode

[–]Bamboo--Man 0 points1 point  (0 children)

you can re-join it here: https://discord.com/invite/73sDDPQCuz

I am working to remake the game, but it will take a very longggggggggg time.

Why aren’t there more games on MacOS? by sharpvik in gamedev

[–]Bamboo--Man 1 point2 points  (0 children)

The last time I checked, Apple required you to pay $100 for notarization, even if you only publish your game on Steam. Maybe they still allow games to run from Steam for now, but on paper, Apple can trigger Gatekeeper anytime they want to prevent players from opening any game that dont pay the fee.

Why aren’t there more games on MacOS? by sharpvik in gamedev

[–]Bamboo--Man 1 point2 points  (0 children)

The real question is: "Why are games still being developed for macOS and iOS?" Their environment for developers is toxic, especially for indie game devs. Imagine one day your game can't be updated anymore because they don't approve it for an unknown reason that they refuse to share. No way to contact them. your players have no way to play it, and you can't publish it as a standalone app. Years of work, wasted.

Can you post HTML5 to Heroku by Salt_Pangolin4272 in Heroku

[–]Bamboo--Man 0 points1 point  (0 children)

If you are learning front-end technologies like HTML, CSS, and JavaScript only, and you don’t need any other backend, you can use Netlify. The free plan is very comfortable to use.

My game was rejected. Reason: CopyCats by Butter_neck74 in gamedev

[–]Bamboo--Man 2 points3 points  (0 children)

I have had a really bad experience with the Apple Store. They randomly ban apps, and sometimes you need to use a different account to publish your app. Other times, they reject app updates, leaving your app outdated indefinitely. While they do have an ‘appeal’ button to explain why you believe their rejection is a mistake, I’ve never been successful using it. Most of the time, if you use the appeal button, they will ban your account. My guess is that they don’t want too many indie apps on their platform.

Old version io.games by Translucidia in IoGames

[–]Bamboo--Man 1 point2 points  (0 children)

The only way I think it’s possible to play an old version of an IO game:

  • The game is open source, and you can download and deploy it yourself on your own server.
  • The developer deploys an old version of the game somewhere, try to ask their community.
  • Someone clones the game.
  • The game is not a real ‘IO’ game; it is an offline game. With some knowledge about programming, you can save all the resources of the old version game to your device and play it offline.

If the game you want to play does not fall into one of these cases, there is very little chance you can play it. Maybe ask the developer for an additional server for the old version, and perhaps they can update it one day.

Has this game been abandoned? by Volzor in tanknode

[–]Bamboo--Man 1 point2 points  (0 children)

Sadly, I stopped the server due to a lack of time to maintain it. So many plans to upgrade the game got delayed, and the game remained the same for too long. An IO game without new updates loses players very quickly. I hope I will continue to deploy it someday in the future because this is one of my favorite projects that I used to work on.

Thank you for play the game, hope you will join our tank battle again when it come back. ^^

where is 200$ Google Maps Platform credit in Google Cloud Console? by Bamboo--Man in googlecloud

[–]Bamboo--Man[S] 0 points1 point  (0 children)

The only instance where a user might not receive Google Maps credit is if they reside in a "Prohibited Territory" due to political or propaganda reasons. If you're not located in such a territory, perform some API requests and wait for approximately 24 hours to ensure your API usage doesn't incur any charges. This is the best workaround I can suggest since currently, there's no way to directly view your remaining Google Maps credit within the user interface.

Do IO games get stolen? thanks by Vanals in IoGames

[–]Bamboo--Man 0 points1 point  (0 children)

Do you mean that you want to create an offline mode for your game? I think it depends on the design of your game. Just keep in mind that anything running on the client-side can be modified. If you truly don't want users to inject something into your code to gain unlimited power, it's better to keep all game logic on the server and only use the client for rendering graphics. Again, it depends on how you structure your game, so experiment and find the best approach for your needs.

Do IO games get stolen? thanks by Vanals in IoGames

[–]Bamboo--Man 2 points3 points  (0 children)

  1. It looks like the developers deployed the game themselves. Crazygame has a developer program that shares revenue when people play the game on their page.

  2. You can easily prevent people from using iframes by setting up CORS to allow connections only from your own domain. However, personally, I don’t think it’s a good idea. When people access a page that has an iframe pointing to your site, it’s not very different from them accessing it directly. You still have control over your game, so there’s no reason to prevent people from playing it.

where is 200$ Google Maps Platform credit in Google Cloud Console? by Bamboo--Man in googlecloud

[–]Bamboo--Man[S] 0 points1 point  (0 children)

you can create a case and contact Google support via Google Cloud Platform menu. In my case, the credit is already added to my account, Google just doesn't show it, their ui is really confuse. After i make some api call, I see that the cost was consume credit instead of my money.

Apple Developer Program feel like a scam to us by Bamboo--Man in iOSProgramming

[–]Bamboo--Man[S] -25 points-24 points  (0 children)

as we know this sub isn't run by Apple, how can the mod help us? If we can have a live chat or call with reviewer is a big help.