cacotigon's Forum Posts

  • I've written a project which uses sound effects, they are stored in the program as AAC and OGG. The sound files work in Chrome and Firefox, but fail to play when accessing my game from Safari on my iPad running iOS 5.1.

    w3schools.com/html5/tryit.asp

    This plays from my ipad, so i'm assuming it is using AAC, as AAC is supported by Safari.

    How come the audio plugin doesn't work? Actually the first time I tried it, it played some of the sound files, though it never played the music. After that, it never played the audio files again.

    I read on a previous post that mentioned you might have to first preload the sound file, and then use the play sound call, is that true?

    Many posts mention using Appmobi to export the app. Does this mean that it produces an iOS application, or is it still accessible from iOS built in web browser Safari? I'm concerned because I need my construct 2 project to remain on a server because it makes use of the Ajax plugin.

  • Specs:

    Intel Centrino

    Windows XP SP3 32-bit

    Construct 2 R80.2 32-bit

    Summary:

    Exporting project with minifier on that contains plugin TextBox with 'On text changed event' does not get run.

    Example capx:

    Minifier TextBox Bug

  • That fixed it! Weird, I really thought I had the latest version. :)

    Thanks~~

  • I know this post is rather old, but I just wanted to point out that I have the same problem. Sound works flawlessly in Firefox, but inexplicably stutters in Chrome (which is pretty annoying, since graphically it's the exact opposite, where Chrome has a much better FPS than Firefox). I'm also on a Windows XP SP3 32-bit machine. At any rate, it's good to know that it's not a problem with my project but has something to do with Chrome.

  • Awesome, thanks a bunch. I look forward to it to the next update.

    -- cacotigon

  • oh right, that makes sense.

    Thanks,

    -- cacotigon

  • rexrainbow

    Just wanted to express my appreciation for this plugin again.

    I noticed something strange going on with the example though. It brings up this screen on firefox and/or chrome. I've got the most up-to-date versions of rex_text/rex_function/rex_timeline.

    Screen:

    <img src="http://dl.dropbox.com/u/12667027/Construct%202/rex%20textplugin/blank.png" border="0">

    I created a really simple project to see if I could duplicate the problem. Could this be because I'm still using the r80.2 release?

    Here is the sample capx:

    capx

    The code only has one line in it:

    <img src="http://dl.dropbox.com/u/12667027/Construct%202/rex%20textplugin/code%20snippet.png" border="0">

    If I comment this out, the project previews normally.

    Any idea what's going on?

  • Addendum: Just want to mention that rexrainbow wrote out a quick text plugin that doesn't seem to suffer from this problem when using unicode characters like chinese, although it still happens with regular characters as mentioned above. Not sure if this would aid with debugging the problem.

    http://www.scirra.com/forum/topic49877.html

  • Intel Centrino

    Windows XP SP3

    Construct 2 r80.2

    I don't know how quite to explain this, but the arrow keys work really inconsistently when navigating the event sheet. This seems to be a newly introduced bug, since I never noticed this before. Just load up a relatively complex event sheet and you'll see what I mean. Many times the up/down arrows won't work, instead I'll have to press left, and other weird things happen. I'm sorry I can't provide more details,

    Steps:

    Open sample capx

    Click on the subevent so that the entire subevent is highlighted, press the up arrow, and nothing happens. Now press up and left several times in random combination and it sort of works.

    Sample capx:

    Navigation Error Capx

    Others:

    Pressing B adds a blank subevent which is great, but unfortunately, hitting enter on the blank subevent won't bring up the event editor, so I can't add anything to it without clicking on it with a mouse.

    I'm not positive, but I believe this problem to be recent.

    -- cacotigon

    P.S. Thanks for making it so that the highlight event returns after adding an event/action via the keyboard, little things like this are great for people who've suffered from RSI injuries in the past.

  • I like the night time effect, is that like a transparent topmost layer with opacity set to 50%? Looking good.

  • rexrainbow: You are the bomb-diggedy. As far as I can tell, it works flawlessly. You should definitely post this up on the plugins sticky. You may even want to post this plugin as an attach to this bug since it might be related, and could help scirra. Thanks again!

    Text Border Bug Post

  • Ack, it gets even worse, even though Chinese fonts are typically a constant fixed-width per character, a lot of my text mixes Chinese with English words, which unfortunately vary for width depending on the letter, so not even counting would work in this case(unless I tried something bat-sh## crazy like figuring out the width per character per font on a one-on-one basis).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Intel Centrino

    Windows XP SP3

    Construct 2 80.2

    Firefox 10.0.2

    NOTE: this refers to the Text plugin, *not* the TextBox plugin.

    Text of any kind without spaces does not wrap properly.

    Steps:

    1. Create a small instance of the text plugin

    2. Change font size to 16

    3. Write: '12873895819289112' or any random set of values

    4. Observe that although the values are wrapped properly in the editor, as soon as the project is run, it goes past the boundary and does not wrap.

    Note: Also happen if text is set programmatically

    Example:

    Text Border Capx

    -- cacotigon

  • Details:

    Local variables in other event sheets can create naming conflicts with global variables.

    Specs:

    Intel Centrino

    Construct 80.2 (32-bit)

    Windows XP SP3

    Steps:

    1. Create EventSheet1

    2. Create Group Group1

    3. Create any subevent

    3. Add local variable var1 to Group1

    4. Create EventSheet2

    5. Create global variable Var1

    The name 'var1' is already used in this scope.

    Notes:

    I wouldn't imagine local vars and global vars are supposed to conflict since they have different scopes.

    -- cacotigon

  • Nuts, well, it works in all cases, however, if you put it in a global variable by itself as soon as you save project/exit and reload it, the program sets the value to an empty string.

    However, it seems to remain if used anywhere else, for example, if you had an action that stated: "s" + "<tab>" + "h"

    then it would remain between save/loads.

    Ashley: Do you think scirra could add a quick change such that global variables would support using a tab. The reason that i mention this is that I have a global variable called COL_DELIMITER, which is currently a tab, but may change at a later time. Thus, I would rather avoid hardcoding the delimiter string(tab, newline, character, etc) in the dozens of tokenat/tokencount statements in the code.

    Thanks,

    -- cacotigon