Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Selba Ward  (Read 34044 times)

0 Members and 1 Guest are viewing this topic.

Hapax

  • Hero Member
  • *****
  • Posts: 2776
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Selba Ward
« Reply #30 on: January 02, 2016, 09:43:56 pm »
Added new object: Console Screen

Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Selba Ward
« Reply #31 on: January 02, 2016, 10:00:02 pm »
Great work Hapax!

hobby

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Selba Ward
« Reply #32 on: January 02, 2016, 10:52:04 pm »
Added new object: Console Screen


Impressive, even the character set matches. Brings back memories of memcpy'ing junk to (far *) 0xb8000000... Only missing is blinking support ;)

Mortal

  • Full Member
  • ***
  • Posts: 246
    • View Profile
Re: Selba Ward
« Reply #33 on: January 02, 2016, 10:55:55 pm »
it looks awesome, good job  :)

SpeCter

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: Selba Ward
« Reply #34 on: January 02, 2016, 11:01:30 pm »
This could be particularly helpful maybe for  Slice 9(aka 9 Patch):
http://renderhjs.net/shoebox/

Hapax

  • Hero Member
  • *****
  • Posts: 2776
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Selba Ward
« Reply #35 on: January 03, 2016, 06:13:47 pm »
This could be particularly helpful maybe for  Slice 9(aka 9 Patch):
http://renderhjs.net/shoebox/
I had a look at this. Not sure how much help you need to make Nine Patch textures, though. Just mark the black pixels where they can stretch  :P

Great work Hapax!
Thanks!

it looks awesome, good job  :)
Thanks!

Impressive, even the character set matches.
I created the texture myself...from a screenshot of a Windows console after printing out the entire ASCII set:

It was edited to change the characters from the default grey to the final perfect white.
Afterwards the background was removed (not in the image shown above) to allow just the characters to be used in Console Screen, since Console Screen can display its own cell backgrounds.
(click to show/hide)

Console Screen has been around for a while - I used it to display the (bitmap) text overlay UI in Faux Car and I used it to display the tile map when creating the base for a platform game - but I rewrote it (line by line) for Selba Ward. Although, in the future, Faux Car would probably use Selba Ward's Bitmap Text instead, and the platform game would probably use Selba Ward's Tile Map (still to come!). This version of Console Screen doesn't have all of the features of the original version but I plan to reintroduce them over time (not too long, hopefully!)

EDIT: corrected paste error in code inside spoiler
« Last Edit: January 03, 2016, 07:49:23 pm by Hapax »
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

SpeCter

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: Selba Ward
« Reply #36 on: January 03, 2016, 06:55:39 pm »
Argh I forgot that you have to mark them with your system:D

Hapax

  • Hero Member
  • *****
  • Posts: 2776
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Selba Ward
« Reply #37 on: January 03, 2016, 07:53:14 pm »
Argh I forgot that you have to mark them with your system:D
Have to? I'd argue that the convenience of just adding - visually - the area that you wish to use in a standard image file can be simpler than using meta-data along with a custom file type  :P
The software you linked to, by the way, also creates the version with the black line guides. At least, it mentions that it should but it "doesn't work yet but it will". ;D
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

SpeCter

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: Selba Ward
« Reply #38 on: January 03, 2016, 08:05:38 pm »
Hehe, I didn't intend to make it sound negative, I just forgot that you have to do it that way if you intend to use your system.
I just worked without the black bars so far, so it feels more "natural" to me to use text files to describe which part goes where and which part is supposed to be stretching etc. which isn't supposed to mean your way is inferior, just that I didn't use it that way(until now)

hobby

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Selba Ward
« Reply #39 on: January 03, 2016, 09:43:20 pm »
I created the texture myself...from a screenshot of a Windows console after printing out the entire ASCII set
Your efforts are greatly appreciated! It's hard to describe the joy of seeing that authentic console window :)
By the way, the Hercules graphics card (and some later compatible ones) used 14x9 font that looked much better than CGA's 8x8 - you can view the bitmap here.

Hapax

  • Hero Member
  • *****
  • Posts: 2776
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Selba Ward
« Reply #40 on: January 03, 2016, 11:51:32 pm »
Hehe, I didn't intend to make it sound negative, I just forgot that you have to do it that way if you intend to use your system.
I just worked without the black bars so far, so it feels more "natural" to me to use text files to describe which part goes where and which part is supposed to be stretching etc. which isn't supposed to mean your way is inferior, just that I didn't use it that way(until now)
No worries!
I like the simple interface of the so-called Android way. You can design easily in an image editor. Either way could makes equal sense other than the fact that Selba Ward's Nine Patch does it this way!  :P

I created the texture myself...from a screenshot of a Windows console after printing out the entire ASCII set
Your efforts are greatly appreciated! It's hard to describe the joy of seeing that authentic console window :)
By the way, the Hercules graphics card (and some later compatible ones) used 14x9 font that looked much better than CGA's 8x8 - you can view the bitmap here.
Glad you like it  :)
The Windows Console that I captured was using a 8x12 font, which is what I used for that example.
I'm not sure what your link was aimed at but I didn't see the 14x9 font or 8x8 font you were referring to. There is, however, a 8x12 Windows font (or very similar) screenshot on that very page!  ;D
« Last Edit: January 04, 2016, 12:00:06 am by Hapax »
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

Hapax

  • Hero Member
  • *****
  • Posts: 2776
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Selba Ward
« Reply #41 on: January 03, 2016, 11:56:50 pm »
Added new object: Ring

Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

SpeCter

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: Selba Ward
« Reply #42 on: January 03, 2016, 11:58:57 pm »
Take a look at the ibm monitor to see the 14x9 he was referring too.

Hapax

  • Hero Member
  • *****
  • Posts: 2776
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Selba Ward
« Reply #43 on: January 04, 2016, 12:02:35 am »
The green display? It's not very clear, unfortunately. However, you can of course use these fonts in Console Screen  ;)
Also, I didn't realise at first that size was being specified height-first.
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

Hapax

  • Hero Member
  • *****
  • Posts: 2776
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Selba Ward
« Reply #44 on: January 04, 2016, 08:06:34 pm »
Just another Console Screen example.
I used it to display the code for the Ring example in front of a Ring  8)


(click on image to see full size)
« Last Edit: January 04, 2016, 08:08:08 pm by Hapax »
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter