The Daily Click ::. Forums ::. Klik Coding Help ::. Text blitter Bubble and scrolling
 

Post Reply  Post Oekaki 
 

Posted By Message

HorrendousGames

Sourpuss

Registered
  31/10/2009
Points
  481

VIP MemberEvil klikerGame Of The Week Winner
11th July, 2011 at 00:27:55 -

I seem to be having an issue when I'm using the text blitter bubble while scrolling, I can't seem to find anything on this anywhere.

On a frame the size of the resolution, it works just fine, but I move out of that area, it places the bubble in a random spot. I also tried the speech bubble object, but it looks terrible, and no matter what I do with it, it's all jumpy (like showing the tail in the wrong spot for a flash before it corrects itself).

 
/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/
That Really Hot Chick
now on the Xbox Live Marketplace!

http://marketplace.xbox.com/en-US/Product/That-Really-Hot-Chick/66acd000-77fe-1000-9115-d80258550942

http://www.create-games.com/project.asp?view=main&id=2160

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
11th July, 2011 at 01:03:25 -

That's no good at all! If you post the mfa file and I'll have a look at it. Have you tried the Character Image extension? I find it much easier to use that the Text Blitter extension.

Edited by Chris Burrows

 
n/a

HorrendousGames

Sourpuss

Registered
  31/10/2009
Points
  481

VIP MemberEvil klikerGame Of The Week Winner
11th July, 2011 at 01:20:59 -


Originally Posted by Chris Burrows
That's no good at all! If you post the mfa file and I'll have a look at it. Have you tried the Character Image extension? I find it much easier to use that the Text Blitter extension.



Have not tried the Character Image extension, but I'll give it a whirl, my text is brought in externally anyways, so it's not too difficult to swap the extension I'm using, provided it does give a similar, if not better, effect and works.

I'm not entirely comfortable giving out my source code as of yet, but here are some screens of the only code that uses the text blitter, and the effect it has in the game. I've tried messing around with some of the options in the text blitter menu, however with no avail. The text blitter stays on screen just fine with no issues, however, it only has a problem with the bubble itself. I've tried enabling the follow the frame option too, but that just distorts the image for some reason? My only guess is that it's an error in the code inside the extension directly.

Image
Image

 
/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/
That Really Hot Chick
now on the Xbox Live Marketplace!

http://marketplace.xbox.com/en-US/Product/That-Really-Hot-Chick/66acd000-77fe-1000-9115-d80258550942

http://www.create-games.com/project.asp?view=main&id=2160

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!
11th July, 2011 at 03:57:12 -

Ooh, I've run into this problem before. It's a little annoying.

The solution I found first requires the "Set balloon" to be a constant action, rather than one-time. I don't know which you're doing right now, but it's important that it resets the balloon every frame.

Then you set the balloon's co-ordinates to whatever it is minus the edge of the screen. So the balloon co-ordinates " X( "Active" ) , Y( "Active" ) " would become " X( "Active" )-X Left Frame , Y( "Active" )-Y Top Frame "

Furthermore, you might run into some weird masking issues if the object's "Follow the frame" property is disabled. Which it is by default.

 
Go Moon!

HorrendousGames

Sourpuss

Registered
  31/10/2009
Points
  481

VIP MemberEvil klikerGame Of The Week Winner
11th July, 2011 at 05:45:52 -


Originally Posted by Fifth
Ooh, I've run into this problem before. It's a little annoying.

The solution I found first requires the "Set balloon" to be a constant action, rather than one-time. I don't know which you're doing right now, but it's important that it resets the balloon every frame.

Then you set the balloon's co-ordinates to whatever it is minus the edge of the screen. So the balloon co-ordinates " X( "Active" ) , Y( "Active" ) " would become " X( "Active" )-X Left Frame , Y( "Active" )-Y Top Frame "

Furthermore, you might run into some weird masking issues if the object's "Follow the frame" property is disabled. Which it is by default.



Nope, no dice. Was your code off maybe? Do you maybe have an example on hand of where you've fixed this issue?

EDIT: for the hell of it I tried it on a similar event that doesn't use the player coordinates, but just screen coordinates, and it worked... interesting?

EDIT 2: Haha ha... It wasn't showing up because I forgot to make it reappear... ugh... not my greatest moment. Gracias senior!

Edited by HorrendousGames

 
/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/
That Really Hot Chick
now on the Xbox Live Marketplace!

http://marketplace.xbox.com/en-US/Product/That-Really-Hot-Chick/66acd000-77fe-1000-9115-d80258550942

http://www.create-games.com/project.asp?view=main&id=2160
   

Post Reply



 



Advertisement

Worth A Click