arcalaus's Forum Posts

  • Hi, I'm Spanish. I can understand english, but my english fluency when writing/speaking is poor.

    I use to use Spanish when writing games, because I'm a teacher and I know that most teenagers here in Spain have a low level of english (even when they get more english classes than I got at their age).

    But I know everyone likes games in english, because it is the current international standard language. I would be disappointed if I found a nice game in russian or japonese, and I understand a japanese or russian would be also disappointed to find a game in Spanish.

    Having a localization/translation engine compatible with Construct 2 would be great! Until then, I'll have to make two versions of everything.

  • I think I have the same bug.

    Look at this CAPX and compare movement in fist and second left pads (use arrow keys to move pads).

    http://www.apagada.com/varios/ProyectoPinball_buggy_centers.capx

    First pad rotates around its center.

    Second pad rotates arount the origin point specified in the sprite.

    I've found a solution: using point name instead of point number.

    Also keep in mind Construct keywords are sometimes case-sensitive, but syntax checker is always case-insensitive.

    Point name (instead of number) should also be used to apply forces.

    http://www.apagada.com/varios/ProyectoPinball_buggy_centers.capx

  • OK. First bug detected and semi-solved.

    I'll post a description on "Bugs forum".

  • At first I tried using "set angle", but I turned to use "impulse".

    I'll upload the Capx to see what happens with point.

  • Hi!

    I'm a teacher, but not a computing teacher. I have in mind creating some educative games using scirra, but at this time I've just done some tests.

    Scirra Construct 2 looks easier to run than, say, the soon defunct AppInventor or its MIT succesors (you can see more "game makers to teach computing" in the MIT page). It is great, with things such as Physics that you can use to teach how "realistic" games are mad.

    The main flaw Construct 2 and all game makers, is you need artistic abilities, because free sprites use to be very limited.

    P.S. If your default browser is Explorer, install Chrome (or Firefox portable if you don't have privileges) and set the "Preview Browser: Chrome" property in each project.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi!

    My first project with Construct 2 was a basic pinball. Today, I've tried to build an improved version from scratch, but I encountered a problem with rotating paddles.

    In my first project I used a rotation joint, 0 to 30 degrees, and then applied a +100 impulse towards angle 30 to make either paddle move forward (it was weird for me same angle worked for left and right paddle, since one rotated counter-clockwise and the other clockwise).

    In this project, after trying many approaches, I've returned to my previous strategy, but:

    • The paddles don't rotate around "origin" distance point. They rotate around image center. I've tried to insert a third paddle (so I could see if the first sprite, duplicated as first and second paddle, was buggy). The result is the same.
    • The paddles return to their default position the long way rotating counter-clockwise, even when they could reach it easily by rotating clock-wise (i.e. they "fall" to 0? by rotating +335? instead of -30?).

    Weirdest of all, paddles work fine on my older project., with the same settings.

    The older, working project is previous to the "auto mirrot/flip" supression (Construct 2 transition from r68 to r69). Does it matter?

  • Now I know how to center text and I know how to get overall width (it took me a month to realize that "hanged" floating window appearing sometimes over Construct 2 was the syntax hint), I can add credit pages to all my creations.

    I am thinking about posting my labrynth generator as an "example", since it is an example on how to make complex conditions using events. What do you think about it?

    Do you think I should post it on the examples section of Scirra Arcade, or in the C2 tests section of "Construct 2 General"?

  • If I can't use pin, how can I make sure second text is always moved with first text?

  • Yann,

    Your file works on my computer. But the same does not work when applied to my objects (I tried positioning the focus at the center before I used the other approach).

    I'm sure I've done something wrong when inserting the objects in the layout, as I did last time. I'll post my capx, as Kyatric suggests.

    http://apagada.com/varios/labe3_alpha2/labe3.capx

  • According to distributive property, ((A/2)-(B/2))=(A-B)/2

    Despite of that, I've also tried it.

  • I have two text boxes (CoverTitle and CoverDesc) and a tiled background.

    On start of layout I do:

    CoverTitle => Set position to ((LayoutWidth-CoverTitle.Width)/2, 32)

    CoverDesc => Set position to ((LayoutWidth-CoverTitle.Width)/2, CoverTitle.Y+CoverTitle.Height+10)

    [ Replacing with "CoverDesc => Set position to ((CoverTitle.X, CoverTitle.Y+CoverTitle.Height+10)" does the same ]

    TiledBackGround => Set size to CoverTitle.Width, CoverTitle.Height

    TiledBackground => Set position to CoverTitle

    [ Replacing with "TiledBackground => Set Position to )CoverTitle.X, CoverTitle.Y)" does the same]

    The described method DOES NOT center text. Instead, the window is divided in two halves. CoverTitle is centered on first half of the window, and CoverDesc and TiledBackground are centered in the other half.

    Replacing LayoutWidth with WindowWidth seems to do the same. I've tried with Fullscreen "scale mode" also.

    Is this a bug?

  • Just in case someone else makes the same mistake...

    Since moving non-world objects to layout seems to be impossible, i've edited the layout.xml file in order to avoid events being deleted during object deletion.

    I've edited the "nonworld-instances" part of layout.xml and added:

    <nonworld-instances>
      <instance type="Direcciones">
        <properties>
          <width>4</width>
          <height>2</height>
          <depth>1</depth>
        </properties>
      </instance>
    </nonworld-instances>
    

    ...It worked!

    Now, I'll focus in the labyrinth generation routine

    (it seems that making a javascript "behaviour" would be easier, though).

  • I swear I tried adding arrays to layout, but they refused to appear on it. I'll give another try.

  • OK, here's the Capx:

    http://www.apagada.com/varios/labe3.capx

    The array is called Direcciones (instead of MyArray), and it is supposed to store X and Y delta values for East, South, West and North.

  • I'm trying to program a labrynth creator routine. Doing it by means of events is quite complicated for me.

    After changing the code to debug it, I tested with this lines at "System - On Start of Layout":

    MyArray Set size to (4,2,1)

    MyArray Set value at(0,0) to 0

    [... more MyArray() initialization ...]

    MyArray Set value at(2,1) to 1

    TextBox Set text to ""&MyArray.At(2,1)

    TextBox displays "0".

    Should I wait a frame or something before MyArray gets the value?

    How can I wait until I'm sure all values have propagated through the matrix?