Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • An Shooting Crosshair ABS
« previous next »
  • Print
Pages: 1 2 [3] 4

Author Topic: An Shooting Crosshair ABS  (Read 22693 times)

Offline ThexXtremeXx

  • Hey.
  • Exemplar
  • *
  • Posts: 1,007
  • Dum.. badum.
Re: An Shooting Crosshair ABS
« Reply #30 on: December 01, 2008, 02:23:40 AM »
Okay, this is a handfull;

The crosshair's distance away from the hero should
vary depending on the weapon being used, for example
If I were to have a sniper equipped it would be 6 tiles away
from the character. But if I had an assualt rifle it would be
3.

The system would move along with the hero, so If the hero moved
left the so would the crosshair. But when moving with a scoped weapon
you wouldn't be able to shoot with out scoping so, that means that the
crosshair would appear transparent . An example of a system of such
could be seen in the legend of zelda (except the scoped weapons part.)
where link would use an arrow that would go directly ahead of him and
not stop until it hit a wall or something.


It's part of the ABS. Thats the best I could expplain it.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: An Shooting Crosshair ABS
« Reply #31 on: December 01, 2008, 02:44:10 AM »
okay....

Just out of curiosity, if the projectile dosn't stop until it hits a wall....

why do you need to have the crosshairs at all?


Okay, First of all, Format the crosshair into a charset, if you can wrap you inferior brain around that.

The crosshair needs to be Centered in the charset. That means cenered in the Bottom-middle 16X16 of the charset frames, and make it so that the image appears in EVERY panel of the Charset.

Give it a name youll remember.

Then make some projectile Charsets...
Bullets....
Make them face in the right directions.

Also, Make Sprites of the Actual Weapons (the stupid wrench you talked about) and make them face the appropriate directions.
This will take some work if you cant find sprites of what you need.

So because the crosshair dosent actually do anything right now...just Shows the direction of fire.....

Find and arrange all the sprites on a spritesheet.


*Crosshair
*Bullets
*Weapons

Youll probably want to have a few versions of each of these, since youre planning on using different weapons, it would be smart to have different Crosshairs for each


Do this, and then post them for me.

Also, Delete the **** you posted before....the events I mean. They are useless
Logged

Offline ThexXtremeXx

  • Hey.
  • Exemplar
  • *
  • Posts: 1,007
  • Dum.. badum.
Re: An Shooting Crosshair ABS
« Reply #32 on: December 01, 2008, 02:48:14 AM »
Ill do that after school tommorow. I gotta hit the hay.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: An Shooting Crosshair ABS
« Reply #33 on: December 02, 2008, 01:25:25 AM »
Lets see them resources.
Unless You want to prove me right...
Logged

Offline Meiscool

  • Staff
  • Exemplar
  • *
  • Posts: 1,138
  • I died for YOUR sins.
Re: An Shooting Crosshair ABS
« Reply #34 on: December 02, 2008, 04:47:13 AM »
Ok, I didn't read the first two pages, but judging by Gem's helpful help you havn't been helped yet.

Making a crosshair is pretty easy. There are two main ways you can do it.

The first, and recommended, is with pictures. Pictures allow less error and move/flow better, BUT they will automatically be shown above everything except battleanimations... which is something you might not like.

To use pictures, you need to know how to use the "Show Picture" command, as well as how to use X and Y screen cords. If you don't already know how to use them, then you should just quit this idea because you are going to need to know how to use them to make a HUD anyways...

So, set the target's X and Y screen cords to your hero's X and Y screen cords. Also, to center the crosshair correctly, I think you want to subtract 8 from the x screen cord, because your character isn't actually centered correctly on the 20 horizontal tiles. Next, run a check on which way your hero is facing, and add/subtract from the varibles as fit. Tiles run in a series of 16 pixels wide/high, so for each tile over you want your crosshair, it should be moved by 16 pixels. Thus meaning, if your hero is facing left and your weapon has a range of three tiles, your cross hair's x should be: 56 less than your hero's x (16 times 3 plus the initial subtraction of 8 x) . If your hero is facing up, then your cross hair's x should be 8 less than your hero's x, and your cross hair's y should be 48 less than your hero's y.

