Home Game Development java – switching scenes in libgdx?

java – switching scenes in libgdx?

0
java – switching scenes in libgdx?

[ad_1]

I’m writing a bit one thing in libgdx to be taught extra concerning the platform. Currently, I’ve a easy generated world consists of tiles, that are simply blocks of texture drawn to the display. It’s a easy setup, however I’m questioning how would I’m going about switching to a distinct “scene”. For occasion, simply think about a participant, strolling round in a grass area, enters a cave, and bam, he’s within the cave. The world behind him has transitioned from a grass area to a cave (primarily, from one generated world to a different).

I’m not very positive how libgdx handles scenes, so if anybody can share some suggestions, I’d admire it.

NOTE: I do know it is a very broad query; proper now I’m not asking for a particular answer however moderately some suggestions to assist me strategy the thought I’m going after.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here