dop2000's Recent Forum Activity

  • You link says "access denied".

    I have two example projects with a similar camera behavior, you can download them here:

    howtoconstructdemos.com/camera-two-examples-of-scrolling-limited-to-a-certain-zone-capx-capx

  • There is another (a bit more advanced) way to shorten your code into a single event.

    System HighestLevel>11 
    System HighestLevel<=160 
     -> quotes Set animation frame to (HighestLevel>122 ? 4 : HighestLevel>82 ? 3 : HighestLevel>51 ? 2 : 1)
     -> Achievements set frame to self.num
    
  • I assume both objects has the Platform behavior?

    You can try something like this, but it may require some tweaking.

    Note that the first event is an OR-block - here is jumping OR hero is falling.

  • If the platform behavior is disabled, then of course you can't simulate its controls.

  • Here is an example of a 2D array:

    The selected record has the coordinates (1, 5). You can access it directly using Array.At(1,5) expression.

    To loop through this kind of array, you can use the Array For Each event.

    For Each X loops only through the X axis, while For Each XY goes through all elements like this:

    Inside the For Each loop, you can use these expressions to get the current index or value: Array.CurX, Array.CurY, Array.CurValue

    “For Each” loops are rarely useful when working with 2D or 3D arrays — I prefer system loops because they give more control.

    For example, this loop goes through lines 1–7 (I don’t need line 0 because it contains column headers) and displays the message from each line:

    The Push action allows you to insert an empty row or column at the front or back of the array. I don’t think you’ll need this for a visual novel.

  • I just don't know how to execute it in the engine.

    Exactly as described in the comment above.

    There are also two official examples, search for "visual novel" in the example browser. One uses an array, another - flowcharts.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would use a drawing canvas. You can paste both the sprite and the 9patch on it, and then drag the canvas object.

    -> DrawingCanvas: Paste object Sprite with effects
    -> DrawingCanvas: Paste object Mask with effects
    

    Or save the canvas image and then load it into another sprite.

    -> System: Wait 0.1 seconds (use time scale: True)
    -> DrawingCanvas: Save image (PNG, quality 75, offset 0, 0 size 0 x 0)
    -> System: Wait for previous actions to complete
    -> AnotherSprite: Load image from DrawingCanvas.SavedImageURL
    
  • I created an array under files. Inserted the Array, Json and AJAX objects. Then, put an on layout load action from AJAX to Request Project File from the array file I created at first. And I am supposed to I think use the parse action from the JSON object somehow?

    No, if your file type is "array", you don't need the JSON object. After requesting the file with AJAX, load it into the Array object:

  • NECRONOMICRON It doesn't work that well, and starts lagging terribly with a large number of moving objects. My physics example works a lot smoother.

  • Yes, booleans are cumbersome to work with in Construct. I suggest using number variables instead - 0 for false, 1 for true.

  • destroying off-screen objects

    You don't have to do it if you plan to re-use these objects. Just disable their behaviors.

    Check out this post:

    construct.net/en/forum/construct-3/general-discussion-7/tips-working-large-projects-185300

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 280 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies