dop2000's Recent Forum Activity

  • No.. You can use "begin_function" attribute in the XML file to change avatar animation. Simply create a function that changes animation.

    Or a better solution would be adding another attribute: "animation_name". Make a sprite with different animations for everyone, who has dialogue lines in your game, and when each line of dialogue starts set animation to "animation_name".

    So your xml can look like this:

    <TextLine id="1" id_next="2" animation_name="guard">Stop right there!</TextLine>
    <TextLine id="2" id_next="3" animation_name="character">What happened here?</TextLine>
    ...
    [/code:2vcgh4gz]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you seen this dialogue system?

    I imagine you can easily add an avatar or "mugshot" of a person speaking to it.

  • Any program can glitch and corrupt your file if you save it to one location and don't make backup copies. You have nobody to blame in this situation but yourself.

  • Probably some issues with your browser then. Have you tried clearing cache?

  • It's hard to understand what's going on in your screenshots.

    I made a little demo:

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

  • The easiest way is to define 5 imagepoints on the table sprite. And then simply place cards on these imagepoints.

    Card #1 goes to "CardPoint1", card #2 goes to "CardPoint2" and so on.

    Card set position to (Table.ImagePointX("CardPoint" & cardNumber) , Table.ImagePointY("CardPoint" & cardNumber))

  • Your code is too complex..

    If you have the same emotions in the same frames in Faces and EmotionWords sprites, you can do something like this:

    variable clickedFace=-1
    variable clickedWord=-1
    
    On clicked Faces        -> Set clickedFace=Faces.animationFrame
                           -> Call Function "SeeIfCorrect"
    
    On clicked emotionWords -> Set clickedWord=emotionWords.animationFrame
                            -> Call Function "SeeIfCorrect"
    
    On Function "SeeIfCorrect"
       clickedFace not equal -1
       clickedWord not equal -1
    
            clickedFace=clickedWord  -> Set text to "Correct"
            
            Else                     -> Set clickedFace =-1
                                     -> Set clickedWord =-1
                                     -> Set text to "Incorrect"
    [/code:hc0lxzcr]
  • This is quite a big and complex task.

    Check the FAQ and Tutorials, there are a few examples of inventory.

  • Ajbael

    You found a very old post. There are a few addons your can use, I recommend LiteTween:

  • Have you tried Browser -> On Resumed?

  • Which part of the video are you referring to?

    Also, what do you mean by "when you play a card" - is this when you remove a card from your hand and place in onto the table?

    Or is this when you receive a card from the deck and it's added to your hand?

    I'm struggling to understand how is this question different from your previous post?

  • Pinning the weapon is one way to do this.

    But probably a better solution would be to define an image point on the tip of the weapon (say, sword) and check if this point is overlapping an enemy:

    System-> Pick Enemy overlapping point (character.imagePointX("weapon"), character.imagePointY("weapon"))

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 269 followers

Connect with dop2000

Trophy Case

  • 9-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

29/44
How to earn trophies