mindfaQ's Forum Posts

  • The real size can be found out by calculating: pixel / DPI of the display. The result will be in inches, so if you wanna calculate in SI units like everyone should, then you have to calculate:

    pixel / dpi * 2.54 (result will be in cm)

    If the game gets scaled (it would on a retina display), you have to take the scale factor into the calculation.

  • If the ratio of the background is the same as the ratio of your phone's screen: yes. Best result will obviously be obtained with a background in the same screen size as the phone's display resolution.

    Sure - the ratio of height/width will once change if the screen is stretched unproportionally.

    I am not sure where the problem of understanding lies.

    If the screen doesn't get scaled and your sprites are at 100% size and their top-left corner has integer coordinates (so not something like 0.5) and your sprite isn't rotated (except 0�, 90�, 180�, 270�), it will not get blurred.

    If you enlarge the game's view (because it was designed for a smaller resolution), ofc you will notice some blur.

    Nonetheless even if you scale, a 100x100 box will always appear like a square, and not a rectangle, since both height and width are scaled by the same factor.

  • Depends on whether the game supports controllers or not.

    If it does, the Xbox 360 controller is cheap and works well.

    If if it touch/mouse-reliant, wait for the steam controller or just use a laser mouse/keyboard.

    With XPadder you can simulate a mouse with the X360-controller afaik, but obviously it won't be as good as the Steam Controller or a mouse.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • rightclick the event and add another condition (the one he mentioned)

    use system compare 2 values for that condition

  • CSVtoArray is a Construct 2 plugin. I can write the dialog lines and actions into a table in LibreOffice Calc or Excel, then import the contents into Construct 2.

    My data looks like this:

    <img src="https://www.scirra.com/images/articles/03_5.png" border="0" />

    you see only few fields are filled. Only the filled cells will be processed. The empty ones will be set to -1 in Construct 2 and thus be ignored by the code via a simple condition.

    If you later on wanna add or remove lines inbetween, this is easy to do in Excel/Calc by adding/removing rows.

    And as you said - you could also add a column that tells the script whether to completely ignore the line or not.

    I am at the fifth page of my tutorial, but all the explainations make it really long - so I've paused the writing atm.

  • I've prototyped a visual novel engine for free Construct 2 (intended to write a tutorial for it) and just put everything into one array. Worked well, imported via CSVtoArray and blank fields are set to -1 and ignored later in the script.

    Why would you need to remove anything from the array in the process? Modify maybe, but even that is not really necessary oO.

  • If you have 20 frames ranging from 0 to 19, you need to scale it properly. (set size to 20,1,1 and use random(20-loopindex))

    You don't need the helper2, it is not used (was just a leftover)

    I am not really sure what you want to achieve with the spawning. Do you have all possible sprites covered? Or maybe you have some overlap? (you could test that by setting the opacity of the slice to 50, as you could notice when 2 congruent pieces are on top of each other)

  • The solution proposed may work if you only wanna spawn two sprites, but not with more than that.

    This would work with as many as you like.

    s000.tinyupload.com/index.php

    <img src="http://666kb.com/i/cj935bhtsbtsqknck.png" border="0" />

  • Give the rotating part of the turrent the behavior, pin or place or container the rest to the position of the rotating part, adjust z order.

  • Look at the Plugin's topic, everything is covered there.

  • 8direction-movement-behavior with only left and right movement

  • add an event: health > 100: set health = 100

  • 1) Look up the CSVtoArray Plugin, this is an easy way from spreadsheet to construct 2 imo.??2) array.at(x,y)??if you wanna search arrays, use compare value or for each x/xy/xyz. If you wanna select only certain rows / columns, use system compare: array.curx = x or array.cury = y and things along this line??????? and y being your indexes

  • Maybe stop the sounds in a "load complete"-event.