If this isn't a good enough explaination, or if you want the other way explained... which isn't recommended because it takes more work, is slower, and laggy, then just ask.

EDIT - haha, just read the first page. Man you suck. "plz make my game for me plz plz" hahahahahaha.
Rule of thumb for game making is that if you don't know how to make the system yourself, the game will fail. You should go find an rpg maker game with an ABS already in it and look over the code, see what was done to make it, etc. You won't learn your way around the maker without experimenting, and what better to experiment on than someone else's completed project? Just... you know... don't change the coding then call it your own or somethig.
« Last Edit: December 02, 2008, 04:51:38 AM by JesusIsMe »
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: An Shooting Crosshair ABS
« Reply #35 on: December 02, 2008, 05:29:58 AM »
Yeah dude, thats pretty much waht I was Illustrating.
I was going to see if he actually had the know how or initiative to Make a (arbitrary) crosshair, before I went out of my way to help him with an ABS....

But really, He has a little image of a crosshair, and by the looks of it, thats about all the work he is willing to do.

I was going by the event route, because allthough it was a bit more work, It would have been easier for me to explain.
But Yeah...

He dosent want to make a game.
He wants the game made for him.

this is evident by
Quote from: ThexXtremeXx on December 01, 2008, 02:48:14 AM

Ill do that after school tommorow. I gotta hit the hay.

And then no follow up. Im glad this topic is around though. Ill post a link to it every time he requests something.
Logged

Offline ThexXtremeXx

  • Hey.
  • Exemplar
  • *
  • Posts: 1,007
  • Dum.. badum.
Re: An Shooting Crosshair ABS
« Reply #36 on: December 02, 2008, 07:32:47 PM »
Quote from: JesusIsMe on December 02, 2008, 04:47:13 AM
Ok, I didn't read the first two pages, but judging by Gem's helpful help you havn't been helped yet.

Making a crosshair is pretty easy. There are two main ways you can do it.

The first, and recommended, is with pictures. Pictures allow less error and move/flow better, BUT they will automatically be shown above everything except battleanimations... which is something you might not like.

To use pictures, you need to know how to use the "Show Picture" command, as well as how to use X and Y screen cords. If you don't already know how to use them, then you should just quit this idea because you are going to need to know how to use them to make a HUD anyways...

So, set the target's X and Y screen cords to your hero's X and Y screen cords. Also, to center the crosshair correctly, I think you want to subtract 8 from the x screen cord, because your character isn't actually centered correctly on the 20 horizontal tiles. Next, run a check on which way your hero is facing, and add/subtract from the varibles as fit. Tiles run in a series of 16 pixels wide/high, so for each tile over you want your crosshair, it should be moved by 16 pixels. Thus meaning, if your hero is facing left and your weapon has a range of three tiles, your cross hair's x should be: 56 less than your hero's x (16 times 3 plus the initial subtraction of 8 x) . If your hero is facing up, then your cross hair's x should be 8 less than your hero's x, and your cross hair's y should be 48 less than your hero's y.

If this isn't a good enough explaination, or if you want the other way explained... which isn't recommended because it takes more work, is slower, and laggy, then just ask.

EDIT - haha, just read the first page. Man you suck. "plz make my game for me plz plz" hahahahahaha.
Rule of thumb for game making is that if you don't know how to make the system yourself, the game will fail. You should go find an rpg maker game with an ABS already in it and look over the code, see what was done to make it, etc. You won't learn your way around the maker without experimenting, and what better to experiment on than someone else's completed project? Just... you know... don't change the coding then call it your own or somethig.

