tgeorgemihai's Recent Forum Activity

  • 1. Yes, I know that Steam applications usualy have various issues/limitations. It happened to me I tried GM:S Free that had a compiling issue (pretty serious problem) and I and other users could not roll back to an older version and had to wait 1-2 weeks for the fix. As a workaround, the Steam users can now receive a standalone key if they want (still the layout editor is a mess, the interface looks like win98/dos, still has some bugs and the worst of all: the comunity is very agresive, if you point something about the issues you get downvotes or worst)

    Long story short: So the Steam version does not have any advantage over the standalone version, only disadvantages.

    2. Ok, then I will use my mail.

    3. Still not sure 100% what it means, but I will let it unchecked since I don't have any official business (at lest not yet).

    4. Well... at least I tried <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Hello ,

    For around 2 months I am "playing" with Construct 2 Free. Recently I used a "borrowed" license only to test it's CocoonJS/Android export since I was planning to buy the Personal license anyway. It seems that the time has come in order to join the Tizen competition (already tested the Tizen emulator, and works decent ... small issues with the text positioning).

    I have the following questions:

    <img src="smileys/smiley1.gif" border="0" align="middle" /> I am planning to buy it from Scirra.com . Is there any advantage to buy it from Steam ?

    <img src="smileys/smiley4.gif" border="0" align="middle" /> In the license content there is the "Email" tag. Can be changed later (if I change my email adress) or it doesn't matter that much ?

    <img src="smileys/smiley17.gif" border="0" align="middle" /> What means "This payment is being made for a business" from the step "Review & Payment" of the license purchase ?

    <img src="smileys/smiley2.gif" border="0" align="middle" /> Is there any gift voucher I can use ?

  • Hello,

    How do I use linked lists (nodes) in Construct 2 ? I am talking about en.wikipedia.org/wiki/Node_%28computer_science%29 to a nodes list.

    How can I do the following list using nodes ?

    <img src="http://s23.postimg.org/54p80v1vf/nodes.jpg" border="0" />

    Or should I continue to use array as an workaround <img src="smileys/smiley2.gif" border="0" align="middle" /> ?

  • blackhornettechnologies.com/Construct2Stuff/FloodFillBasics.capx

    Thank you very much <img src="smileys/smiley4.gif" border="0" align="middle" /> This is exactly what I needed.

  • Ok, I've found here a Flood fill example but I have trouble understanding it:

    <font color=blue>http://www.scirra.com/forum/in-something-enclosed-or-is-it-just-me_topic53841_post340661.html#340661</font>

    A little help ?

  • Thanks, I will use separate sprites.

    Now the "funny" part: How do I convert the following code (recursive function) in Construct 2 ?

    Pseudocode

    Flood-fill (node, target-color, replacement-color):
     1. If the color of node is not equal to target-color, return.
     2. Set the color of node to replacement-color.
     3. Perform Flood-fill (one step to the west of node, target-color, replacement-color).
        Perform Flood-fill (one step to the east of node, target-color, replacement-color).
        Perform Flood-fill (one step to the north of node, target-color, replacement-color).
        Perform Flood-fill (one step to the south of node, target-color, replacement-color).
     4. Return.

    Code

    replaceColor = 1 <font color=green>// select value when clicking on a color button (values 1 to 5)</font>
    
    private void FloodFill(Point node, Color targetColor, Color replaceColor)
        {
          <font color=green>//perform bounds checking X</font>
          if ((node.X >= CANVAS_SIZE) || (node.X < 0))
            return; <font color=green>//outside of bounds</font>
    
          <font color=green>//perform bounds checking Y</font>
          if ((node.Y >= CANVAS_SIZE) || (node.Y < 0))
            return; <font color=green>//ouside of bounds</font>
    
          <font color=green>//check to see if the node is the target color</font>
          if (pixels[node.X, node.Y].CellColor != targetColor)
            return; <font color=green>//return and do nothing</font>
          else
          {
            pixels[node.X, node.Y].CellColor = replaceColor;
    
            <font color=green>//recurse
            //try to fill one step to the right</font>
            FloodFill(new Point(node.X + 1, node.Y), targetColor, replaceColor);
            <font color=green>//try to fill one step to the left</font>
            FloodFill(new Point(node.X - 1, node.Y), targetColor, replaceColor);
            <font color=green>//try to fill one step to the north</font>
            FloodFill(new Point(node.X, node.Y - 1), targetColor, replaceColor);
            <font color=green>//try to fill one step to the south</font>
            FloodFill(new Point(node.X, node.Y + 1), targetColor, replaceColor);
    
            <font color=green>//exit method</font>
            return;
          }
        }

    Or is there a better implementation of the Flood fill algorithm from here:

    <font color=blue>http://www.codecodex.com/wiki/Implementing_the_flood_fill_algorithm</font>

    <font color=blue>http://en.wikipedia.org/wiki/Flood_fill</font>

  • blackhornettechnologies.com/Construct2Stuff/StarMap_BHT.capx

    Thank you, I've found the solution to my problem here:

    <font color=blue>http://www.scirra.com/forum/random-number-between-2-values_topic46161.html</font>

    Basically the random() function generated non-rounded numbers like 1,23456

    Thanks, this was my fix before I saw your example.

    <img src="http://s13.postimg.org/mztw3byyf/Star_Fix.png" border="0" />

    Also, nice way to load and destroy at start the sprites (I've put them outside the screen, but your solution is better)

  • ?

  • Ok, I've followed this tutorial:

    <font color=blue>https://www.scirra.com/tutorials/307/arrays-for-beginners/page-3</font>

    It should do the following:

    • make an array of 25 elements (Width=5, Height=5)
    • give the value of each cell to 1 or 2
    • create a star object based of the value of the cell (1=RedStar, 2=BlueStar)

    What have I done wrong ? Here is the capx:

    <font color=blue>https://mega.co.nz/#!d5ZR1I7D!AXcNcmFIAS9Ivp7Ky-oNsnRJ0o5vgvWHHCMm0OmqNek</font>

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I've done the tutorials and got a hang of this nice software. Now I want to try something "harder" .

    I want to make a Flood type game but I don't know where to start.

    Example 1: floodit.appspot.com

    Example 2: play.google.com/store/apps/details

    Where or how should I start ?

tgeorgemihai's avatar

tgeorgemihai

Member since 3 Aug, 2013

None one is following tgeorgemihai yet!

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies