tulamide's Recent Forum Activity

  • Well, a year ago, someone else had the same question. I offered a funny, but nevertheless working solution for it...

    Have a look at this thread and my post in it for a download link:

    http://www.scirra.com/forum/viewtopic.php?f=2&t=6036&p=48245

  • Some anti-virus suites allow to control the way applications may interact with files, folders or other programs. This is mostly a half-automated process, meaning that when installing some app like Construct a window of your av pops up, but if you ignore it, the standard protective mechanism applies.

    Also, Windows limits applications when they weren't installed with administrator rights.

  • I still think in the direction of rights for the temp exe and rights for the final exe. Maybe you restricted the temp exe's access to files or folders by accident? (e.g in your av suite?)

  • There are so many good games, but if I have to limit myself to only 5, I certainly will name those who really touched me like no other game. That makes it easier to name 5, but I won't set them in any order.

    GTA San Andreas

    This masterpiece got me as soon as I had to jump on a bicycle to escape while under horrible fire. But the tears of joy came when I entered a car, turned on the radio, and listened to Axel's rock show while driving all the way around the map. Twenty minutes at highest car speed (yeah, 20 minutes realtime), that's when I realized not only how huge this game is, but also with how much love to detail it was developed.

    Final Fantasy VII

    I never had much interest in asia rpg, until this one entered the european market. Wow, what a game, even touching emotions!

    TES IV: Oblivion

    The total freedom of what you do and how is unbeaten.

    The secret of Monkey Island

    Ron Gilbert <3 Need I say more? Ok then, I started the game and began to laugh - and didn't stop laughing until the end. This game teaches you what fun is ... even the copy protection was part of the whole concept!

    A nameless game on the good old C64

    I really don't know anymore what game it was, but it made me think about what brought this to life, how math can make something like that fun gaming experience work. And so I started to teach myself BASIC (yeah, no school courses these days) by typing some english words and evaluating the reactions of the C64-BASIC-Interpreter. Without that game I wouldn't sit here now, 25 years later, still enthusiastic and interested not only in games, but also in the creation of them.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Construct does play music when running it. So this is something on your computer, maybe some folder rights or something else. I don't know what exactly is causing it, but I can say for sure it is not Construct's normal behavior.

  • It's mostly this line I don't get:

    imageFont: Set 'index' to HashTable(Uppercase(mid(Function.Param(1), LoopIndex, 1)))-1

    The hash table is an array where you access its content by keys instead of an index. So instead of index-value-pairs you have key-value-pairs. ROJOhound cleverly used the characters as keys and made the values being the index ('A' = 1, 'B' = 2, etc.)

    Every 200ms the text box changes its content, like so:

    0ms -> "T"

    200ms -> "Th"

    400ms -> "Thi"

    600ms -> "This"

    ...

    Now he destroys every instance of 'imageFont' and calls the function. The function determines the current length of the text in the text box and in a loop creates one 'imageFont'-object per character.

    He now needs to get the value of a key that corresponds to the actual character in the loop. These characters can be lowercase (e.g. 'h'), but the keys he generated are all uppercase (see event 2). Whatever character he gets, he needs to make sure it is uppercase. The expression 'convert to uppercase', => uppercase(string), does exactly that.

    mid returns a substring of a string at position p and with the length l: mid(text, p, l). this is 1-based. Something like mid("Four", 4, 1) returns 1 character starting at position 4, which is "r".

    For example, at 600ms, the text of the text box is "This". The loop starts at 1 and ends at len(text), which is 4 in this case. In the first iteration of the loop, mid(Function.Param(1), LoopIndex, 1) equals mid("This", 1, 1) and therefore returns "T". The second iteration equals mid("This", 2, 1) which returns "h", etc. As mentioned earlier, that string is converted to uppercase, which returns "T", "H", etc.

    He now has exactly one character of the text, and that character is uppercase. He can now use this character as a key of the hash table to get its value (which is the index of that char). For example, HashTable("T") was set to the value 20 in event 2.

    mid (which he used to create the key-value-pairs in event 2) is 1-based, while image offset is 0-based. That's why 1 is substracted from the value of the key.

    And the parts where you "destroy" imageFont, yet it's still there...

    The whole concept of this is to not have one imageFont, but one instance of imageFont per character. These are rebuilt every 200ms, that's why all of them need to be destroyed before creating them again.

  • There are several ways. Set the color filter randomly (in a certain range ), or use one of the many color effects. Just limit the range of randomness for the color channels R G and B.

  • I tried your demo app.

    It works, music plays, viz plays.

    I then played the mod file with VLC media player and it sounded much better. Less high frequenzies, maybe it is filtered better with VLC ?

  • This seems like a rather odd way to use S, to me at least.

    It is not the way I use 's'. Just have a look at the music tool I started some time ago.

    It was just a practical approach of recreating a non-object-oriented 2D array with the object oriented 's' plugin.

  • Everything in 's' is an array per definition. So there are two ways:

    1) Just use a 1-dimensional number array and access it with math.

      's' is 0-based. If your map is 1-based, then you get the right field of the array by calculating: (mapY - 1) * mapWidth + (mapX - 1) map size: 32x20 map position: 5, 4 resulting position: (4-1)*32 + (5-1) = 100

    2) Make a super which holds a number array (create it using template)

      The super is an array and the number array also. Let's say the super is called 'X' and the number array 'Y'. Then you could (0-based) access it as if it were a 2d array: {"X", 4, "Y", 3}
  • I didn't test it with the actual version, but in v96 the vertical coordinate of the image manipulator is turned upside down. 0 being the bottom of the image instead of the top. That might have caused it?

  • Or, do your own sort algorithm.

    The following example contains a complete "divide & conquer" sort algorithm (by events) that sorts 3 arrays as if being one. Three one-dimensional arrays hold informations that belong together and are sorted by hiscore:

    http://www.scirra.com/forum/viewtopic.php?f=8&t=8011

tulamide's avatar

tulamide

Member since 11 Sep, 2009

Twitter
tulamide has 3 followers

Trophy Case

  • 15-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

17/44
How to earn trophies