Google Spreadsheet: Display text with game specific commands in separate window/cell - google-sheets

I have a google spreadsheet with different dialog texts which are going to be imported into a game. The game's dialogs use game specific simple emoji-commands that are applied in the game, like "🔴" which gives red color to the next letters and "🔘" which stops the color. Or ⤴️ which enlarges the next letters.
Would it be possible, perhaps using a plugin, to automatically calculate these commands from the cells with the dialogs and display the result in another cell or window?
Something like this:
And would it also be possible to display these texts in front of an image, so that i can see how the texts would fit in the speech bubbles of the game?
Something like this:
Thanks in advance!

Related

Calculating the amount of text it will take to fill a given container

I am trying to develop a Greek Bible app and want to draw the attributed strings in pages using a UIView which will be swiped left or right like a book. The problem is I cannot for the life of me figure out how much text it will take to fill up each page before I draw it. I need to figure out where to start the text on the next or prev pages so no text is lost. Does anyone know how to do this? I have scoured the internet for clues but to no avail.

Create aesthetically pleasing ring chart programmatically in LaTeX

I'm not sure if this is the right place to ask. Please point me to the right direction if it isn't!
I found a LaTeX resume template here:
https://github.com/opensorceror/Data-Engineer-Resume-LaTeX
Although the Skills bubbles and Interests bars are being created programmatically, the Languages ring chart looks like a simple .png image that has been inserted into the document.
Is it possible to create a replica of this chart programmatically in LaTeX? A simple code example would be appreciated!
Note: The reason I wish to create it programmatically is because employers may use automatic parsers to identify skills keywords in a resume, and such keywords would be impossible to extract from a .png image.

treemap highcharts group by

I have designed a treemap using highcharts with custom algorithm.It has a drilldown to 1 level. There is a drop down for my chart and it has two options for selection. treemap is displayed on the basis of dropdown selection which has a group by feature implemented using underscore.js library. The feature is working fine. But the problem is, all the tiles which are grouped together, are placed next to each other. My requirement is : i want all those tiles to be packed in one big tile with one label. something like header title in D3(exactly the same). Please let me know how to go about it. Is it something like treemap within a treemap? Also i wanted to know if its feasible to have different labels and tooltips for parent and children in the same treemap. any leads would be helpful.
actual image

timeline chart with events

For a rails web application I need a timeline with on the top (stacked) bar charts and on the bottom single events that should be recognizably different using e.g. forms (squares, rhombus, circles) and colors.
It's also important that I get some kind of picture back in order to reuse it to build a pdf.
At the moment I do the bar chart part with google charts, but I can't find a way to do the events. Those could also be on a separate chart that I then align in html or the pdf.
have you ever try the highcharts.
Here is an example of time series with events made with amCharts: http://www.amcharts.com/stock-chart/stock-events/
You can have any number of graphs stacked on each other, if this is what you want to do.
Disclaimer: I am the author of amCharts.

ActionScript Timeline Control

I'm dynamically loading a file that will indicate when to show certain words at certain frames. However, I'm having trouble with the concept of timeline control from ActionScript (I'm building everything programmatically in Flash Builder). Let's say my tuples has frame and word:
5, "duck"
13, "cow"
22, "pig"
There is a sprite associated with each. What I would like to do is something like the following:
for (frame in timeline) { //should iterate from frame 0-22 (last frame in list)
if (frame in list) {
list[frame].alpha = 0;
}
}
I already know that my display of sprites works and whatnot, I'm just confused on how to play through the timeline in this kind of way, or if it's possible to dynamically do this.
EDIT: Related, can I control how fast the timeline plays?
EDIT: To give a more thorough explanation, I'm looking to visualize word appearances over time in a text. So "duck" may appear as the 5th word in a corpus, "cow" as the 13th word, etc. My list contains tuples of word positions (unique) and the word that appears at that position. I have a small selection of words that I'm interested in from the corpus, so not every position is represented. I would like to be able to have a SWF movies that essentially starts at the beginning of the corpus, go through my word list in order of appearance in the corpus, and then display the word (and have it fade out). So, if there's a word at position 5 and 10, then should appear in much more rapid succession than if there's a word at position 15, and the next one doesn't appear until 50. Basically, I would like to keep that temporal component.
I'm having a little trouble understanding exactly what you're asking about, but in general for controlling the timeline use the commands play() stop() gotoAndPlay() gotoAndStop()
Beyond that I'm gonna need you to explain more clearly what exactly you are trying to do.
ADDITION: From your edits it sounds like you simply want to trigger an animation when the user clicks a button or something. So make the animation in Flash and then use the commands I listed to play it.
ADDITION2: If however you definitely want to do this in code then that has nothing to do with the timeline; program the fading in and out using a tweening library like http://www.greensock.com/tweenlite/

Resources