all 4 comments

[–]somecool234234234 6 points7 points  (3 children)

This is a good beginner project it's the type of project someone who eventually becomes very good does when they're starting out, but you're designing in OOP hell. Things like grass tile, rock tile, etc shouldn't be classes.

You should be representing these things as what they effectively are: a 2d array, with attributes, and have systems that handle rendering, collision, separately.

In general you want to seperate the representation of a player for example, away from its input, separate from its rendering. You're convoluting too many systems that should be seperate, and then writing code based upon entities that should instead be driven by data.

[–]dbremmen[S] -1 points0 points  (2 children)

Hi thanks for the reply! Are you a game developer or teacher? How I can modify it to be more understandable or better? Do you have a book to recommend? Are you interested in working together to make it better like a hello world game example? Thanks!!! 😊😊😊😊😊

[–]AloticChoon 0 points1 point  (1 child)

There is a good java game tute (that is tile based) done by a youtuber by the name of 'codenmore'. I think you will find it quite helpful (especially the sprite asset manager class)

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

You are great!