lionz's Recent Forum Activity

  • For the movement in this game you can probably use most things, move to or tile movement or bullet. The grid seems important for placing items but not for enemy movement so what you have now should be fine.

  • Use a sub event with the same click event and say if animation frame = 1 or 2 then play audio easyy

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For the offset images, open them in animations editor and look at the origin point of those traps, it is not in the centre. You can right click origin and quick assign to the middle.

    For movement anything would really work for this game even as a bullet behaviour could work unless there are specific gameplay elements to do with paths other than moving in a straight line? If it should stop when colliding with certain things you can do this with events.

    Tracking statuses, such as ?

    For the building spot, first change the condition to pick the Trap object, not system condition for hp. Then you can say 'Trap is overlapping BuildingSpot', this will pick the correct one.

  • yungbeathoven what did it not like about the images ?

  • You need to type it out like any variable, so Parameter0 will do. You already did this with the condition.

  • If you already added the parameter in the function then it appears like a variable so you do system compare variable and it should be in the list.

  • The behaviour they use to follow depends on the genre of game, I can't imagine what it looks like.

    To choose an NPC you could give each one a variable value like 1,2,3... and a global variable number which is the NPC that is following you.

    When you interact you set the global variable to the NPC number. Then for following, you can say if NPC.variable = global variable then follow, Else don't follow.

  • I mean that's not what I asked... but I think the issue is the global variable value has quotation marks around it. If you did what I asked in previous post probably you will find other actions are not working under the weapon=bat condition. Your var is equal to the string "Bat" not Bat

  • If it is working at the top level of the function then weapon is not Bat. Try some other action under 'weapon = bat' that is a general variable change and not related to the sprite, does that also not work ?

  • Some variables in my game change very often, sometimes once a second. And I would like this data to be saved. Will using Save & Load affect performance? How often can I use this save without sacrificing performance?

    I have tried this in my game and it does affect performance, I wouldn't save too often. You should design the game in a way where you can save in a more general way like at the start of a room rather than every time a variable changes.

  • > Save and load yes.

    Thanks for the answer. This makes me happy because Save & Load seems easier to me than Local Storage. So, when the value of one of the variables changes, I can save it using Save & Load?

    The save game will save the state of the game including all variables, like an old school save where I am and then load the game where I am, and this has always been fine for me. I may use local storage keys only for tracking for example you could determine if the user has saved before by saying 'does a local storage key exist'. Maybe local storage is used for saving and uploading data to servers though I've never tried it.

  • I think both caused by the same issue your walk animation has frames of different sizes means that when you are walking sometimes you are falling, when falling the jump won't work, and also it tries to play walk and fall animation at the same time which is the reason for the animation speed effect. What people usually do is have an invisible player box for all the platform stuff, then the animation object is only for animations and pinned to the player box, try this!

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 72 followers

Trophy Case

  • 11-Year Club
  • 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
  • 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
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies