spartyon's Recent Forum Activity

  • I would just use a separate layer for the UI elements. Then when you don't need them you just hide that layer. Helps me when working in the editor as well, I can lock that layer and make it invisible in the editor and not worry about it when adding in tiles.

    Then I just have a template layout that I start each level layout from that has the UI layer built in.

    If later on in a different level you decide you need to tweak the UI, then just modify the UI layer for that particular level.

  • My slider is not working properly. It treats the middle of the slider as the end.

    I followed the logic from the FAQ exactly so I'm not sure where the error is.

    dl.dropbox.com/u/54560475/issues.capx

    The slider is under Options.

  • Awesome thank you so much!

  • 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" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

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

spartyon's avatar

spartyon

Member since 7 Oct, 2012

None one is following spartyon yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies