Posted 13 February 2010 - 09:46 PM
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.
Posted 13 February 2010 - 09:51 PM
Posted 13 February 2010 - 10:07 PM
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.
Posted 13 February 2010 - 10:11 PM
draw_rectangle( x-w/2, y-h/2, x+w/2, y+h/2, false);
Posted 14 February 2010 - 12:09 AM
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.
Posted 14 February 2010 - 12:16 AM
I may well add more to future versions of this, but right now my main focus is getting my competition entry done.
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.
Posted 16 February 2010 - 09:21 PM
Well, actually, I can provide a GML version which is Lite-edition-friendly.
Posted 19 February 2010 - 10:02 PM
Posted 23 February 2010 - 11:44 PM
Posted 23 February 2010 - 11:51 PM
Posted 24 February 2010 - 12:00 AM
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?
Posted 24 February 2010 - 12:04 AM
Posted 03 November 2010 - 12:27 AM
Posted 12 March 2012 - 03:37 AM
Posted 12 March 2012 - 05:55 AM
Posted 11 April 2012 - 04:11 PM
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 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users