how do we make a platform shooter game when the players arm and bullet gos toward the mouse, the arm is a separate sprite the stays on the player but follows the mouse, how do we do that ???
I HOPE FOR THE LOVE OF MY ANUS THIS WORK, I HAVE TRIED ALL THE DAY TO FUCKING MAKE MI PLAYER SHOOT BUT NOT ANY TUTORIAL ON YOUTUBE WORKS, MY LAST CHANCE GOES ON THIS ONE! ):
umm.. 0 is right, 180 is left. Might help i figured. and u only need to center the origin when u want it coming from the middle if in the bullet making action u dont put x and y + (half the width and height of the player sprite)
I already Got a Platform Game But I need A SHOP To Finish It please Help Me!!! i Neeed To know How To Create A SHOP AT MY PLATFORM GAME!!!!!!!!!!!!! AND I NEED TO KNOW HOW TO EQUIP WEAPONS AND STUFF REPLY ME PLEASE!@!!!
@andrengo23 Coming right up I replied on Wednesday September 8, 2010 2:01 A.M. ask me in about 8 hours from then or I will just Private Message you or both.
Every time I try to shoot the bullet, the room resets. When I try to land sometimes, I float just one 16x16 block above the ground. I have no idea what's going on. The only thing I can think that could be the problem is the reset function of the health bar when you lose all your HP.
Me and some friends wanted to make an 8-bit platform shooter, kinda like Metroid, but mostly like Cave Story, (if you havn't heard of it, look it up. I had an idea for a powerful gun with a limited range, (hence the curve shot) I needed to know if it was possible with Gamemaker.
Thanks for the help!
=D
p.s. There's a chance that well drop it dut to frustration.
ok i can shoot my bullet right when i start but then when i go 1 step forward all i can do is shoot left and not right again please help it very confusing :(
Good tutorial, but there's no need for both a left and right variable. "Dir = 0" or "1" is good enough for me. But either way, that was a good tutorial for anyone who doesn't know how to create moving instances and etc.
And for everyone with problems:
Ok, look, you NEED a collision mask if you're using complex sprites, so that's why you get glitches with collisions. If you don't know what that is, stick with box sprites untill you figure it out.
This works great but I have an odd shaped sprite (it's a llama lol) and when he shoots the bullet fires from way above his head. I tried to fix this by centering him like you said in the video but when I center him he glitches out and he just disappears at the start of the game. How can I fix this?
Make sure the bottom is equal to the bottom on all of the other sprites first of all (if he disappears when he's moving then this is probably the problem),second make sure he has a collision set with the ground he's going on, that's all I can say about it since you didn't get into detail, I'm guessing the first thing I said is your problem because sometimes when centering sprites, also if you only centered one of your sprites that could be the problem but make sure all bottoms are equal
No the collision with the ground and the gravity is fine, it just glitches when I center him. So I was wondering how to make the bullet apear like its coming from him instead of way above him without centering.
Okay, wherever you set the middle line after clicking center is where the bullet should come out, so when you click center try move it higher, second, make sure your character isn't in the ground in the room you put him in, because when changing that stuff when he's perfectly set on the ground he'll get stuck in a bit, which is what I'm guessing was your disappearing problem, but anyway try that and if it doesn't work you'll have to modify the bullet rather than the character most likely
could u make a tutorial on how to make characters jump about, and run while there sprite is changing. like in mario, as his running, theres a sprite_change
dude i was wating for this for a looong time, but you never made it. so i ended up figuring it out on my own, but its probably way more complicated than it needs to be. thenks for making it! 5 stars!
when i shoot with the variable stuff it shoots in both directins ugh
jfb112697 1 week ago
When my character is shooting to the left, the bullet is a lot slower than shooting to the right.
would you know the cause of it???
(I use the drag n drop variables)
hollowsoulreaper 1 month ago
Link is dead!:-/
enerener12 3 months ago
is it right if my character is fireing in both directions?
ogybogybear 9 months ago
you spelled his name wrong he said DKC1001when its DKC1011 written thumbs up if didn't notice it
MrXthemusic2 1 year ago
Really really cool where did you learned all that?
can you make a vid about directional attacks like in super smash bros?
C0DBl 1 year ago
Plz make a vid of you saying "Hands to the sky I am like totally robbing you"...you sound just like snake : )
G4merGuy 1 year ago
what if you have a left and right sprite
Draiko1111 1 year ago
cheeseburgers mmmmmmmmmmmm
kakarot535 1 year ago
How do you get make the guy turn against the left side when he jumps, because of he's standing on the left side?
lazicful 1 year ago
dude 0 is right you got that wrong
pidku8 1 year ago
I have one problem. My charecter shoots backwards. Like when im facing right i shoot left. please help
pikmin1231 1 year ago
@pikmin1231 found out by reading the comment down 4
pikmin1231 1 year ago
HAHAHAHA LOL!!!!
i always wanna poop bullets XD
BTW great tutorial!!!
nicjo1 1 year ago
Just a quick tip: 180 if left, 0 is right.
Great video though, helped a ton :)
rupert484 1 year ago
@rupert484 Thank you. I was wondering why i was shooting backwards
pikmin1231 1 year ago
Can someone explain to me why the first bullet is changing direction when I am shooting in another direction than I did first time before.
SumocatProductions 1 year ago
how do we make a platform shooter game when the players arm and bullet gos toward the mouse, the arm is a separate sprite the stays on the player but follows the mouse, how do we do that ???
kittycatgirl47 1 year ago
why don't you test it!
CCV334 1 year ago
i have the code
if keyboard_check(vk_space) instance_create (x,y+5,bullet)
for a shooter im working on, but i can't figure(aka too tired to) out how to limit the amount of shots fired
ex. 1 shoot every 2 seconds
RhintReymear 1 year ago
it says unknown variable false -_-
drums4woodstock 1 year ago
LOL! DKC1011
"This is a request from DKC1001"
YourComputerExpert 1 year ago
I HOPE FOR THE LOVE OF MY ANUS THIS WORK, I HAVE TRIED ALL THE DAY TO FUCKING MAKE MI PLAYER SHOOT BUT NOT ANY TUTORIAL ON YOUTUBE WORKS, MY LAST CHANCE GOES ON THIS ONE! ):
oxodunk 1 year ago
thank you so much :p
llS2639ll 1 year ago
i can jump on my bullets when i press up and space at the same time
mrbrentx 1 year ago
DUDE THANKS! I'VE ALWAYS WONDERED HOW YOU DID THAT WITHOUGHT MAKING ANOTHER OBJECT!
adscomics 1 year ago
Hey man thank you very much, this worked perfectly.
owenator66 1 year ago
I'm making an IWBTG Remake, can anybody give me the code on how to do a double jump?????
DaytonaEggnog 1 year ago
@DaytonaEggnog Get i wanna be the engine
jjbob4 1 year ago
what programs are you using ???????????????/
DONCamHardy 1 year ago
@DONCamHardy It's a game maker tutorial 'Facepalm'
in case you still don't know, the program is called 'Game Maker'
Ersand93 1 year ago
umm.. 0 is right, 180 is left. Might help i figured. and u only need to center the origin when u want it coming from the middle if in the bullet making action u dont put x and y + (half the width and height of the player sprite)
Snyphen356 1 year ago
I already Got a Platform Game But I need A SHOP To Finish It please Help Me!!! i Neeed To know How To Create A SHOP AT MY PLATFORM GAME!!!!!!!!!!!!! AND I NEED TO KNOW HOW TO EQUIP WEAPONS AND STUFF REPLY ME PLEASE!@!!!
andrengo23 1 year ago
@andrengo23 Coming right up I replied on Wednesday September 8, 2010 2:01 A.M. ask me in about 8 hours from then or I will just Private Message you or both.
Fira777 1 year ago
OMG Thank You Stevmay!!!! NOw my guy can shoot!!!
Superking890 1 year ago
thank you so much man
pupustinki 1 year ago
Wtf the bullets are shooting the rong direction
codyjos3ph 1 year ago
@codyjos3ph
It's cause 180 is actually left and 0 is right =P
TheBlokStudios 1 year ago
how come my character is facing the opposite way of the shot?
SPCSlayer 1 year ago
does this require pro
MrBenzig 1 year ago
When I choose a new event,the variable deletes itself.
zigaton40 1 year ago
Every time I try to shoot the bullet, the room resets. When I try to land sometimes, I float just one 16x16 block above the ground. I have no idea what's going on. The only thing I can think that could be the problem is the reset function of the health bar when you lose all your HP.
I need help!
fattyvid 1 year ago
it dosent work i did everything u did
umadepoop 1 year ago
what about a bomerman or super pang clone?
benitofinito 1 year ago
how do i get to sprite proporties?
AmericanPieKid 1 year ago
So for direction, is it possible to make it go at a curve? Go straight for a short time and then fall.
HyMyNameIsMatt 1 year ago 4
you add gravity to the bullet.
i don't see why you would want that because only Chuck Norris can curve a bullet.
Stevmay09 1 year ago 40
true.
Me and some friends wanted to make an 8-bit platform shooter, kinda like Metroid, but mostly like Cave Story, (if you havn't heard of it, look it up. I had an idea for a powerful gun with a limited range, (hence the curve shot) I needed to know if it was possible with Gamemaker.
Thanks for the help!
=D
p.s. There's a chance that well drop it dut to frustration.
HyMyNameIsMatt 1 year ago
and he shot a german fighter with his finger by yelling: BANG!
brazothegr8 1 year ago
@Stevmay09 i am chuck norris so let him curve the bullet
thefallensaint5887 1 year ago
@Stevmay09 how do i make a moving player with a free shoot direction like on shooting game
Edje1953 1 year ago
@Stevmay09 lmfao chuck norris curve bullets ahhhh
MajorAlbo 1 year ago
@Stevmay09 ha good one
TonymadiCP 1 year ago
@Stevmay09 what if the character is chuck norris?(or those guys in wanted)
thedarklordx 1 year ago
Comment removed
XriderFTW 1 year ago
@thedarklordx or the chick in wanted.... or judge judy :P
XriderFTW 1 year ago
@Stevmay09 the bullet could be a stone from a sling shot
jokom12 1 year ago
@Stevmay09 wat if you want a grenade to do this
BionicleStudios347 1 year ago
ok i can shoot my bullet right when i start but then when i go 1 step forward all i can do is shoot left and not right again please help it very confusing :(
BionicleStudios347 1 year ago
@Stevmay09 maybe he is trying to make a cannon or a bomb or a grenade there many reasons
MrXthemusic2 1 year ago
but although you switched left and right in the direction its a good tutorial and helped me a little bit
JakobRobert00 1 year ago
no its wrong
0 is right
not left
easily remember
you start at 0 degrees, thats right, and then go on anti-clockwise
JakobRobert00 1 year ago
on mine it shoots above the player and if im moving left it goes down and if im moving right it goes up :-(
ITS NOT WORKING
hazzmando 1 year ago
you have to show the result ^^
LetsBlob 1 year ago
YOU'RE ALL BEING BRAINWASHED
BebopThePig 1 year ago
is there a way that i can make it shoot only once when i press it so it doesnt spray a bunch of bullets, i want to make a pistol
AllternateLP14 1 year ago
remember to add PRESS space
GameMaster337 1 year ago
Ok thanks man it works great
AllternateLP14 1 year ago
yeah, I knew something was wrong! He added press in the video too :D
GameMaster337 1 year ago
Can u show me how to shoot in 4 directions from a maze game plz
DaLegendScion 2 years ago
aww... this sucks the download only works for Gm8 =P
AIG0801 2 years ago
i have a question... what is outside room in gml?
crazimator 2 years ago
All I can say is this screwed my game. -_-"
rexfurry 2 years ago
how can i limit the distances the bullet travels?
39venom 2 years ago
im not sure, but try "vk_left"
GameMaster337 2 years ago
how can I add ammo to the guy?
lalabEsjen 2 years ago
your voice reminds me of snake in the simpsons
oleedvard 2 years ago 15
This tutorial realy helped me out thanks for making this vid.
NewLineBricks 2 years ago
can you make him shoot on your click and towards your mouse please tell me
tolunay123 2 years ago
will this work with a top down shooter?
StopaMotion 2 years ago
why do you have a step event there ?
thehaloman96 2 years ago
I'm trying ot make a player change into his die animation in a code. Instance_change(obj_player_die, what comes next? Please tell me!
QuarstyAndZack 2 years ago
instance_change(obj_player_die,true)
Stevmay09 2 years ago
THANK YOU!!!!!!!!!!
QuarstyAndZack 2 years ago
thanks it works perfect
alexs1835 2 years ago
Cool, but how do you make it so they can only shoot once per like say... 3 seconds.
ziberteck 2 years ago
damn trolls thumbin down some good comments down there
XgrimXrockerX 2 years ago
hey where can i find bowser sprites?i will make a flare shooting claw punching
videonfan 2 years ago
Comment removed
leafinmilo 2 years ago
it should be in ur game maker file
leafinmilo 2 years ago
I had to put if variable right true direction is 0 and left 180
brazothegr8 2 years ago
Good tutorial, but there's no need for both a left and right variable. "Dir = 0" or "1" is good enough for me. But either way, that was a good tutorial for anyone who doesn't know how to create moving instances and etc.
And for everyone with problems:
Ok, look, you NEED a collision mask if you're using complex sprites, so that's why you get glitches with collisions. If you don't know what that is, stick with box sprites untill you figure it out.
Sailing10cjm 2 years ago
This works great but I have an odd shaped sprite (it's a llama lol) and when he shoots the bullet fires from way above his head. I tried to fix this by centering him like you said in the video but when I center him he glitches out and he just disappears at the start of the game. How can I fix this?
FrozenSprite7 2 years ago
Make sure the bottom is equal to the bottom on all of the other sprites first of all (if he disappears when he's moving then this is probably the problem),second make sure he has a collision set with the ground he's going on, that's all I can say about it since you didn't get into detail, I'm guessing the first thing I said is your problem because sometimes when centering sprites, also if you only centered one of your sprites that could be the problem but make sure all bottoms are equal
ShoenenJumpLuffy 2 years ago
No the collision with the ground and the gravity is fine, it just glitches when I center him. So I was wondering how to make the bullet apear like its coming from him instead of way above him without centering.
FrozenSprite7 2 years ago
Okay, wherever you set the middle line after clicking center is where the bullet should come out, so when you click center try move it higher, second, make sure your character isn't in the ground in the room you put him in, because when changing that stuff when he's perfectly set on the ground he'll get stuck in a bit, which is what I'm guessing was your disappearing problem, but anyway try that and if it doesn't work you'll have to modify the bullet rather than the character most likely
ShoenenJumpLuffy 2 years ago
how come you say his name like dkc1001 when it's 1011, not just once, twice
BebopThePig 2 years ago
Don't mind him saying it wrong, its just a small mistake :)
DKC1011 2 years ago
thanks , btw you should demonstrate it working .
legend1211 2 years ago
Can you do one on acceleration and deceleration and if necessary, sprite changing on acceleration and deceleration (platformer)?
Also, why the hell are the older, neutral comments rated bad? I'd like to see how many thumbs down this comment can get for no entire reason.
cleaner88HPi 2 years ago
huh?? direction 0 is right 180 is left
not dir 0 is left and dir 180 is right...
edyneedstp 2 years ago
LOL thats wat i said to BUT Nooooooooooooooooooooooooooo one commented back. hey just have to say good job awesome and stuff.
lol no offence sev
KrosTutorials 2 years ago
Exactly, i found tht out too
BagboyTim 2 years ago
yeah and he was even reading it right in front of him and he cant get it right
ShoenenJumpLuffy 2 years ago
could u make a tutorial on how to make characters jump about, and run while there sprite is changing. like in mario, as his running, theres a sprite_change
dragonalex155 2 years ago
man thanks for making this video. i was really glad to find you did. i rated the vid 5 stars :)
DKC1011 2 years ago
lol did he make this vid for u???
blackman767 2 years ago
lol, cuz i personally requested it :)
DKC1011 2 years ago
u dont need variables like left & right. just test variable and use sprite_index
theonlinegamers 2 years ago
dude i was wating for this for a looong time, but you never made it. so i ended up figuring it out on my own, but its probably way more complicated than it needs to be. thenks for making it! 5 stars!
ChubbaBubba1026 2 years ago
Making these games are complicated, I've tried it myself lol
alternateshadow300 2 years ago
This guy makes ugly and simplistic sprites.
ESAMMEX 2 years ago
You're an ugly and simplistic sprite.
Stevmay09 2 years ago
How mature...
ESAMMEX 2 years ago
of course you have to leave a comment as an excuse to rate the video 1 star without watching it.
Stevmay09 2 years ago
i rated it 5 star : /
EderRedfield 2 years ago
This comment has received too many negative votes show
AHAHAHAHAHAHAHAHAHAHAHAHHAAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH
ESAMMEX guess what come suck my balls u ugly simplistis sprite
pivotman999 2 years ago
Can't suck what doesn't exist
olddiademmaster45 2 years ago
You know that tutorials like this one don't need to have the best sprites ever.
They are just showing coding demonstrations,
NOT Pro spriting.
Gamemasterj97 2 years ago
The effort for sprites in a tutorial has a reason?
olddiademmaster45 2 years ago
didn't you do the same tutorial, titled
"How to shoot in 2 or 4 directions" or whatever
ItIshMehXD 2 years ago
This is a sort of remake of that tutorial.
Stevmay09 2 years ago
It would be nice if you had a example at the end..
ClubPenguinScatman 2 years ago
HUZZAH! I've been dying how to make this! :D THANK YOU SO MUCH!!!!!
RandomPro2000 2 years ago
dang it :/
EderRedfield 2 years ago
YAYZ
olddiademmaster45 2 years ago
Thanks!!!
tretey 2 years ago
Lol... Congratz Stevmay :P You were first
Thislooksgood 2 years ago
Horray!
joseph3112 2 years ago
FIRST
Stevmay09 2 years ago
CHEATER
olddiademmaster45 2 years ago