Jump to content


Photo

Character Speech


  • Please log in to reply
59 replies to this topic

#21 Ace

Ace

    GMC Member

  • New Member
  • 348 posts

Posted 13 February 2010 - 09:46 PM

If you could make this have a few frames of animation (stretch its dimensions from a minimum size to a full size) it would really rock, especially if it took into account the view while stretching. I think it would be very visually appealing if you did something like that and were able to keep it centered to some x,y coordinate (that the user could specify) such as the center of the view for example.

Do you think you could do this? I'm actually having problems figuring out the math needed for something like that last part in my own textbox display script.
  • 0

#22 Kolink

Kolink

    Almighty Shinx

  • GMC Member
  • 2351 posts

Posted 13 February 2010 - 09:51 PM

That's what I've done on my Comp05 game. I didn't add it to this because there's only so much I'm going to do for you :)
  • 0

#23 Ace

Ace

    GMC Member

  • New Member
  • 348 posts

Posted 13 February 2010 - 10:07 PM

Would you mind sharing the math you used to actually display the background centered at an x,y position? I've already got my own version I'm using, so as good as your extension is, I probably won't use it. I literally only need to correctly display something like this centered on the screen.

I'm personally not doing this for a game of any sort, I just want to add the functionality to make it available for others to use who aren't skilled with GM. I really only want to know how to center a rectangle of any arbitrary size to some x,y position. Even if you're not willing to do a good deal of work for others, I don't really mind personally. I just want the knowledge so I can do it myself. Unfortunately I kind of suck at math. :/

Edited by Ace, 13 February 2010 - 10:10 PM.

  • 0

#24 Kolink

Kolink

    Almighty Shinx

  • GMC Member
  • 2351 posts

Posted 13 February 2010 - 10:11 PM

Let w be the rectangle width and h be the rectangle height, and x and y be the coordinates of the center.
draw_rectangle( x-w/2, y-h/2, x+w/2, y+h/2, false);

  • 0

#25 Ace

Ace

    GMC Member

  • New Member
  • 348 posts

Posted 14 February 2010 - 12:09 AM

lol, that was suprisingly simple. Thanks!

It's interesting but I've created a full on platform engine and state system, and yet somehow, such simple math still seems to escape me. D:

Anyway, I also just wanted to say that even if you might not want to do too much work for people in order to encourage them to learn, you may want to rethink that attitude. Like me, some people just want to make cool games but don't quite have certain skills yet or simply don't have the time to learn them. For example, I'm just an art guy, not a computer scientist. Though game design and game art tend to be my specialty, it's tough learning everything you need to know to make games work the way you might envision them without the gritty experience of intense programming. The good thing about code (in my opinion) vs art is that, unlike a complex piece of art, complex code can be reused a lot if it's designed well. One RPG textbox differs greatly to another in terms of appearance for example, but, in functionality, as long as the same features are there in some form, they can still work the same way, even if those features are placed in very different places on the screen or have different graphics associated with them. If you program well, you probably tend to modularize your code for later use. Lay out the groundwork like you've done here, and show people how it works, and others will very likely pick it up and expand upon it if they have the knowledge. That means if someone does something cool with your stuff, you've successfully taught them something rather than just expecting them to want to learn on their own something that wasn't exactly made to help them and be disappointed when they don't make something very cool with your stuff.

People don't buy games because they don't know how to make their own, they buy games to use them as a source of fun. However, if they play games a lot, they might actually want to learn how to make them too, which is a LOT harder to do than simply playing them. A lot of awesome software is made on this forum by seeing flaws and bugs with other attempts at doing the same thing. In fact, you kind of gave me the right direction to finish up my own RPG system with after looking over yours and thinking about the features it needed. Thanks to you sharing your knowledge with me, I'm actually able to do it using some of your ideas to do it better than I might have done it on my own. Sharing knowledge is better than doing something for people, but, thanks to you doing both, I came up with a pretty decent system using some of your physical example as a base for some of my own ideas. If you don't want to release your source for that animated textbox, that's cool, but since my system isn't an action library, you've got free reign to release the best one out there for people to use -- if you wanted to of course.

Anyway, sorry for lecturing you. I guess I just feel pretty strongly about allowing people to learn by example, and I feel that, if your example isn't as good as it could be, it kind of defeats the purpose. Sure you may create the best RPG stuff anyone can use, but the stuff they could learn about displaying the messages, such as positioning, string manipulation, message organization, etc. would be pretty invaluable to other aspects of making a game as well - far outside the scope of simple RPG textbox stuff. It all really depends upon the level of the user and the uniqueness of your concept and/or method of doing something. Either way, that's just my two cents. Take it however you wish. :)

