Groepaz wrote: > On Mittwoch 28 Oktober 2009, Karri Kaksonen wrote: > > >> Because I would like to let the scrolling text fade into the horizon in >> a smooth animation. There are lots of text effects that could be handled >> with smooth scaling. Star Wars intro is a nice one I can think of. >> >> At least the Lynx is only used for games. I do not need readable text. A >> word with a heartbeat that makes it pulsate is much more interesting. So >> I think about some simple tools to scale text up or down smoothly. In >> the current tgi_textstyle I just get twice the size or three times the >> size - no smooth size changes. >> > > may i ask how fast the cpu of the lynx is? i can tell you that atleast on the > c64 and the atari, none of the effects you mention can be done at reasonable > speed by plotting pixels into a bitmap (like tgi does). starwars scrolls are > a traditionally "hard" discipline in the (8 bit) demo world, and require LOTS > of effort to run even half decent :) > > This question is like asking about the engine power in a Rolls Royce. The correct answer is: "it is fast enough". Atari did miracles with the Lynx hardware. Actually I have already done this effect on the Lynx. The Lynx tgi driver uses the Suzy sprite engine for scaling and rendering. It can do a pretty large number of sprites at enjoyable framerate (up to 75 frames/sec). I include the code for doing this. My next Stardreamer project uses this effect for introducing the next mission. In addition to the scrolling text you can also see space debris swooping by and use the lasers to shoot the text scrolling away from you. In this text the text lines are projected to a shrinking plane instead of scaling the whole letter as one bitmap. So it is even more complex than the trivial text scale. But if the trivial text zoom had been implemented in the tgi driver I could use that feature directly for many effects. -- Karri ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.8 : 2009-10-28 08:21:25 CET