temple1997's Recent Forum Activity

  • To be honest, I'd say the best thing to do is to get the basics of a platform game and then build up from that; any help you might need you're more than likely to get from the community. So having a sprite (the player character) with 8-Direction Movement, Bound to Layout and Scroll-To behaviours on it, a layout with different platforms at different levels (up and down, for the player to jump to), and enemies that will move from left to right on said platforms. You'd then need a way to finish the level, a finish gate. You could even have coins that the player has to collect before they can finish. Just some ideas.

    If you need any help with anything, your are more than welcome to personally message me and I will do my best to assist you!

  • Until you give us a .capx that we can download to look at exactly how you've done it, we can't really help you that much. Luckily, in my game that I'm currently working on I am also using Pathfinding and Line of Sight in the same way you are; the first thing I'm going to say is that you want to have your "Move along path" action on a different event.

    If you can, do it like this:

    You won't need the "On start of layout: Regenerate Pathfinding obstacle map" if you don't have any obtsacles.

    But like I said, a .capx would really help us to help you!

  • :BUMP:

    Just to be clear, the above images and big explanation is just what I tried but didn't work; any help would be greatly appreciated!

  • .capx at the bottom

    Let me elaborate, I need one number variable to see if another variable equals itself. I have a time system set up through number variables and "Every X seconds.." events, and another set of variables that work alongside a Slider.

    The Hour number is simply a text box that is changing to whatever the value is of the slider. But whenever the player clicks Go, it will record the Hour to a number variable and the AM/PM to a text variable.

    I have an NPC that you can send away to scavenge, you can use the slider to set the hour he comes back for and you can click the AM/PM to toggle it to set what time of day he comes back. When you click go he uses pathfinding to leave the counter and go somewhere outside of the players view, when he arrives at his destination he finds a path back to the counter. He won't move along this path until the Hours and PM in the time system matches what the player set from the Slider.

    [Is HOURS = to (whatever the return number hour is)]

    [ Is AM/PM = to (whatever the return text AM/PM is)]

    I know this may appear confusing and unorganized, so here is a .capx to help. http://goo.gl/ErFiFZ The NPC event sheet is 'Colonists' and the time system is within the 'HUD' sheet. (It's not dropbox, but just click the downward point arrow in the top right corner to download it)

    Thanks in advance!

  • Haha, thanks for finding all these bugs. I'll be sure to work on them, and the left door is just a fad; it's not an actual door, yet. The Z order thing COULD actually be the problem, I'll look into it. Thanks!

  • It's driving me insane, so any support would be highly appreciated, thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, so I'm using a save and load function within my game; it works fine but there's a weird bug with loading. You can save and load your last save whilst in-game, but there is also a load last save button in the main menu. The bug is that when you save and then load the save from the main menu, a random selection (usually just one thing) doesn't load in properly. It will physically load in, so my character collides with it and can not pass through it, but visually it won't load.

    The most I can do in terms of showing the bug is letting you try get it for yourself. goo.gl/L5sxbw This is an NW.js export of the game so far, it's no where near finished; but the problem still happens even in export so you may as well test it there.

    (It's not dropbox, but just click the downward pointing arrow in the top right corner to download the game)

  • I was actually using the Canvas for a dynamic shadow effect, but I've decided to scrap it so if it fixes my save problem; then that's perfect! Thanks everyone!

  • :bump:

    Nobody?

  • 1. I have tried it in an empty template, and it works fine. It's just this template.

    2. I'm not using the debug mode, I haven't tried an exported version yet though.

    3. I have looked at tutorials and followed them, that's when it broke and I tried it on an empty template.

    I've upload a .capx if it helps, I just prefer to do that as a last resort because I've heard of people stealing people's work.

    Also, correct me if I'm wrong. But do these save/load functions work in the way that you can save the game, close it down and then load your game again?

    .capx: goo.gl/7GzP5j (the forums won't let me post the original link without shortening it and making it inaccessible)

    (It's not DropBox, but it's pretty simple. Just click the downward pointing arrow with the line beneath in the top right corner)

  • I'm trying to set it up so that the player can now Save and Load the game, just like every other game out there. The problem is that when I test it the game just freezes. It doesn't crash, it doesn't start to not respond; it just freezes. The actual Construct 2 engine is fine, it's my game that crashes.

    Here's the part of my event sheet that handles saving and loading, although I haven't even had the chance to test loading because it freezes.

    Any help and/or suggestions would be amazing, thanks!

  • Thanks, plinkie, that did it!

temple1997's avatar

temple1997

Member since 22 Feb, 2016

None one is following temple1997 yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies