Skip to content

Betalord's playground

My personal code snippets site

  • Home
  • Blog
  • About
  • Login
Search

Betalord's playground

My personal code snippets site

Close menu
  • Home
  • Blog
  • About
  • Login

Betalord's playground

My personal code snippets site

Search Toggle menu

Category: Article

July 1, 2023July 1, 2023Article

IQ test answers from idrlabs.com

I was solving this small (and not very good test I think) from idrlabs.com and thought I would share the answers as […]

June 20, 2023June 20, 2023Article

Process 9-patch image file manually

Recently I had to load .9.png file manually (a nine-patch) and create a NinePatch object out of it in libGDX. Since libGDX […]

May 17, 2023May 17, 2023Article

Titan Evo 2022 chair rant

Writing code consists in sitting on a chair, which is a surprisingly important element of the development process (who would of thought?). After […]

April 17, 2023April 17, 2023Article

Full-screen mode in libGDX

Recently I switched from LWJGL2 to LWJGL3 backend for my desktop app and had to adopt full-screen switching code since LWJGL3 handles […]

April 5, 2023April 5, 2023Article

In-app user reports

Recently I had to implement user bug reporting feature. What it does is it makes possible for the user to report bugs […]

November 23, 2022April 5, 2023Article

Mouse cursor

Mouse cursor that we load on one monitor may look very small on higher DPI monitors, that is why we should load […]

November 19, 2022April 5, 2023Article

Smooth line drawing (without shader)

The question is: how to draw smooth line (antialiased) with libGDX without using shaders and by using Batch (normally SpriteBatch) without needing […]

October 14, 2022April 5, 2023Article

Is actor in front of another?

Actors in LibGDX have a z-order, which is basically just their position in the Stage’s children list. Actor’s methods toFront() and toBack() […]

Recent Posts

  • IQ test answers from idrlabs.com
  • Process 9-patch image file manually
  • Titan Evo 2022 chair rant
  • Full-screen mode in libGDX
  • In-app user reports

Archives

  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • October 2022

Categories

  • Article
© 2026 Betalord.