No, I just wanted really just how to make a crosshair, the ABS however I can fend for myself, but to make things easier on me, I've decided to just remove the crosshair, it would be hard to see anyway.

To Gem:
Abooout that...heh funny story, apparently bullets are supposed to be aligned with the charset right?
You don't know how screwed up my charset looks now.
Logged

Offline Emerates

  • A. Hermit Esquire
  • Exemplar
  • *
  • Posts: 1,027
    • Emerates' Freewebs Site
Re: An Shooting Crosshair ABS
« Reply #37 on: December 02, 2008, 08:56:53 PM »
Could you possibly make the crosshair itself a battle animation?  Since the hero's always in the middle of the screen unless you get to the very edge (fixable on any map), you could just set it to target the hero, loop it, and voila!  Theoretically, it could work.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: An Shooting Crosshair ABS
« Reply #38 on: December 02, 2008, 09:30:22 PM »
Quote from: ThexXtremeXx on December 02, 2008, 07:32:47 PM
No, I just wanted really just how to make a crosshair, the ABS however I can fend for myself, but to make things easier on me, I've decided to just remove the crosshair, it would be hard to see anyway.

To Gem:
Abooout that...heh funny story, apparently bullets are supposed to be aligned with the charset right?
You don't know how screwed up my charset looks now.



Whhy the hell are you doing it on your charset? Moron.

I told you to make a seperate one.


Dont align it to your character, Just center it in the Lowest and centermost 16X16 Tile.
Adjustments come later.

Also;

So youre "Just gonna fend for yourself later" With the ABS, and the Crosshair is too much work, so youre not doing it anymore.

Why dont you just man-up and admit that you have no intrest in doing your own work, kid? Seriously, Id respect you more if you just acted like a Man, and admitted it without throwing a swearing hissy fit
Logged

Offline ThexXtremeXx

  • Hey.
  • Exemplar
  • *
  • Posts: 1,007
  • Dum.. badum.
Re: An Shooting Crosshair ABS
« Reply #39 on: December 02, 2008, 09:49:38 PM »
No intrest in doing my own work? That wasn't the reason I stopped the Cross hair, it was stopping me from completing the game.
The ABS, like I said I'll fend for it later.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: An Shooting Crosshair ABS
« Reply #40 on: December 02, 2008, 10:02:05 PM »
the crosshair could be done in literally, like, 20 minutes, If you spent the extra time to format the image correctly.

And Not having a battle system is going to impair your project a bit more then the crosshair.

Or you know, you could just do all of the fun stuff first, and then most likely give up on the project and start something new when you actually have to do some hard work.i dont think you have the capacity to make an ABS, if you want honesty,

Like I said, Im going to link you to this topic every time you make a help request, or start a project
Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: An Shooting Crosshair ABS
« Reply #41 on: December 02, 2008, 10:12:33 PM »
I think fisheron sent him a game that had an ABS. So I suppose he technically already have it done.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: An Shooting Crosshair ABS
« Reply #42 on: December 02, 2008, 11:10:06 PM »
so hes not doing the crosshair

and somebody sent him an ABS

so he has really no REAL work to do



Fish, you are a retard too (if indeed you sent him one)
Logged

Offline ThexXtremeXx

  • Hey.
  • Exemplar
  • *
  • Posts: 1,007
  • Dum.. badum.
Re: An Shooting Crosshair ABS
« Reply #43 on: December 03, 2008, 12:55:37 AM »
no, i didnt get one, and like i said,

I
Will
Fend
For
It
Later.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: An Shooting Crosshair ABS
« Reply #44 on: December 03, 2008, 01:49:40 AM »
so youre still doing all of the easy and fun stuff first though...lol

I hear thats the key to a great game. Do all of the easy stuff first, and then the hard stuff is so easy that your project will finish itself instantly.


Good luck man.lol
Logged

  • Print
Pages: 1 2 [3] 4
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • An Shooting Crosshair ABS
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum