Horrendous Games's Recent Forum Activity

  • You know, you could probably get this to read 3D arrays. It's just a matter of making a + and - key to swap between the different sheets. The size of the z array would be determined on the largest z page with a value on it. Don't know if this is plausible or not.

  • I've got an object that I create based on a value from an array, it's also supposed to set the objects angle and filter. Rather than creating a different event for each different objects or tiles, I figured it would be easier to just grab the Object ID and create one event to handle all the different objects. It creates the right object, the only problem is that there is no way to use that same expression to change the angle and filter value. I would set a private variable to change the values from there, but the only issue is I won't be able to access that correct item on the array. Any ideas?

  • That's a great solution, although I'm not sure how that would work for edit boxes, I have a few assumptions, but I think I'm just going to let it be and stick with what I've got. It only happens during the level editor so as long as it doesn't happen in game I'll be just happy.

  • That worked just fine! Although when he mentioned that the show window function works just fine, I didn't for me. It might have worked for an earlier version maybe?

  • My solution was to add a backdrop to the GUI, it can be invisible. But once the mouse rolls over it, it sets a value to 1. When you click anywhere off of that and the value is set to 1, then it hides the window, shows the window then brings it to front. I assume you could also minimize then restore the window, either way theres going to be an obnoxious flash. In your case, you can always just change the "click anywhere off of that" to press any key. It might not be the best way to do it, but it's the only way I've been able to get it to work without running into a broken command. Perhaps someone else might be able to use this knowledge to come up with a better solution.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's great man, hope everything goes well.

  • You're most likely getting the same Issue as I am here. Your sprite isn't freezing, but the checkbox is stealing focus, so no keys will work.

    EDIT: I noticed that after clicking the box, then clicking out of the window, then clicking back in, it restored focus to the keys. Perhaps with the window object and a specific event, you'd be able to do some tricks to refocus the window to it's proper state.

  • http://dl.dropbox.com/u/16909290/mariosonic2.cap

    Basically I just created a new event sheet, and used some of your code in that, and organized it a bit. A few other things that I did was I got rid of your RunLeft/Right variables (I left them there, in case you wanted to compare) and replaced them with the [platform].VectorX command, which is essentially the same (below 0 for left, above 0 for right). The other command I put in for general speed was [platform].speed, for running.

    You had a few bits of redundant code that I cleaned up a bit too, no sense having extra commands that do the same thing, but it's cool, you're learning.

    for the turning, basically it says if the player's speed is going towards the left or right and the player is holding the opposite direction, it will play the turning animation.

    For the duck, you had it right, just say when you are ducking "ignore movement" and on one of your always events throw in the "stop ignoring movement".

    For the jumps, basically a sub event in the "when player is jumping" is "when space is not held - set vertical speed to 0". It feels a bit triangular, but I'll let you play around with it so you can get it to feel right.

    Hope this helps! If you need me to explain any further, let me know.

  • For sharing files, Dropbox is quite popular nowadays

    http://db.tt/disf1X1

    If you use that link to sign up you'll start with 2.25GB's rather than just 2GB, plus I get an extra 250MB, so it's all good.

    But yeah, 2.25GB and no upload limit, that's the way to go, plus once it's installed, all you need to do to share something quick is drag and drop the file into your public dropbox folder, then right click, hit dropbox then copy public link.

    EDIT: In other words, it'd be a lot easier to help if I can see what you're doing then direct from there.

  • I seem to be having an issue. I have an edit box on my layout that dictates a certain value. Anytime I click that edit box, it keeps focus, not matter what I do. The focus off command does not seem to work, at least for the mouse it self. I can use the left/right mouse buttons just fine, but once I click on the edit box or a command passes that says focus off, it stops working. Any ideas?

    Here's the .cap

    http://dl.dropbox.com/u/16909290/editorTest.cap

  • I am attending the Downers Grove, IL location. Should be a good time.

  • I'm having a hard time with collision masks. I can't tell why, but when editing the mask I often end up with having no mask at all, if I try to copy one to all frames. I needed to edit the collision mask, because there are areas that shouldn't collide (e.g. long hair). I finally went back to the old method^^

    I had the same problem. The other issue I was having if I had frames with different sizes and shapes, the size of that collision mask had to be the same and I'd have to set it for each frame, and I'm not going to do that for 1200 frames across several objects. If anything, the collision mask should be treated as a separate animation, and if the collision mask changes (which shouldn't happen often or ever) you could simply tell those different frames or animations to reference a different collision mask. Don't get me wrong it is an excellent idea, it just needs some work.

Horrendous Games's avatar

Horrendous Games

Member since 11 Jan, 2011

None one is following Horrendous Games yet!

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies