Post Reply 
Prime retro-gaming: trek!
08-31-2024, 08:59 PM (This post was last modified: 08-31-2024 09:38 PM by komame.)
Post: #12
RE: Prime retro-gaming: trek!
Hi, Mike!

I've adjusted your (port of) game to use my terminal (tml module).

.zip  Trek_tml.hpappdir.zip (Size: 12.02 KB / Downloads: 11)

With the current font, tml can display 30 lines of 40 characters each on the screen. However, I see that this game requires a screen with more characters per line. For now, I've added extra newline characters '\n' in some texts to make long texts look sensible. Tomorrow, I will try to apply a different font that can display 64 characters per line.

Terminal initialization looks like this:
Code:
tr = tml(dark_mode = False, tab_size = 8)
Setting dark_mode to True allows for displaying white letters on a black background.
An optional tab_size parameter defines the size of the tabulator. If not specified, the default size is set to 4. See how much this has simplified the damageRpt() function.

When issuing commands, do not press Alpha; instead, directly press the key with the appropriate letter (the Alpha modifier is automatically activated for commands). Currently, there is no display of the active modifiers' status, so it is unknown which ones are active at any given time (I plan to address this in the coming days). However, for the purposes of this game, that is entirely sufficient, as there is no need to use them since they activate automatically.

I was initially going to prepare the documentation first, but I decided that adjusting the game would be more interesting, so I tackled that first. I will share the documentation tomorrow as soon as I finish it.

The 'tml' project is still in the beta phase.

Piotr Kowalewski
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Prime retro-gaming: trek! - ab3ap - 08-27-2024, 12:16 AM
RE: Prime retro-gaming: trek! - komame - 08-28-2024, 07:57 PM
RE: Prime retro-gaming: trek! - ab3ap - 08-29-2024, 04:53 PM
RE: Prime retro-gaming: trek! - jte - 08-30-2024, 01:08 AM
RE: Prime retro-gaming: trek! - ab3ap - 08-29-2024, 04:59 PM
RE: Prime retro-gaming: trek! - jte - 08-30-2024, 12:58 AM
RE: Prime retro-gaming: trek! - ab3ap - 08-30-2024, 08:49 PM
RE: Prime retro-gaming: trek! - matalog - 08-30-2024, 08:37 AM
RE: Prime retro-gaming: trek! - ab3ap - 08-30-2024, 08:59 PM
RE: Prime retro-gaming: trek! - komame - 08-30-2024, 10:34 PM
RE: Prime retro-gaming: trek! - komame - 08-31-2024 08:59 PM
RE: Prime retro-gaming: trek! - ab3ap - 09-01-2024, 08:54 PM
RE: Prime retro-gaming: trek! - komame - 09-01-2024, 01:55 AM
RE: Prime retro-gaming: trek! - ab3ap - 09-06-2024, 01:10 AM
RE: Prime retro-gaming: trek! - komame - 09-02-2024, 04:43 PM
RE: Prime retro-gaming: trek! - ab3ap - 09-02-2024, 08:17 PM
RE: Prime retro-gaming: trek! - komame - 09-02-2024, 10:36 PM
RE: Prime retro-gaming: trek! - ab3ap - 09-03-2024, 01:08 PM



User(s) browsing this thread: 5 Guest(s)