AshyRaccoon's Recent Forum Activity

  • You might be able to work with the object ID (Object.OID).

    If there's no other way to pick objects, you might be able to put them all in the same family, and pick by comparison, Family.OID Equal To Global('Stored OID').

  • You can click the white/black-checkered icon at the top of the window to toggle the background between light or dark checks.

  • EDIT: Okay, I see what the issue is. You have Text.Value("Var") with double quotes, not Text.Value('Var') with single quotes.

    My original post, anyways:

    Try:

    str(Text.Value('var'))

    or:

    "" & Text.Value('var')

    But curiously enough, even without doing that, I am seeing the text display okay. I'm using 0.99.5 here.

    Copying/pasting my event as text:

    MouseKeyboard: 14 On Left mouse button Clicked

    TextSet text to Text 0 .Value('var')

    TextAdd 1 to 'var'

  • You'll want to use 30+Random(60) if you want a random number from 30 to 90.

    I think that's right, at least. I keep forgetting if random() does or does not go up to the number entered into it.

  • The MOD object, which seems to use MikMod, supports at the very least XM and IT, and I haven't tried other formats, but its description also includes S3M and MOD.

    It (MikMod) doesn't seem to support cutoff/resonance filters, and possibly not instrument fade-out. It also doesn't seem to have interpolation on the samples.

    A mod plugin using DUMB or libmodplug would be nice. If I knew what to do, and could concentrate, I would possibly try getting one of them to work with Construct myself.

  • if anyone can tell me if you can type the nonstandard characters into constructs textboxes, itd be a start

    I don't know if it's possible. The usual Windows way - which at least works okay in WordPad, if not Notepad, or a web browser - doesn't seem to work in Construct.

    You can copy and paste them, or some of them, it seems.

    I should share a generated list of almost all the Unicode characters I made, and a Javascript tool I made/hacked together from tutorials, function references, and stuff. It'll let you figure out the alt code of any Unicode character you can copy and paste, and a ready source of the characters to copy and paste.

    The tool gives output such as: � 224, � 225, � 226, � 227, � 228, � 229, � 230, � 231

    That tells you you need to hold alt, then press 0224 on the number pad, to get �. Doesn't work in construct, but it works in Wordpad. It looks like that line can be copy and pasted, though - and those even show up with the Text object.

    Here is the tool: http://dl.getdropbox.com/u/1712024/chartool.html

    One thing the "HTML evaluator" setting in it is useful for is entering HTML like à, the kind of things the "Character Value (HTML)" setting outputs.

    Here is the HTML file containing Unicode characters 0000-FFFF, and a javascript thing to generate them: http://dl.getdropbox.com/u/1712024/almo ... nicode.zip

    "almost all unicode.html" is the file containing those Unicode characters. It might take a short time to load/display, since it is a long file, and will make your browser load whatever fonts those characters are in.

    "THIS WILL TAKE A LONG TIME TO LOAD - generate almost all unicode.html" I included just because. Once you open it, it'll simply spit out the same output that other file has, but automatically done through Javascript. :p It almost surely take a minute or two or more to finish doing its thing, making one's browser appear frozen until it's done (at least with Firefox). It's pointless unless you want to see how I did it in JS, since the other html file is the ultimate output stuffed in between HTML tags.

    Feel free to pass those around, use them for anything really.

  • If you want a whole number, use round(number), such as round(global('dist') / 5)

    http://sourceforge.net/apps/mediawiki/c ... xpressions has some helpful stuff on it.

    Also, when doing something like: System: Set global variable to...

    in that window, you should be able to double-click on the system object, and it'll give you a list of system expressions you can use.

    Also of note is the expression: distance(x1,y1,x2,y2)

    You can go: distance(sprite1.x,sprite1.y,sprite2.x,sprite2.y)

    or round(distance(sprite1.x,sprite1.y,sprite2.x,sprite2.y))

  • Does it still happen if you make the channel stop before playing another file on it?

  • Construct has a built in icon editor. It changes your application/game's icon in the taskbar, and its file icon, but it doesn't seem like it affects the one in the window.

    It's in the Project tab in the lower right. Just edit the icon "Default".

    <img src="http://dl.getdropbox.com/u/1712024/construct%20icon%20edit.png">

  • http://www.scirra.com/cvs.php is the place I know of.

  • Maybe something like

    Sprite: On bounce

    System: Compare, Sprite[Car].Speed Greater Than 100

    Action > Sprite: Stop

    Or maybe using "Set speed" in the car tab.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I haven't tried car behavior, so moving on to 2: Yes, "if key down" works like that. As opposed to "key pressed" which triggers only once.

    Hmm, actually, about 1: It looks like doing

    Sprite ("car" tab) 'On bounce' for a condition, and Sprite ("car" tab) 'Stop' for the action stops the bouncing nicely.

AshyRaccoon's avatar

AshyRaccoon

Member since 14 Jul, 2009

None one is following AshyRaccoon yet!

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies