Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Hello. I am trying to start making a 2.5D fighting game.

Hello. I am trying to start making a 2.5D fighting game. But something has stumped me. this is how to change input when your characters switch sides on a screen. example: left+Kick is mid kick, but in game when you change sides on a screen then is right+Kick is mid kick. do you have any idea or advice how would i will be able to change that or make in blueprints? thank you for reading this and any kind of help.

Product Version: Not Selected
more ▼

asked Dec 13 '18 at 03:47 PM in Blueprint Scripting

avatar image

11 1 1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You would have to make the combos direction-agnostic. So instead of asking left or right, you have to the check against the direction the player is facing. So Forward and Backward.

more ▼

answered Dec 13 '18 at 11:26 PM

avatar image

1.6k 7 3 8

avatar image mcajsa96 Dec 15 '18 at 06:25 AM

Thank you for helping me out. but how do I make combos direction-agnostic and check against the direction the player is facing in BluePrints. I'm only begginer in that, but I can make 3D models. If you could explain further I would be very greatful. And one more time thank you for answering my question.

avatar image Evigmae Dec 15 '18 at 02:07 PM

so, for a basic setup of this you can start with the 3d platformer template (it's a 2.5D game)

First thing is knowing which way is forward for your character. And since your character can only move left or right, getting a ForwardVector.Y return either "Y = 1.0", or "Y = -1.0"

alt text

So, whenever input comes you can compare it with your current forward direction.

alt text

this way you can know when to accept input for the combo, and when to drop it because is facing in the wrong direction.

captura.png (71.1 kB)
1.png (38.5 kB)
avatar image mcajsa96 Dec 16 '18 at 01:52 PM

I am very Thankful for your help.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question