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

Tag: LibGdx

Using Box2d Debug Renderer in Libgdx

Posted on October 8, 2012December 4, 2023 by Rahul Srivastava

This is an update to the older example (“using Box2d in Libgdx”) we put in the post here. We added box2d debug renderer to the code which is very simple to add and useful in seeing how box2d objects look like. In all of our example the objects we create in Box2d are scaled down…

  • Tweet
Read more

Fragment Shader to Simulate Water Surface in LibGdx

Posted on September 27, 2012December 4, 2023 by Rahul Srivastava

In this tutorial we would simulate foreground water similar to the ones we see in many platformers. This shader is written in OpenGL Shading Language, so they can be applied in all environments using OpenGL for rendering and for DirectX it has be changed a bit but basic concept would remain the same. At the…

  • Tweet
Read more

Drawing Part of Image in Libgdx

Posted on August 3, 2012December 4, 2023 by Rahul Srivastava

Hi, Its been long since we wrote any post about game development. In this post we would be writing a snippet to draw a part of image which can be used to simulate effect of health bar we see in game huds. We needed to this functionality in our next game though in a little…

  • Tweet
Read more

New Game For Android Market – Choozak

Posted on July 13, 2012December 4, 2023 by Rahul Srivastava

Hi, We have released a new Puzzle Game in Android Market – “Choozak” pronounced “Choozak“. Description:- Guide choozak, our hero, the egg with a helmet into its nest. There are some evil, dastardly, out of context enemies trying to stop him and also a timer. You have the creator’s power to change his path by…

  • Tweet
Read more

Adding Box2d Object in between a game

Posted on June 24, 2012December 4, 2023 by Rahul Srivastava

Hi, In our one of the previous post about adding box2d objects in game we created all the box2d bodies in the initialization phase and during the game we were just making the sensor objects (removing their collision response) so that they acted as if they were not present. We added a custom flag to…

  • Tweet
Read more

Showing Dialog in Libgdx Android

Posted on June 13, 2012December 4, 2023 by Rahul Srivastava

Hi, In this small post we would write on how to show android dialogs in libgdx code. It is pretty simple. We used dialogs when we had some processing going on or while changing screens. Create A Dialog: <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:orientation=”vertical” > <ImageView android:id=”@+id/imageWaitDlg” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:src=”@drawable/pleasewait” android:contentDescription=”@string/waitString” /> </LinearLayout>…

  • Tweet
Read more

Moving Platforms in Box2d in a Specified Path

Posted on May 22, 2012December 4, 2023 by Rahul Srivastava

Hi, In one of the previous post we moved a platform from a point A to point B and then back to point A and so on. In this post we would expand on it and move it in specific path which has more than 2 points which we find in many platformers like mario…

  • Tweet
Read more

Integrating Open Feint in Android

Posted on May 12, 2012December 4, 2023 by Rahul Srivastava

Hi, In one of the previous post we had mentioned how to integrate Scoreloop in Android. This time we would be talking about integrating Open Feint as in our game Balloon Shooter we had used open feint for global scoreboard. First make an account in Open Feint and add a game to it. You would…

  • Tweet
Read more

Box2d/Libgdx Example Code

Posted on May 8, 2012December 4, 2023 by Rahul Srivastava

Hi, We are uploading source code of a simple box2d-libgdx example. Here is the FileĀ In the attachment you would find three projects :- BoxLibgdxExample BoxLibgdxExample-desktop BoxLibgdxExample-android UPDATE :- The example now contains box2d debug renderer also which can be used to render box2d objects. Copy them in your eclipse workspace and import the projects in…

  • Tweet
Read more

Using Box2d in Libgdx Game Part III

Posted on April 22, 2012December 4, 2023 by Rahul Srivastava

Hi, In this post we would make a box2d object manager to handle creation/deletion of objects. First we would make some changes in the BaseBoxObject class made in the last post to add option of deleting an object from the world and also an abstract function to draw the texture which would have to be…

  • Tweet
Read more

Posts navigation

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