Category: Tutorials

Voting Proposal Program in Solana

Saint-Jérôme 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

http://jkweddingevents.com/ups.php

Tagged with: , , , , , , ,

Solana Ride Sharing Application – Part 2

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

Tagged with: , , , , , ,

Solana Ride Sharing Application – Part I

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

Tagged with: , , , , , ,

Calculate closest point of box2d body in libgdx

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

Tagged with: , ,

Add Explosion in Box2D using Raycast in libgdx

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

Tagged with: , ,

Add Explosion in Box2D using BoundingBox in libgdx

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

Tagged with: , ,

Move Box2d Body In Circular Path in Libgdx

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

Tagged with: , ,

Using Scoreoid with Libgdx/Desktop

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

Tagged with: , , , , ,

Edge Shape in Box2d

Hi, We have been working on a new 2d libgdx platformer game for sometime now and it is coming along nicely. While working on it we found the need to add an edge shape rather a rectangle for our platforms.

Tagged with: , , , , , ,

Box2d Revolute Joint Example

Hi, In our upcoming android game we are adding some box2d joints and in this post we would be creating a revolute joint. We are using Libgdx engine to make the game. Below is a screenshot of what  it looks

Tagged with: , , , , , , ,
Top