It depends on the file type, I don't know of a library that does a wide variety of formats but most formats are not th.at difficult to write a reader yourself. There may be something I don't know of course

I do a similar thing to what you are doing. I have a single texture and have a maximum size of the vbo which I set at the beginning. The issue with a text editor type of scenario is that at some point I will get to the end of the vbo and I will require more space. The obvious thing to do is have multiple vbo's and to keep adding more as the text grows.

I am after some views / ideas / suggestions for alternative ways to the above, I am not familiar with enough later 3.0 functions and 4.0 functions to know if there more optimal ways of doing this

Is there an existing solution to pull artist metadata from a Java File? I would like to strip the artist name, length of track, etc... from a file, an initial Google search didn't turn up too many good solutions and I figured some of you guys might have an idea. I've only seen Apache Tika, seems like it might work but I wanted to get other opinions first.

Are you talking about the Universal Tween Engine(aurelienribon), or the built in tween engine within libgdx(Interpolation)? Either way I personally haven't come across a use case for either yet that wasn't something I could have easily done myself or through Actors. In your example of using tweening for screen's, this is something you could achieve with the built in Actors which have Actions. For example I use Actor.Actions in order to fade/move/rotate various entities. For example the fading effect on my splash screen is simply:

So you can get away with a lot in terms of just using the Actors within LibGDX without having to worry about using a tween engine.

For your second question, this really just depends on how you want to approach your design. I don't personally use tweens for player movement, but instead move a player around by their Vector2 position, which is variable of Vector2 velocity. From there I can modify the players position by adjusting their position.x and position.y, likewise with velocity. If your moving via velocity, you can add that to your position data as such:

1

position.add(velocity.cpy().scl(Gdx.graphics.getDeltaTime() * SPEED)); // Updating position of player

I hope that helps This post was a bit broad so I kind of pulled out my shotgun and spray fired a little.

If you still get ConcurrentModException, you are iterating over itemList somewhere else

That is the most plausible cause if the issue still persists after replacing the first loop with "itemList.clear();"

His second loop looks correct to me, only thing that is redundant is the "if(!MapManager.isLoading)" statement because the loop gets executed anyway, "MapManager.isLoading" always gets set to false in the first block when it is true in the beginning.

You (ususally) cannot remove objects from a collection you are currently iterating over. If you want to clear a list completely, use .clear(). Otherwise, create a list where you collect references to the entitites you want to delte in a first iteration and delete them in a second iteration with .remove(entity).

To be more precise:

for(int i = 0; i < itemList.size(); i++){ itemList.remove(i);}

can be replaced with itemList.clear();

If you still get ConcurrentModException, you are iterating over itemList somewhere else

It may sound weird, but I somehow feel that the home-, x- and play button are too "edgy". They just don't look very smooth according to my eyes (Sorry, I'm a petty person). About the fancy part, I would just try to change the color a bit. Maybe some orange/red to still stand out from the level enviroment.

Aside from pointing out irrelevant things no one else probably cares about, I found a few bugs:

In the 4th world (pink alien) level 5 and 6 are exactly the same

My game crashes when I want to start the last level in the last world(yellow alien)

I created a simple system to change levels. Upon reaching level 2 I get a concurrent modification error any time I try to erase all the objects in my list. Using an iterator doesn't work, using ArrayList.clear() doesn't work either. Iv'e exhausted all my options as a nub, what gives?

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org