Jump to content
Karl G

Text Minikernel

Recommended Posts

That's perfect!! I just can't explain what this means for this game!

 

Oh my god, this has just made everything possible I've wanted.

 

How many lines of text can I use?

 

You can do 21 lines unless the "extendedtxt" constant is set. See this post for details on that. I plan on releasing better documentation soon.

  • Like 2

Share this post


Link to post
Share on other sites

A user's guide has been added to the first post. I will add the section on DPC+ once I release the next version which should add support for that kernel.

  • Like 2

Share this post


Link to post
Share on other sites

A user's guide has been added to the first post. I will add the section on DPC+ once I release the next version which should add support for that kernel.

The guide is very good, I'll post my results using your new tool after the weekend for you to see, and give you the best feedback I can :)

Share this post


Link to post
Share on other sites

I just posted a manual. Text is loaded from a data table. Technically you could use RAM and build messages on the fly, but you would need 12 consecutive variables.

  • Like 2

Share this post


Link to post
Share on other sites

Well, more so when I do the 24 character version of this, I think. Making a full screen text bB kernel has been discussed, though.

  • Like 3

Share this post


Link to post
Share on other sites

I'm surprised no one has asked for a version that scrolls. :D

 

I'd probably never use that version. If I make a game that is similar to ET, I could use words instead of symbols to tell players what zone they are in.

  • Like 1

Share this post


Link to post
Share on other sites

Well, more so when I do the 24 character version of this, I think. Making a full screen text bB kernel has been discussed, though.

I am not sure if its the mini kernel or not, but Im having to constantly write the background colour to the game to avoid id defaulting to black.

Share this post


Link to post
Share on other sites
Version 0.6 is up. This version adds DPC+ kernel support, and the user's guide has been updated with instructions on how to use this minikernel with a DPC+ kernel. I've placed everything in a zip file, with DPC+ in its own subdirectory, and added it to the first post.


Here's a hacked version of RT's 13-object demo using the text minikernel to show what object is currently selected.



  • Like 6

Share this post


Link to post
Share on other sites

 

Version 0.6 is up. This version adds DPC+ kernel support, and the user's guide has been updated with instructions on how to use this minikernel with a DPC+ kernel. I've placed everything in a zip file, with DPC+ in its own subdirectory, and added it to the first post.
Here's a hacked version of RT's 13-object demo using the text minikernel to show what object is currently selected.

 

 

If I am not using DPC, is there any benefit to upgrading the version? Thank you.

Share this post


Link to post
Share on other sites

 

Version 0.6 is up. This version adds DPC+ kernel support, and the user's guide has been updated with instructions on how to use this minikernel with a DPC+ kernel. I've placed everything in a zip file, with DPC+ in its own subdirectory, and added it to the first post.
Here's a hacked version of RT's 13-object demo using the text minikernel to show what object is currently selected.

 

 

Great! looking forward to trying this out.

Share this post


Link to post
Share on other sites

If you aren't using DPC+, the only thing different in this version is the fix to clear out the NUSIZx registers before exiting the minikernel.

 

As for the text positioning being slightly off-center, the short answer is that the text minikernel lines up with the bB score, which is also slightly off-center.

 

The longer answer is that I do this not just so that it will look better paired with bB's score (though this is a good reason, too), but also to save lines, and therefore processing time by doing the positioning code for the sprites that make up both the score and the minikernel only once. bB's score code is famously a bit off-center, and it wasn't until I started to dig into the code myself that I understood why: it has to do with the timing needed to also display the pfscore bars.

  • Like 2

Share this post


Link to post
Share on other sites

Ok cool.

 

I can use it as an 11 character to offset manually, however, could there be an option when you turn off the score for it to move central? Thanks again.

 

I think I can do that. I'll give it a shot.

  • Like 1

Share this post


Link to post
Share on other sites

Ok, here is an odd one. Since installing the mini-kernel and going to a pflines = 7 solution, both the P0 and the P1 refuse to line up like they did before. Is this a bug possibly?

post-51113-0-97738600-1550349769_thumb.png

Edited by EvoMikeUK

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...