Posted By
|
Message
|
TheGoldMiner88
Registered 18/05/2018 11:35:50
Points 14
|
18th May, 2018 at 18/05/2018 11:44:12 -
I was coding my shooter game, and i came a cross a problem. I could not make my character shoot in 8 directions, only 5. I need help to fix it.
n/a
|
TheGoldMiner88
Registered 18/05/2018 11:35:50
Points 14
|
18th May, 2018 at 18/05/2018 11:47:55 -
P.S. Im using Clickteam FUSION 2.5 Devoloper (Devoloper is the same as the full version)
n/a
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
18th May, 2018 at 18/05/2018 15:58:55 -
You haven't provided enough information for anyone to help you.
You need to explain what you're doing now in detail.
n/a
|
TheGoldMiner88
Registered 18/05/2018 11:35:50
Points 14
|
18th May, 2018 at 18/05/2018 17:22:41 -
ok. So i made my character shoot each time i click spacebar. My code looks like this:
Upon pressing space bar
(my character) Launch (bullet) at speed 100
the problem is when i try the program it wont fire in all eight directions only five.
And ive set movement type eight directions.
tell me if you need more details about the problem.
Thank you.
n/a
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
18th May, 2018 at 18/05/2018 18:57:02 -
When you select launch it should ask you the direction. Just select "in the direction of *object name*" and that should do it.
If that isn't working make sure you have the latest version of fusion installed just in case there are bug fixes that might solve your issue.
n/a
|
TheGoldMiner88
Registered 18/05/2018 11:35:50
Points 14
|
19th May, 2018 at 19/05/2018 23:18:23 -
well if i understand, i need to make it fire at enemy. But it will shoot automatically at the enemy, but i wanted it to shoot at the direction the player is facing. Your method can work but with multiple enemies it will become auto aim.
And i checked for updates, its up to date.
If you can provide more help, i would appreciate that.
Again, thank you for your time.
Have a Good Day.
n/a
|
MonadoBoy64 Am Really Feeling it
Registered 27/01/2018 23:48:54
Points 3405
|
19th May, 2018 at 19/05/2018 23:47:28 -
What you do TheGoldMiner88 is if the player is facing a certain direction and press the spacebar. Then launch a bullet at a certain speed.
Links!
https://walton-nicholas.weebly.com/
https://monadoboy64.itch.io/
https://gamejolt.com/@MonadoBoy64
https://www.facebook.com/nicholas.walton.355?ref=bookmarks
https://twitter.com/MonadoBoy64
https://www.instagram.com/monadoboy64/
|
MonadoBoy64 Am Really Feeling it
Registered 27/01/2018 23:48:54
Points 3405
|
19th May, 2018 at 19/05/2018 23:49:01 -
And make sure it launches in the direct you want it to go when putting "launch bullet at a certain speed.
Links!
https://walton-nicholas.weebly.com/
https://monadoboy64.itch.io/
https://gamejolt.com/@MonadoBoy64
https://www.facebook.com/nicholas.walton.355?ref=bookmarks
https://twitter.com/MonadoBoy64
https://www.instagram.com/monadoboy64/
|
TheGoldMiner88
Registered 18/05/2018 11:35:50
Points 14
|
20th May, 2018 at 20/05/2018 17:57:20 -
Originally Posted by MonadoBoy64 And make sure it launches in the direct you want it to go when putting "launch bullet at a certain speed.
k now just tell me the code cuz im new to this stuff and all.
n/a
|
MonadoBoy64 Am Really Feeling it
Registered 27/01/2018 23:48:54
Points 3405
|
20th May, 2018 at 20/05/2018 19:21:53 -
It's what said but repeated for all the directions.
Links!
https://walton-nicholas.weebly.com/
https://monadoboy64.itch.io/
https://gamejolt.com/@MonadoBoy64
https://www.facebook.com/nicholas.walton.355?ref=bookmarks
https://twitter.com/MonadoBoy64
https://www.instagram.com/monadoboy64/
|
OMC What a goofball
Registered 21/05/2007
Points 3516
|
21st May, 2018 at 21/05/2018 03:38:27 -
Would you be willing to share your mfa file with us? Are you able to walk in all 8 directions?
Also, more descriptive thread titles help us and future visitors. I thought it might be a spam post.
Edited by OMC
|
TheGoldMiner88
Registered 18/05/2018 11:35:50
Points 14
|
25th May, 2018 at 25/05/2018 07:00:01 -
thanks for your help, i am new to this so i need help with programs.
yes, i am able to walk in all 8 directions, but i dont know what is an mfa file.
oops
n/a
|
Hagar Administrator
Old klik fart
Registered 20/02/2002
Points 1692
|
25th May, 2018 at 25/05/2018 16:04:56 -
The MFA file is your Fusion 2.5 file. Try file save as and save your file to somewhere you can easily find it. Then upload it to google drive or something to share it with the community.
n/a
|
TheGoldMiner88
Registered 18/05/2018 11:35:50
Points 14
|
25th May, 2018 at 25/05/2018 18:30:30 -
Ok. here comes the file. I think i uploaded it.
http://www.mediafire.com/file/zvkfi3z0ly925kj/help+me.mfa
Edited by TheGoldMiner88
n/a
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
25th May, 2018 at 25/05/2018 21:49:44 -
Downloaded and ran it. It works fine. I was able to shoot in all 8 directions and the little red box vanished when the bullet hit it.
Make sure you have the latest version of fusion installed.
n/a
|
OMC What a goofball
Registered 21/05/2007
Points 3516
|
25th May, 2018 at 25/05/2018 22:23:50 -
I suspect what may be happening is that you have a cheap keyboard which only permits certain combinations of keys to be pressed at the same time. Does the issue persist if you change the firing button to something else?
|
TheGoldMiner88
Registered 18/05/2018 11:35:50
Points 14
|
26th May, 2018 at 26/05/2018 20:31:31 -
yes, it works with other keys but not spacebar.
n/a
|
|
|