GameGuyIO's Forum Posts

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Many thanks! I will try that.

    UPDATE: Just wanted to say that the above suggestion worked perfectly. Thank you!

  • Lol, so I need help with making a game where the player moves around different levels (using different layouts for each level), but each level is remembered how the player left it last. so if the player removed two blocks in layout 1 and goes to layout 2, when they come back to layout 1, it will remember that the player removed two blocks from a location. I hope i was able to explain that better. sorry about that.

  • Here's something that I've been wondering. Let's take a game like Minecraft and make it 2d. You can move around endlessly, but when you return to the areas that you have already been, it remembers what you have done. I would imagine if you wanted to make a world that was huge, you wouldn't make it ONE layout. It would be many and when you return to another layout, it would have everything you have done to it still there. Anyone?

  • Thanks for pointing that out. So I added some time and it didn't fix the issue. There is something funny going on with what I have so I just have to figure it out. At least I can rule the problem I described out thanks to your suggestion.

  • This is perplexing for me. I have 2 layers. On layer 0, there is a sprite (equal sign). On layer 1, there is a sprite (save button). Using touch, on touch object on layer 0, do whatever and go to layer 1. It then makes layer 0 invisible and layer 1 visible. The thing is, the save button on layer 1 is activated by the same touch from layer 0.

    Given:

    -layer 0 is visible initially

    -layer 1 is invisible initially

    -both buttons are in the same position and same size

    What am I doing wrong? It's almost as if it holds onto the touch for all layers and when they become visible, it applies it. Not saying that is what is actually happening, but that's what it seems like.

  • AllanR - Thanks for the suggestion! Yes, I was looking into doing that, as it seems to be the best way for the sort and display. The time repeats itself daily so it really isn't a complicated sort. I just have to approach it the best way so I'm not running into any problems down the road.

  • I need to be able to select from a list of 12-hour times (ex: 03:30 PM) and save it into an array and then sort it based on time. This will also be stored in localstorage. Now, I've tried many different ways and it always seems there is some difficulty regardless of the method I choose.

    My question is what is the BEST way to work with time? If I use 24 hour time, I am able to sort easily in the array, but then I have to convert it to 12 hour time when displaying to user. Maybe I'm just over-thinking this? lol, I'm just getting tired of changing things around when I'm sure one of you has a better way of manipulating time.

    Thanks for any input!

  • You do not have permission to view this post

  • Yes, I searched on Google and found here:

    https://stackoverflow.com/questions/22228321/validate-0-5-as-step-value-in-html5-number-input

    lol, I don't know how that gave you that answer as it relates to Construct 3, but I'm glad you were able to figure that out! Thank you again!

  • Set Attribute of your text input:

    Attribute: "step"

    Value: "0.5"

    Awesome! Thank you! How did you know this about this? Is this written about somewhere?

  • Anyone? C'mon, something as simple as this should be built into this already, but it isn't. How did you tackle this problem?

  • Here's the issue:

    I'm trying to have a user be able to enter either a whole number or a fractional number (ie: 4.5) into a text input box on a mobile app. I would like to have the number pad show up so they can enter their input, but I'd rather not let them use the up/down arrows that go with the number input box, since they cannot go in .5 increments.

    Can anyone shed any light on my options. I know I can use sprites to have users change their input up and down, but I'm looking for a simple, standard way of allowing users to enter numbers. I currently have input checked and made into a float, but when they use up and down arrows, it only steps up/down with whole numbers.

    I hope I made sense. Any help would be greatly appreciated! :-) Thanks!

    Tagged:

  • Yes, it has happened to me where the fill, color selection and various other buttons/actions are not working. The only thing that I have been doing to fix it is to go to another tab and then come right back. It will work after that. I am using Chrome also, so it may be browser specific.

    By the way, this just started right after one of the updates (can't remember which one now).