The Daily Click ::. Forums ::. Klik Coding Help ::. Text Blitter
 

Post Reply  Post Oekaki 
 

Posted By Message

Aptennap



Registered
  23/04/2004
Points
  916
28th December, 2007 at 07:39:37 -

I created the online game from Flava's article and everything works fine, except the Text Blitter. The Text Blitter shows the player names above the players and it does but when the player moves up or right it draws black lines on the screen of the other players.
Image
(On screen i started 2 apps on my pc, but i also get this problem when trying it on 2 pc's.)
Oh and the movement engine from the article doesn't seem to work properly, the player doesn't stop on obstacles.

Image Edited by the Author.

 
Oh sweet mary.

Aptennap



Registered
  23/04/2004
Points
  916
29th December, 2007 at 04:45:30 -

Please help! I can't take it anymore!

 
Oh sweet mary.

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
29th December, 2007 at 04:54:04 -

Haha, the TDC game had that problem. No idea how Flava fixed it.

 
Old member (~2004-2007).

Aptennap



Registered
  23/04/2004
Points
  916
29th December, 2007 at 05:50:51 -

I'll ask him in a dc-mail.

 
Oh sweet mary.

Fifth

Quadruped

Registered
  07/05/2003
Points
  5818

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
29th December, 2007 at 11:54:46 -

I'm guessing, for your purposes, that you don't want the Text Blitter to be displayed as a background? Because if that option's checked, there appears to be no problem...

But if you need if active (to show up over other active objects), there are ways to get around the scrolling-pasting bit. You make a second Text Blitter object, resize it to be the size of the screen, and keep it always centered as the screen scrolls. It doesn't need to have anything displayed in it, it doesn't need to be over or beneath the other Text Blitter(s) (I think), and it shouldn't cause any noticeable speed drop (as it doesn't have to test for collision). But it should prevent the other Text Blitters from making a mess.

 
Go Moon!

Aptennap



Registered
  23/04/2004
Points
  916
29th December, 2007 at 12:29:07 -

Thanks you, it worked!

 
Oh sweet mary.
   

Post Reply



 



Advertisement

Worth A Click