Charas-Project

Game Creation => Requests => Tutorials => Topic started by: TGF on February 21, 2009, 04:03:30 PM

Title: A couple of questions
Post by: TGF on February 21, 2009, 04:03:30 PM
Hello, I am new here to Charas. I have a bit of experience with RM2k3, but I was wondering: Is there an easy way to make a projectile for an ABS? Because I am working on a Zelda game, and it wouldn't be complete without boomerangs and arrows!

I also would like to know how you use overlays on your screen. I've heard of them, but am kinda unsure about how you are supposed to use them. Any help on this would be appreciated! Thanks.
Title: Re: A couple of questions
Post by: ellie-is on February 21, 2009, 04:46:15 PM
First you need to know about variables, and the x and y coordinates. Do you?
Title: Re: A couple of questions
Post by: TGF on February 21, 2009, 05:11:45 PM
Yes, I know the basics of variables. And X and Y coordinates is like the "009, 024" stuff, right?
Title: Re: A couple of questions
Post by: ellie-is on February 21, 2009, 05:19:37 PM
Yeah, kinda of.

http://www.charas-project.net/forum/index.php?topic=10936.0
Title: Re: A couple of questions
Post by: TGF on February 22, 2009, 06:46:55 PM
Thanks man, I just don't have the arrow and boomerang sprites. :x

Well, do you know about overlays, possibly?
Title: Re: A couple of questions
Post by: ellie-is on February 22, 2009, 10:08:56 PM
What overlays?
Title: Re: A couple of questions
Post by: WarxePB on February 22, 2009, 10:25:09 PM
Well, if you're using an ABS, "overlays" in this context would be Pictures.

So what you need to do is import your desired image into the Pictures folder. Then, in an event, use the Show Picture command to show it. (If you want the image to show up automatically, put the Show Picture command in an Auto Start or Parallel Process event.) In the Show Picture box, you'll probably want to set the Transparency to 50% or so (depending on what kind of overlay it is).

You'll also need to set the coordinates of the picture. By default, the coordinates will show the picture at 160, 120, which is the middle of the screen. That's good for an overlay, but if you want to show it at a certain point, then you'll have to change it.

And there you go! The other options in the Show Picture command box are self-explanatory, but don't hesitate to ask if you have any other trouble.