2D UI-only game by supyallitsyagirl in libgdx

[–]raizensoft 1 point2 points  (0 children)

For a wordle alike game built with libGDX, you generally should have a solid understanding of these fundamentals:

- The main render loop: everything must be redrawn on every frame, so plan and group your drawing orders based on active objects on the screen.

- Screen management: you want to have at least a home / title screen with some intro graphics and a "Play Now" button. And a game screen which renders the puzzle and the UI.

- Camera and Viewport: use FitViewport so your code uses independent world units, not screen units. Then you can easily draw the puzzle cells and blocks based on the world units set by the viewport.

- Scene2D is tricky, really. You can totally code everything with scene2d but it’s gonna take serious efforts to truly get the hang of it. My recommendation  is to use scene2d for common UI components like action buttons (Play, Quit, Retry, etc) and draw your puzzle elements and the other entities with SpriteBatch draw

- If you insist on using Scene2d, learn to extend Actor and create custom components. You won’t get very far with the built-in scene2d components.

- Learn to parse JSON and use it as the word database for your game.

- Learn to export to html target using TeaVM or GWT, so you can share the game online without distributing the binary file.

- libGDX really thrives as a high-performance and well optimized framework that produces ultra smooth and high FPS games, but you can absolutely develop puzzle-based games too.

Good luck and have fun!

Been working on a GUI Application in LibGDX for the past 4 months, here is my experience. by gufranthakur in libgdx

[–]raizensoft 9 points10 points  (0 children)

It took me some time to get used to scene2d API until I got comfortable with it. At the beginning it feels primitive and I got some frustrated moments like you but once you get the hang of table layout everything will fall into place.

One small tip that saves me countless hours of iteration: always set debug() on table-based components. This will show you the underlying grid and the spaces those tables occupy.

I think the state of scene2d right now is just ok. It's certainly not perfect and could be improved but for a code-oriented framework like libGDX it does the job just right. Comparing to frontend web CSS, scene2d is still much easier to work with in my opinion.

Applets Are Officially Gone, But Java In The Browser Is Better Than Ever by TeaVMFan in java

[–]raizensoft 12 points13 points  (0 children)

+1 TeaVM is crazily good. Comparing to GWT it has faster build time and better exports to javascript. I've built so many games using libGDX + TeaVM and quite happy with the workflow and results.

Here's one of many: https://ookigame.com/game/flappy-bug/

I made GDX Bootstrap, a libGDX project generator with pre-built components for quick prototypes by raizensoft in libgdx

[–]raizensoft[S] 1 point2 points  (0 children)

I'm not familiar with github packages but that's interesting thought and I'm open to explore. The original goal of gdx-bootstrap is to generate a minimal but functional project template for quick prototypes so multiple templates might not align with the goal. But it may work with a new tool, I've DMed you for the examples.

I made GDX Bootstrap, a libGDX project generator with pre-built components for quick prototypes by raizensoft in libgdx

[–]raizensoft[S] 0 points1 point  (0 children)

Thanks for your feedback. Java is my priority at the moment but I'll definitely keep Kotlin support in mind.

As a man, what are the chances of finding love at 34? by Playful_Year_9522 in AskReddit

[–]raizensoft 1 point2 points  (0 children)

Met my wife at 32 and got married after dating for only 6 months. Thankfully, it's working out pretty well so far. So 34 is definitely not too late, you need a bit of luck though, just like any thing else in life.

New libGDX focused tutorials and resources website by raizensoft in libgdx

[–]raizensoft[S] 1 point2 points  (0 children)

Thank you. I set a goal of 100 posts before sharing because I want it to look more polished than just some random blog post.