MPPlantOfficial's Recent Forum Activity

  • Every tick | set Lifebar.Width to 300*(var1 / 300 )

    Also, don't forget to set Lifebar Origin to the left(or right, whichever you prefer.)

  • I suggest you try resizing your tiles.

    When saving in photoshop, include and excess 1 pixel per tile in the source image.

    Wish I could test your capx. Unfortunately there are 4 plugins I have to find first.

  • You can save a tile map configuration using the tilemap's 'TilesJSON' expression. You can store it as a string - if I need multiple tilemaps for multiple levels I'll usually use a Dictionary with keys named for each level, and the value set to the TilesJSON for that level.

    Can you show example too of how to repopulate the map after?

    I made different instances of the tilemap but how do I use only one?

  • Do you mean 1024 X 640 px PER IMAGE?

    What is layout and window size?

    I've had bad experiences resizing images myself that I just go to the original vector art and re-export the images.

    Ideally your images should be 1.2-1.5 times the size they're going to be in C2.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That looks like a decent solution. That's what they thought us in basic programming for singular strings or quantities.

    However it sounds like your ideal place holder would be a 2-dimensional array given that there are many quantities for player 1 and 2 (I'm guessing life, mana, spd...)

    Array[0][x][x] can hold values for Player 1

    Array[1][x][x] can hold values for Player 2 or something like that.

  • Just trying to think how to tie those four conditions into two OR blocks

    It's two events actually. One 'or' block for the vertical axis, another for the horizontal.

    I'll be making a capx when I have the time.

  • Hey guys. I'm creating a simple platformer and I figured, memory-wise using a single layout with multiple instances of the same tilemap might be the best solution for different levels. Is this a correct assumption?

    How do I save the tilemap configurations into an array and load them to the appropriate levels in the game?

    I'd appreciate it if someone could edit this capx. <img src="{SMILIES_PATH}/icon_cool.gif" alt="8-)" title="Cool">

    https://www.dropbox.com/s/ctwcooln67707 ... .capx?dl=0

    Haven't done much in the capx yet.

  • If (OBJECT.X - OBJECT.Width/2) + MIN_VIEW > 0 |

    or

    If (OBJECT.X + OBJECT.Width/2) - MIN_VIEW < WindowWidth |

    If (OBJECT.Y - OBJECT.Height/2) + MIN_VIEW > 0 |

    or

    If (OBJECT.Y + OBJECT.Height/2) - MIN_VIEW < WindowWidth |

    where MIN_VIEW is the minimum amount of Pixels you want inside the window.

    Note: This is untested so try it yourself first and tell me how it goes.

  • Hey there. You can easily draw a vision cone using separate blurred lines originating from your player spread about 2-4 degrees apart then set their lengths to the length of your line of sight.

  • Kyatric

    Have you checked the capx file?

    Fixed your capx for you.

    Here you go, mate: https://www.dropbox.com/s/q1jt99q4ctjcd ... .capx?dl=0

  • Introduce an instance variable

    SQ_MOVEMENT.

    _________ | Set SQ_MOVEMENT to floor( Time % 4)

    This will cause SQ_MOVEMENT to be reset 0,1,2,3,0.... infinitely.

    Then give it a custom movement,bullet or use lerp for each state.

    Decide which one you'll use then do this:

    SQ_MOVEMENT = 0 | [Move Right]

    SQ_MOVEMENT = 1 | [Move Down]

    SQ_MOVEMENT = 2 | [Move Left]

    SQ_MOVEMENT = 3 | [Move Up]

  • What do you mean by "forever loop" ?

    Could you elaborate or post capx?

MPPlantOfficial's avatar

MPPlantOfficial

Member since 17 Feb, 2016

Twitter
MPPlantOfficial has 1 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies