Jump to content
miningmanna

LRR remake project

Recommended Posts

miningmanna
3 hours ago, Erisdar_Skolir said:

I realize my last post was a little ambiguous, so example time.

https://github.com/ErisdarSkolir/LRR-remake/tree/entity_component_system_prototype

 

Credit to

https://github.com/adamgit/Entity-System-RDBMS-Beta--Java-

for the entity manager code.

 

I partial refactored an ECS system into a fork of your project as it stands on github. I have lws animations working, but I didn't mess around with too much else.

A lot more could be optimize/organized, especially in the loader classes, but this was just a small example of how an ECS system could better organize this project.

Also recognize it isn't a complete ECS example because logic still exists within the components, but that is just due to me not wanting to completely refactor data classes such as the LwsAnimation file. A real implementation would change those files to just be structs (or as close to structs as you can get in java) and move all the logic into factory/loader classes and systems.

 

If you think it is worth looking into I can work on making a prototype engine to demonstrate scripting, better entity creation, multi-threading, etc. that an ECS would allow. Though I am definitely not touching those file formats. They scare me.

 

I'd be happy to see a little prototype, since I am a little bit unsure how to structure the final game. If it works well, I will defenitly add it to the project, and if you are interested, you can work on it. I feel more comfortable in the more "data-near" (loading files, transforming meshes, etc.) parts :)

Share this post


Link to post
Share on other sites
miningmanna

I have a little announcment to make, if anyone is interested, I will be streaming today whilst continuing the project. That would be on twitch, with the same username.

 

I had to make a little bit of a pause, since the size got out of hand.

 

Edit: I have stopped the stream now. I will do this more often.

 

I got the cursor animations loaded, and applied, though not to the cursor, but to the map mesh.

I will fix the cursor tomorrow. probably around the same time

Share this post


Link to post
Share on other sites
miningmanna

So, today i got the Fonts done (the cursors are done aswell).

And I came across a problem.

 

The fonts obviusly have some kind of encoding, and I cant seem to find the right one...

I am currently using Cp850 with an offset of 32, which works for all characters except: ÄäÖöÜü and etc.

large.441504374_FontsandCursors.PNG.5461a4f8f14513c6ceb92ea45bb0b33a.PNGlarge.Encoding.PNG.e5fb73daac150bfb1ca064e7ba2ed53d.PNG

 

Does anyone have an idea, what the encoding could be?

I tried looking at some different ones, but I couldnt find one, that fits perfectly.

 

Elsewise I will convert it to the right encoding myself, but that would be kind of tedius, since there arent many references to look at.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.