Skip to content

Rotating Canvas Games

Menu
  • Games
    • Balloon Shooter
    • Choozak
    • Polar
    • Tap Shoot Zombie!
    • Speedboat Santa
    • Rapid Car Rush
    • Turtle Leap
    • Crossword
  • HTML5 Games
    • Speedboat Santa HTML5
    • Choozak HTML5
  • Blog
  • Tutorials Index
  • About Us
  • Contact Us
  • Privacy Policy & Terms and Conditions
    • Privacy Policy
    • Terms and Conditions
    • Copyright Notice
    • Disclaimer
Menu

Category: Tutorials

Sui ZK Login – Deep Dive

Posted on December 4, 2023May 4, 2024 by Rahul Srivastava

Zero Knowledge Proof (ZK Proof) allows validation of a statement’s truth without revealing specific data. It is used in activities like authenticating the owner of a private key or ensuring someone belongs to a particular group. Sui’s ZK login process uses JWT and salt to generate input signals. If the circuit runs successfully, it confirms the user knows the JWT and private salt. The circuits include multiple steps, which involve non-revealing validation, parsing JWT, checking signatures and claims, extracting and validating aud and iss portions, computing the address seed, and validating public signals match the private ones.

  • Tweet
Read more

Verify Signed Message on-chain in Solidity

Posted on October 16, 2023May 4, 2024 by Rahul Srivastava

Introduction For oasis p4w3 hackathon, I was working on concept where we can store full game state on chain. In the game player1 hides a treasure on a grid and player2 has to find it. Here is the link to the game and its full source code. In sapphire paratime, we can store private fields…

  • Tweet
Read more

Voting Proposal Program in Solana

Posted on March 25, 2022May 4, 2024 by Rahul Srivastava

In the last week or so, I have been going through Solana docs to understand how Program Derived Addresses (PDAs) work. To get a hang of it, I have been working on a small voting proposal program which utilizes PDAs so that anyone can create a proposal and vote on in. A functionality which is…

  • Tweet
Read more

Solana Ride Sharing Application – Part 2

Posted on October 13, 2021August 30, 2022 by Rahul Srivastava

In the previous post, we covered the basics of how to store the data in the Solana blockchain. You can also find remote jobs related to blockchain to make money out of your passion. In this post, we will look into storing details in the blockchain based on the current state of the application. Application…

  • Tweet
Read more

Solana Ride Sharing Application – Part I

Posted on September 20, 2021March 5, 2022 by Rahul Srivastava

I participated in Building out Loud Solana hackathon. It turned out to be a good learning experience. It is my first time working on a blockchain project along with Rust and ReactJS framework and it took me some time to understand all of it. Let’s start with the final product. Here is the Github link…

  • Tweet
Read more

Calculate closest point of box2d body in libgdx

Posted on June 8, 2019December 4, 2023 by Rahul Srivastava

In this tutorial we will calculate closest point of a contact of a body from another point in box2d in libgdx. In last two tutorials, one using BoundingBox and other using Raycast we queried box2d to get list of nearby bodies. This was used to imitate explosion effect in libgdx. In bounding box we got…

  • Tweet
Read more

Add Explosion in Box2D using Raycast in libgdx

Posted on June 2, 2019December 4, 2023 by Rahul Srivastava

In the previous tutorial, we added an option to get list of bodies around the player using QueryAABB method present in box2d in libgdx. This method gives list of all bodies in a bounding box. So it is helpful in giving details of bodies in blast radius. Though the issue is that the bounding box…

  • Tweet
Read more

Add Explosion in Box2D using BoundingBox in libgdx

Posted on June 2, 2019December 4, 2023 by Rahul Srivastava

In the previous tutorial we added a rotating shield to our player. The shield object would move in uniform circular speed around the player object. The shield was a kinematic body so that we can set velocity every frame to control its movement. In this tutorial, we will learn how to add an explosion using…

  • Tweet
Read more

Move Box2d Body In Circular Path in Libgdx

Posted on May 21, 2019December 4, 2023 by Rahul Srivastava

Recently there was a need to have a body rotate around another moving body, sort of like a shield. To achieve this functionality, initially we thought of using a revolute joint, available in box2d in libgdx. For revolute joint we would need a base or pivot body around which another body can rotate at a…

  • Tweet
Read more

Using Scoreoid with Libgdx/Desktop

Posted on April 1, 2013December 20, 2023 by Rahul Srivastava

In January we wrote a post on how to integrate scoreoid in Libgdx for Android. In this post we would be integrating it for the desktop/PC version. For parsing JSON we are using the source code available in this link JSON in Java. Here is the Github link. In this post we would only explain…

  • Tweet
Read more

Posts navigation

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
©2025 Rotating Canvas Games | Built using WordPress and Responsive Blogily theme by Superb