tulamide's Forum Posts

  • The browser shouldn't really have direct access to the file system. Be careful that browsers don't all together block your game :)

    I'm referring to JS not modifying files - not the basics of a browser accessing the cache etc.

    This is the Construct Classic help section <img src="smileys/smiley2.gif" border="0" align="middle" />

  • There's a far more easier way.

    SysInfo provides the "Get OS version" expression (SysInfo.GetOS). It is a string containing a bunch of information, e.g.

    "Windows XP (Professional), (Terminal Services in Remote Admin Mode), (Multiprocessor Free), (x86-32 Processor) v5.1 Build:2600 Service Pack: 3"

    Well, of all that text, all you need is the internal version number, in this case "v5.1". You can get this converted to a number using:

    float(mid(SysInfo.GetOS, find(SysInfo.GetOS, ") v") + 3, 3))

    After that your conditons should compare against the version numbers. It's 5.1 for Win XP, 6.0 for Win Vista and 6.1 for Win 7

    A list of the version numbering can be found here: http://www.gaijin.at/lstwinver.php

    And here is an example cap, using the description above: osversion.cap

  • Congratulations! You successfully revived a thread that was dead for more than three years... <img src="smileys/smiley2.gif" border="0" align="middle" />

  • ps2: i dont know how to make dubstep XD Half the tempo of the drum line (only the drum line!), use lots of filters, LFOs, distortion and gates for the sounds <img src="smileys/smiley2.gif" border="0" align="middle" />

    Quite interesting portfolio, I like the upbeat, funky groove of "Le me" and "Noname" could serve well as a game track - if it were done xD

  • 'Color Fusion (Masked)' is not bundled with CC. It is an effect I made and can be downloaded here

    The newest version of CC, r2, can be found here

    Enjoy the fog of war! <img src="smileys/smiley1.gif" border="0" align="middle">

  • Didn't test it, but from my head: How about "For each object (ordered)"? Ordered by oid ascending.

    But I'm not sure if oid always starts at 1.

  • if player is overlaping box

    and ENter is pressedWorks fine here, too. It seems there's something else in your event sheet that breaks the functionality.

    Alos, textboxes must be added in size, so that if you resize the text box to the text size, and the chracter size is 15, you must add another 15 to the end as paddign, or it linebreaks or somethingFont metrics don't work that way.

    First of all, values are in points, not in pixel.

    1 point = 1/ 12 pica = 1/72 inch = 127/360 mm = 0.3527 mm.

    You need the system's dpi (eg. 72 or 96 dpi) and resolution to calculate pixel values from points.

    For example, if the reolution is 960 pixel in height and the dpi is 96, then the system displays 10 inch with 960 pixel.

    A 15 point font would have a font height of 0.2083 inch (0.02083%) which results in a font height of 20 pixel (960 * 0.02083).

    Second, the point size only defines the height (ascent + descent + internal leading, but without external leading). It also tells you nothing about the actual width of a character, that varies (e.g. "m" is much wider than "i" in non-monospaced fonts). But if a text box is not wide enough to display the text, it does indeed shift to the next line or, if no spaces are in between, doesn't display at all.

  • To read line by line of the text file using the text manipulator, use the "read line by line" action.

    Example:

    + System: Start of layout

    -> TextManipulator: Read file AppPath & "mytext.txt" line by line

    ++ TextManipulator: On line read

    --> Text: Set text to .Text & TextManipulator.GetReadLine & NewLine

  • Is there any tool tht is good for good music for games?es there is. It is a musician. <img src="smileys/smiley2.gif" border="0" align="middle">

    Really, asking for a tool that makes music fitting your game is like asking for a painting program that paints for you. There are algorithms that produce something that sounds a bit like music (http://tones.wolfram.com/generate/ or http://www.earslap.com/projectslab/otomata or http://www.earslap.com/projectslab/circuli or http://p22.com/musicfont/, etc.), and there are programs that are equipped with a huge library of pre-recorded midi phrases that you can combine to a kind of song (http://www.bandinabox.com/ or http://www.jamstudio.com/Studio/index.htm, etc.). But both don't take into account your needs or wishes or the atmosphere you want to create, etc. That's what a composer does.

    I'd look for one here on the forums, we have a talented group of musicians among us. I'm sure, there might be one willing to help just for the experience <img src="smileys/smiley1.gif" border="0" align="middle">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm sorry, I can't propose any beginner's guide. I never used one. When I started learning those things, there wasn't any literature for beginners. Normally I suggest to just use those functions (expressions in CC) and learn from analyzing the result (that's the way I did it way back in the early 80s^^)

    However, if you can learn better from being tought, there might be some help. I remember lucid once posted a link to some math site, that made extensive explanations.

    And although I'm no friend of such advices, in this case google might help too ;)

  • If you need two random choices, start by not caring about the actual values. You need a random number that returns exactly one of two numbers. random(n) returns a number between 0 and n-1. So random(2) will return 0 or 1

    Now multiply that with the -180 and you get either 0 or -180 (0 * -180 = 0, 1 * -180 = -180

    The expression should look somewhat like that:

    random(2) * -180

    EDIT: I'd say, this thread better belongs to the help section ;)

  • i tried to set up

    button is clicked and object is invisible, then object is visible

    then i made - button is clicked and object visible, -make object invisible

    but it does not work :(

    For sure this won't work. Here is a description, why it can't work: Introduction into branching

    Meanwhile do so as Rory explained for C2, but instead of a Boolean you fake a boolean with a pv or global. Just set this variable to 1 - variable on every button click.

    Then use events like

    if variable = 1, make invisible

    if variable = 0, make visible

  • I just love YouTube's transcript feature:

    "the new yorker context knowing your name is george green that he is an object that was originally stated that this task or group of artists are another solution to that"

    EDIT: what I as a non-english person understood, was this: "If you want to make a context menu or an inventory screen, you'd have to use an object that wasn't originally suited to this task, or a group of objects that weren't originally suited to this task" If I can understand it, why does an application especially made for this purpose fail?^^ END OF EDIT

    (Either transcripting should be improved, or you're mumbling too much ) <img src="smileys/smiley4.gif" border="0" align="middle" />

    Back to topic: Will there be an option to save and load a complete layout of the ui? This would enable creating a live editor and reusing an ui layout in different projects.

  • Although the technical aspects aren't quite that important to us (Ashley is as cunning as a fox and a top-level programmer), there's not just one way to realize things. For example, there's IAC and IPC (Inter Application/Process Communication). Its purpose is to control another app while it is running...

    But one thing's for sure: If it is doable, then Ashley will find a way.

  • I sent you a pm <img src="smileys/smiley1.gif" border="0" align="middle" />