Edited by Ace, 14 February 2010 - 12:10 AM.

  • 0

#26 Kolink

Kolink

    Almighty Shinx

  • GMC Member
  • 2351 posts

Posted 14 February 2010 - 12:16 AM

Well, I was being a little sarcastic in my post B-) Look where that got me :)

I may well add more to future versions of this, but right now my main focus is getting my competition entry done.
  • 0

#27 Jalage

Jalage

    GMC Member

  • New Member
  • 29 posts

Posted 16 February 2010 - 09:09 PM

Lite-edition-friendly, I think. If someone could confirm this, I would appreciate it.


I don't think you can use extensions in lite. :D
  • 0

#28 Kolink

Kolink

    Almighty Shinx

  • GMC Member
  • 2351 posts

Posted 16 February 2010 - 09:21 PM

Dur, of course. I realise that now. *goes to remove*
Well, actually, I can provide a GML version which is Lite-edition-friendly.
  • 0

#29 Kolink

Kolink

    Almighty Shinx

  • GMC Member
  • 2351 posts

Posted 19 February 2010 - 10:02 PM

UPDATE: Added GML-only version and a link to the documentation - see OP
  • 0

#30 Masterjohn74

Masterjohn74

    GMC Member

  • New Member
  • 358 posts

Posted 23 February 2010 - 11:44 PM

when i downloaded the extension it said it was damaged why?
  • 0

#31 Kolink

Kolink

    Almighty Shinx

  • GMC Member
  • 2351 posts

Posted 23 February 2010 - 11:51 PM

I'm afraid your post isn't helpful. Was it the download? The extract? The installation of the extension? What??
  • 0

#32 Masterjohn74

Masterjohn74

    GMC Member

  • New Member
  • 358 posts

Posted 23 February 2010 - 11:57 PM

it was the extension part of the dowload
  • 0

#33 Masterjohn74

Masterjohn74

    GMC Member

  • New Member
  • 358 posts

Posted 23 February 2010 - 11:59 PM

the .gex file
  • 0

#34 Kolink

Kolink

    Almighty Shinx

  • GMC Member
  • 2351 posts

Posted 24 February 2010 - 12:00 AM

Okay, let me put it as simply as I can.

It is working on my computer, and it has worked with other people too.
It is not working for you, therefore there must be something different about your computer.
What might that be?
  • 0

#35 Masterjohn74

Masterjohn74

    GMC Member

  • New Member
  • 358 posts

Posted 24 February 2010 - 12:04 AM

i dont know its ok u dont have to worry about it my computer is probably screwed up :lol:
  • 0

#36 kylemason01

kylemason01

    GMC Member

  • New Member
  • 1 posts

Posted 03 November 2010 - 12:27 AM

hey i downloaded the file and started to use the extension, my question is when you call a speech box, how do you set it so the next speech box will appear after the first has closed? You see im making a TLOZ game and zelda is talking, but then link talks over the top of her and i dont want that. I want it to be set so that when zelda is finished speaking then link will speak, how do u set this up using ur ext.
  • 0

#37 Bytewin

Bytewin

    GMC Member

  • New Member
  • 92 posts
  • Version:GM8

Posted 12 March 2012 - 03:37 AM

I don't know if the creator is active or whatnot. But I support this extension's awesomeness, because it has greatly helped me.
  • 0

#38 Silver Scratch

Silver Scratch

    GMC Member

  • GMC Member
  • 166 posts
  • Version:GM8

Posted 12 March 2012 - 05:55 AM

Wow! All i need for mah game! (still haven't downloaded since cellphone memory full Lol!) Ill download tomorrow! Can you put an image? Please? Thanks!
  • 0

#39 Caliginous

Caliginous

    GMC Member

  • GMC Member
  • 3 posts
  • Version:GM8

Posted 30 March 2012 - 10:40 AM

THANK YOU I LOVE IT!
  • 0

#40 Monstr Gaming

Monstr Gaming

    GMC Member

  • GMC Member
  • 288 posts
  • Version:GM:Studio

Posted 11 April 2012 - 04:11 PM

can you please add a function that tells you if there is no speech happening.
This is so I can get a sequence of various dialogues without glitches.

EDIT: I'm using this in my game now. But will be hard to finish it without a function that does this. :(

Edited by Monstr Gaming, 11 April 2012 - 04:17 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users