Realm667 / Re-Releases

Overhauls of famous Realm667 projects
24 stars 12 forks source link

[TCotD2] Journal and objectives system #116

Closed nashmuhandes closed 11 months ago

nashmuhandes commented 1 year ago

This is one of the big ones that I want to add, before I consider my obligations to this project as "done".

I'd like to add an in-game journal that will keep track of player objectives and may some other misc info.

I already have working code for this from another project, I just gotta port it over and reskin the interface to look like a journal/book.

This will require some edits to the map to remove the linedef + ACS-based "letter reading" script.

I have not started on this yet so it is safe to continue editing the map. When I want to start on this, I will announce it to make sure our works to the WAD do not collide

nashmuhandes commented 1 year ago

Implemented. Press F1 in-game, or use the journal from the inventory bar.

Let me know your thoughts.

Some issues I'm already aware of:

Some other considerations:

- Font looks very aliased and dirty with no texture filtering in the journal page (NOT the note reader). Either increase font scale, or use a different font (something more handwriting-looking?). This problem doesn't exist when texture filtering is used (for obvious reasons) Fixed

Tormentor667 commented 1 year ago

Brilliant implementation so far.

Blue-Shadow commented 1 year ago

Make the text tan, not blue, ...

Is this color acceptable? It doesn't exactly match the color in your screenshot, but it's the closest to it from the stock colors available in GZDoom.

jy6894

Tormentor667 commented 1 year ago

That’s perfect

Blue-Shadow commented 1 year ago

Done.

Tormentor667 commented 1 year ago

Thank you!

Tormentor667 commented 1 year ago

After taking a look at it once again after playing the mod, I really think we are done with it. Looks awesome and works perfect in my eyes. Feel free to reopen if you feel different @Blue-Shadow @Ozymandias81 @nashmuhandes but I think we are done here.

Blue-Shadow commented 1 year ago

Font looks very aliased and dirty with no texture filtering in the journal page (NOT the note reader). Either increase font scale, or use a different font (something more handwriting-looking?). This problem doesn't exist when texture filtering is used (for obviosu reasons)

I'd like to see this resolved if possible, because I don't run the game on a high screen resolution (960x600 is what I use), and I don't use texture filtering because I generally dislike it (at least when playing Doom and the like). So this is how the journal looks for me (click on the screenshot to see it in full size).

akdafkahdf33r43

The text is pretty much illegible.

Tormentor667 commented 1 year ago

Yes, good point. I have no idea what could be done about it though

nashmuhandes commented 1 year ago

Journal UI code needs a lot of fixes but I am currently undergoing heath issues (already personally messaged Torm beforehand) this is something that should be left to me to fix when I come back in a couple of weeks perhaps

Tormentor667 commented 11 months ago

@nashmuhandes here as well - do you think that it's even possible to get this sorted before the release?

nashmuhandes commented 11 months ago

@nashmuhandes here as well - do you think that it's even possible to get this sorted before the release?

The journal needs some rework to address all the problems mentioned in this thread, I hope to complete them ASAP

nashmuhandes commented 11 months ago

Font looks very aliased and dirty with no texture filtering in the journal page (NOT the note reader). Either increase font scale, or use a different font (something more handwriting-looking?). This problem doesn't exist when texture filtering is used (for obviosu reasons)

I'd like to see this resolved if possible, because I don't run the game on a high screen resolution (960x600 is what I use), and I don't use texture filtering because I generally dislike it (at least when playing Doom and the like). So this is how the journal looks for me (click on the screenshot to see it in full size).

akdafkahdf33r43

The text is pretty much illegible.

I've made the journal and text larger on the screen - let me know if it's any better. :)

(still need to do scrollbars and finally keyboard/gamepad support... that will come later)

Blue-Shadow commented 11 months ago

I've made the journal and text larger on the screen - let me know if it's any better. :)

Miles better! I can actually read the stuff now.

Tormentor667 commented 11 months ago

Same here, it's a very good improvement.

nashmuhandes commented 11 months ago

Don't close this yet, there's still several issues left LOL

nashmuhandes commented 11 months ago

Added keyboard/gamepad navigation. Now all that's left is scrolling and scrollbars.

Good lord, UI coding is pure suffering LMAO

Tormentor667 commented 11 months ago

Someone should create a framework for GUIs...

nashmuhandes commented 11 months ago

Someone should create a framework for GUIs...

There already is one, it's called ZForms and TCOTD's journal is precisely using it. :P It's still not as simple as a WYSIWYG editor though :P But it's hell of a lot better than not having ZForms at all

Tormentor667 commented 11 months ago

With "framework" I mean something like a WYSIWYG environment for people like me :)

nashmuhandes commented 11 months ago

I ultimately had to scrap the idea to implement scrollbars as I simply don't have the time and resources left to do it, but I did implement clickable buttons that simply scroll the pages up and down.

With this, the journal is technically feature complete and fully operation for all users of mouse, keyboard or gamepads, therefore I am closing this thread