LaDestitute's Forum Posts

  • You're missing the point of part of what I said. See the first action in the picture I showed, where I highlighted the two actions. Just store the money to a global variable, and then use the subtract/add variable actions in the System tab. Still, I provided the picture above in case you didn't know how to display the value of their account to a text object, as you were slightly unclear to begin with.

  • Actually, event ordering is important in certain cases as event sheets run top to bottom every tick, so events at the very top will get executed first. Also, some events can clash with each other, depending on the order they're in.

    Also, made some changes if you don't mind (you're free to use this):

    https://dl.dropboxusercontent.com/u/589 ... fixed.capx

    You might also want to make the height of the double jump a bit more, as I found it slightly difficult to reach the drop through platforms from below them.

  • Just to make sure this is correct, this is a mobile game right? Is there a visible player sprite object the player controls? Or is it just an interface that you want the cursor to be able to scroll past the phone bounds?

  • I have a pre-existing example that I could modify for you.

  • If I understand you correctly, you want to start in the middle out of the layout, ten when the player clicks left or right, have the camera pan to the left or right depending on the direction?

    I'm having trouble understanding your last sentence, sorry.

    "But on my game isn't arrow, it's a small square, and i want when i click on my square, my view, or the view of the game down, i hope i'm clear..."

    Your game doesn't use arrow icons on the side or do you mean it doesn't use keyboard key controls? Also, were you hinting that set window size is a square instead of a phonescreen size? I think you mean when the player moves, you want the camera to follow the choice/movement?

  • I'm really curious how you implemented that 3D rotating, if you don't mind sharing. I wanted to make a Super Paper Mario template capx and this would be a good small reference.

  • That sounds like a more than mildly good idea (very much so) and would cut down on frustration/waiting around for a user to find some way to link their capx.

  • Clicker game? What kind of game do you specifically mean, please be more specific. Also, desktop or mobile, as for your intended platform?

    Slide your view, as in have the camera pan? If so, do you want the camera always centered on the player object, or to pan to an object further away? You can also do both with some simple eventing.

  • Local Storage generally won't just on it's own. You have to use an array, JSON or dictionary and then save it to local storage. Or better yet, use the native save/load functions.

  • Is your game topdown or sidescroller?

  • Yeah, I exported your project to a new folder on my desktop, then uploaded it all to my dropbox and then tested the index.html in Internet Explorer.

    Pressed F12 to see the developer console, then refreshed, no errors at all. It's probably because the files of the exported project have to be on an actual HTTPS page and not a sharepoint.

  • Was able to download the capx, downloading it right now.

  • Instance variables are individually for each instance. Normally, this isn't a problem since you won't be usually messing with instance variables in a complex way. However, dealing with multiple instances, especially newly spawned ones can be tricky. Your best solution to use picking instances, either a specific preset/known UID (if it's a pre-existing object on the layout before preview), or the solution below:

    The only issue if you would try to spawn two objects after one another, since int(Object.UID) will retrieve the UID of the last created object, unless you repeat the two create actions above twice to ensure otherwise, and do the needed actions (such as modifying the HP of a single enemy) before getting the UID of the next enemy.

  • Upload it to dropbox or something and then use an url shortener.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's probably because your array structure is wrong, if you happened to edit it externally outside of Construct 2's event actions, such as manually editing it in Notepad++.