OWNLY 1

Only one owns

Warning: You can't connect your NEAR wallet via an iframe. To play and experience this game, it is advised to use https://3xr.space website.

This game is a multi-user virtual world in which players compete to become owners of the pixel art canvas (which is an actual NFT).


The goal is simple. Shoot the pixel canvas to mirror the right side of the pixel board on the left side.

All players share the same state of the pixel canvas and the winner is the one that completes the mirroring - submitting the last correct pixel(s). Once this happens, the smart contract will randomly generate a new pattern and a new round starts.

What if you're already the owner? If you're already the owner, sabotage others by submitting colors to wrong positions. Only colors submitted to the left panel count.


The color of your shooter changes every 5 seconds and cycles through the rainbow colors (violet, indigo, blue, green, yellow, orange and red). The cool part is you'll be able to see others wandering around, but you don't know which colors they have - but you can try to guess!

You can find who is the current owner on the wall and some other stuff.

How to play?

  • Shoot the pixel canvas to start
    • If you're not connected, you'll be redirected to NEAR wallet to connect your account
  • Use WASD or arrows for navigation
  • Press the right mouse button or E to shoot
  • Look around to aim with your mouse
  • Pressing F toggles fly mode. You might need to block some player's vision, I guess.

Few caveats

  • The blockchain state is fetched every 5 seconds and refreshes all pixels, so the colors you shot may disappear from the canvas until they're effectively validated on the smart contract side.
  • This is a multi-user virtual world and the number of concurrent players wasn't capped. So... let's hope for the best, right?!
  • VR is supported but not well tested throughout this jam
  • Transactions are sent every time the color switches.
  • Sometimes images don't load, if this happens reload the page.
  • This game takes advantage of NEAR's access keys system. Every transaction uses a little bit of your allowance. When you've ran out of allowance, the game will clear Local Storage forcing you to create a new connection on NEAR wallet.

Technology used

  • IPFS: All game assets and javascript files are stored on IPFS via Pinata Cloud
  • NEAR: The NFT and game logic is deployed as a smart contract on NEAR. Using NEAR JS SDK for reading and writing from the blockchain.
  • 3XR: Self-developed framework on top of A-Frame that I use to create multi-user VR-ready apps and games on the web.


Credits

Music: Mattie Pride – 2D Side Scrolling

SFX: https://opengameart.org/content/512-sound-effects-8-bit-style

Comments

Log in with itch.io to leave a comment.

not an nft game😭