MultiversX Tracker is Live!

Game Dev - Do you need an additional web server?

Etherum Reddit

More / Etherum Reddit 206 Views

I'm a software developer who is now coding for blockchain. I learned Web3 but I want to move on from utility apps to making a game. I have found lots of tutorials online, but the one question I can't seem to find the answer to:

Do you need a separate web server (beyond the frontend host and storing data in smart contracts) to process the game logic/physics/etc?

Ex. If I wanted a character to buy a potion from a shop, that seems straightforward, just make a purchase request and store the result in a SC variable, but what about something such as collision detection? If my character needs to walk to the right until they hit a wall, how do I check if there's a wall there every step of the way? It seems prohibitive to make a SC read call every step they take and you certainly can't allow the frontend to determine... well, anything really, when money is at stake.

Thank you for any information or just a point in the right direction!

submitted by /u/mykasoda
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments