spartyon's Forum Posts

  • Here is the .capx dl.dropbox.com/u/54560475/issues.capx

    The problem area is at the end of the Game Event Sheet.

    Thank you so much. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I've been trying to use Go to layout(by name) for quite a while and I have not been able to get it to work.

    I have a layout called "2". When the player reaches the end of level 1 the global variable CurrLevel is set to the integer 2.

    Then in the Go to layout(by name) field I've tried:

    "" & CurrLevel

    "CurrLevel"

    str(CurrLevel)

    None of these work. I know the code itself is executing because it works fine when I just use Go to layout and select from the drop down.

    Any help on this small issue?

  • I may have found a solution. I used imgur.com/qqZHxD0

    Just gave the Save Button a variable and made it true if the load went through.

    Seems to be working, although I have to admit my game is still doing funky things so hard to be sure.

  • That would be great, Ashley.

    Any thoughts on how to deal with this in the mean time?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My event sheet for my save/load screen looks like imgur.com/UdtEGm7

    I would like to add another sub-event for when that save does not exist. If that is the case then I would want to send the player to the first level layout.

    Any ideas on how to check if the save is there?

  • That was my thinking as well, Ashley.

    Does Construct 2 support nested data structures?

    Can I have a dictionary where the values are an array or even more useful another dictionary?

  • I've been thinking about using a dictionary to deal with storing values in my game. I would then save this as a JSON in Webstorage and Load it as a JSON at the start of the game to allow saving in the game. However, I can only find information about people using arrays for this purpose. Not to say I can't figure out how to apply this to dictionaries (seems pretty straight forward) but I'm worried that there is a reason no one is using dictionaries.

    Is it a smarter practice to use an array for storing values (level progress) that will be saved and loaded from WebStorage?

    Thank you.

  • Hi,

    Here is this capx I'm having issues with

    dropbox.com/sh/7af8eovvvzmr1yp/WZFNgM-gFL/birdgame.capx

    For some reason the balloons stop spawning after 3 or 4 times?

    I can't figure out why this would work a few times, but stop towards the end?

    Any clues or suggestions?

    Thank you

  • Ah of course, thank you!

  • Why will the cube not jump?

    dropbox.com/sh/7af8eovvvzmr1yp/wbF6Qk5NAD/confused.capx

    I built a platformer yesterday,

    dropbox.com/sh/7af8eovvvzmr1yp/Dot7b86BNP/platformer.capx

    and now for some reason I can't figure out why this dumb little cube wont jump?? -_-

    Any help guys? I'm sure it's painfully obvious.

    Thanks

  • Hi,

    I would like to design a background that will advances automatically with the player.

    The underlying structure of the game is like the helicopter game or the impossible game.

    youtube.com/watch

    It seems I could cheat this by having the player only move up or down, but give the illusion of movement by having the background move.

    Any tips on how to go about designing a background like this?

    Thanks

  • That makes perfect sense except I can't find this distance comparison you mention.

    Could this have to due with me using a free license?

  • Hello,

    I'm starting to build a top down platformer like the original zelda. How can I check if a player is clicking on a sprite and is also near them (on collison with?)

    That way they will only be able to do damage to the sprite if they are next to them.

    Thank you!

    Sparty