text/assci

This forum is dedicated to those who want support programming in ugBASIC.
Questo forum è dedicato a chi desidera supporto per programmare in ugBASIC.
Ce forum est dédié à ceux qui souhaitent prendre en charge la programmation en ugBASIC.
Post Reply
zartan917
Posts: 14
Joined: Fri Mar 28, 2025 1:42 pm

text/assci

Post by zartan917 »

hi i have an idea instead of picture graphx im thinking of making art using just text. is there a way to put a letter in the middle with spaces like
" h " or another way to create text visuals. if ascii doesnt translate well i can use regular letters. thanks
User avatar
ericomont
Posts: 36
Joined: Sun Oct 08, 2023 11:31 am

Re: text/assci

Post by ericomont »

As far as I know doing a PRINT " h " will get to exactly that. You can use @ or AT or LOCATE to position it.
You can change fonts and its size. Currently you can't change the character spacing (tracking) but there is a ticket for that support in future.
On another front, you can load a set of bitmap graphics and work them out to be your font, that way you may do whatever you please with it.

On the Color Computer, one can POKE characters on the screen and those values can be declared or DATA.
Simon Johnansen did a text/semigraphics web editor that works as a text paint app and export the data to be used in BASIC.
zartan917
Posts: 14
Joined: Fri Mar 28, 2025 1:42 pm

Re: text/assci

Post by zartan917 »

I see. i tried an ascii copyright © but it doesnt show at least on c64, which uses petscii but then other computers dont have petscii. so i saw the link to the art but where is the semigraphic online editor? thank you!
User avatar
ericomont
Posts: 36
Joined: Sun Oct 08, 2023 11:31 am

Re: text/assci

Post by ericomont »

Yeah each machine with their own kind of semigraphics.
Here the online editor (TRS-80 Color Computer or Dragon):
https://daftspaniel.neocities.org/tools/sgeditremix/
zartan917
Posts: 14
Joined: Fri Mar 28, 2025 1:42 pm

Re: text/assci

Post by zartan917 »

ooo nice. so if i hit "basic" export , i can paste that into ugbasic would it work for c64 and other platforms (colecovision for instance).
do i keep repeating line 10,20 and 100
10 CLEAR2000:DIMT,A:CLS
20 FORT=1024TO1535:READA:POKET,A:NEXT
100 A$=INKEY$:IFA$="" THEN100
for each "Screen/scene" I make? Id like to have a bunch of different arts. Thanks!
User avatar
ericomont
Posts: 36
Joined: Sun Oct 08, 2023 11:31 am

Re: text/assci

Post by ericomont »

Unfortunately that editor works only for the TRS-80 Color Computer.
The basic export is Disk Extended Color Basic native to that computer.
That code will run and display the image if executed on the respective emulator.

The code can easily be converted to ugBasic though, and the other save modes will give you pure data which could be more useful.
I'm not currently aware of art-text editors for other platforms but I think I have stumbled on some in the past, can't remember.
zartan917
Posts: 14
Joined: Fri Mar 28, 2025 1:42 pm

Re: text/assci

Post by zartan917 »

thank you! Ill keep tweaking my ideas :)
Post Reply