x

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"

Is it possible to do a 13x13 matrix out of letters?

So my attempt is to make a text/letter based game. When the player scavenges and wants to go to different locations, he will move inside a matrix out of letters. I have seen that before, in an old school styled android game. It would look like this:

alt text

So when the player moves 1 letter up, all the letters would be put 1 letter box down and the letter "P", for Player, would stay. The "P"/Player is always in the middle of the matrix. If "O" is a dungeon, for example, the Player has to move onto that letter, to go into said dungeon. I think you can get the idea from this.


I actually have multiple questions now:

  • Is there any kind of premade matrix calculation available, that could fit my needs?

  • Does anyone have an idea of how to do the logic for the map? (I thought about having a premade "Letter-map" to load from or maybe create every letter, that will move into the players view matrix, with possibilitiys for dungeons, villages, forest, normalground.. and save the letters going out of the view from the Player. (While the player is moving of course) )

alt text

  • Is it wise to use UMG for this and do it like I intend to? (I created the example, from the first picture above, inside a WidgetBlueprint. Then I just created that WidgetBlueprint inside the PlayerBlueprint and added it to the Viewport, like in the second picture. Now my attempt is to just manipulate the matrix-textfields with the matrix-logic, from inside the PlayerBlueprint.)


If there is any need on more information or what ever it is that helps, tell me and I will do my best to provide anything needed, as fast as I can.

Thank you so much in advance for any help!! :)

Product Version: UE 4.15
Tags:
1.jpg (178.1 kB)
2.jpg (310.9 kB)
more ▼

asked May 13 '17 at 08:10 AM in Blueprint Scripting

avatar image

Thalez
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

No idea about matrix functions in the editor, but you might be able to get away with just using an array, and store the 'letters' to each index corresponding with the position in the "matrix"

more ▼

answered May 13 '17 at 08:17 PM

avatar image

palvand
62 1 4 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Yeah I thought the same about the array. But I never did a matrix logic, so I hope to get some more answers on my questions. I might just have to use an array and do the whole matrix logic myself with that.

Gotta do more research on "matrix" I guess.

more ▼

answered May 14 '17 at 02:16 PM

avatar image

Thalez
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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