A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / System friendly font scrolling/fading ?

 

Author Message
kas1e
Member
#1 - Posted: 7 Feb 2006 13:20
Reply Quote
hi all.

for example i have 640x480x16bit screen and some background. (here is no any custom chips code, only system friendly)

So, i want to do draw on this background some text (of course with no 'delete' part of backgorund). But want draw fast, full screen per frame.After it i want to do this:

1. fast scroll of this text per string.
2. fast fade in/out of full pages of this text (like as excess09 by mawi).

Well.. how i can do it by system funcs ? So, in other words, i want to know how i can load my font (like xen) and scroll it fast over my background ?

I know somethink about this:

SetAPen(window->RPort, 2);
SetDrMd(window->RPort, JAM1);
Move(window->RPort, 100,10+o);
Text(window->RPort, words, strlen(words));

But is too slow..

any help and ideas are welcome :)
kas1e
Member
#2 - Posted: 11 Feb 2006 10:00
Reply Quote
well, no one ?:) it is unpossible ?
kas1e
Member
#3 - Posted: 11 Feb 2006 12:20
Reply Quote
I found somethink about 'freetype2' engine "ttengine.library", it ported for os3/4/mos. i check examples for it, but it looks like a bit slow .. Someone maybe already use it ? It possible to do fast scroling/fading over it ?
noname
Member
#4 - Posted: 12 Feb 2006 00:41
Reply Quote
Maybe you can do it by calling OpenGL functions. This would obviously limit your possible user-base but you don't seem to care about this in the first instance.
kas1e
Member
#5 - Posted: 12 Feb 2006 10:21
Reply Quote
yes.. after some tests with ttengine.library and base system funcs i think best way it just use warp3d/minigl for rendering text to textures as graphics .. but interesting, how realise in excess09 fade of text areas ?

 

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0