abho's Recent Forum Activity

  • If I were to make a replay system in my game based off of inputs, would the physics behavior display the same behavior every replay? It seems pretty random at the moment.

    Tagged:

  • UPDATE: I figured it out, but not in a great way. What I did was give the platform a child object that was slightly bigger than the hitbox, and then added an on collision event with the child object. From there, I performed the same "is entity in front?" check.

    Problems with this method: One, it may glitch out if multiple entities are near the same platform. Two, the player might skip the child object event if their fps is low or something, and end up bumping into the platform before it can be adjusted. (not sure if the second one is true)

  • I had to stop using the Jump-Thru behavior for my one-way platforms because I wanted the ability to angle my one-ways in 4 directions. So I did that, and programming it is simple. If player is in front of platform, enable solid.

    The problem is that I have multiple player objects... I consider moving boxes and enemies under the 'entities' family, alongside the actual player. All of these also use platform behavior and I need them to display the same interaction described above, simultaneously. That, I have no idea how to do.

    Any ideas?

  • UPDATE 2:

    So, I finally fixed it. What I did was remove two other triggers that were identical to this one elsewhere in the project, and it worked. I don't understand why though

  • UPDATE:

    I tried 'On keycode released' and that works fine. For some reason, it's just 'On keycode pressed' that won't work

  • I have an array called 'Controls' with all the keycodes for each type of action... except they just refuse to work.

    This event won't run. It does run if I put 'On key E pressed'

    The keycode at 6 in the array is '69'. I've tested to make sure that's true; the debugger says so, and using this event says so too.

    And then I tried this...

    And this doesn't work either?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'll give it a go, thanks!

  • I know of the existence of "create object by name" which would be enough to simplify this all into one event... but the problem is that I have to set an instance variable upon spawning as well. All of these objects are in the same family, and the instance var is from the family.

    Any ideas? Is it possible to reference an object by name within a family or something?

  • I'm making a custom overlay for my textboxes so that it's pixelated. So far it works great - the textbox is made invisible with css, and the spritefont mimics what the textbox would do. I even have the little text cursor (the blinking bar) appear at the end of the text. However, this is a problem when the user clicks elsewhere in the text to type, or uses the arrow keys.

    I'd like to get the position of the cursor, but even better would be if I could find another way to get a pixel spritefont textbox.

    Project included:

    drive.google.com/file/d/1a5lqWqzvnKtE9ASDPkZXOA7hYSdLxal0/view

  • Thank you for the detailed reply! I feel a bit more confident now.

  • I'm asking this before I set out to do it so I don't get my hopes crushed.

    I'm making a game with a level editor. Naturally, I want players to be able to upload their own levels to some sort of server, so that you can play each other's creations.

    I'd also like players to be able to upload a thumbnail with a specific resolution alongside their level. I've learned that there is a file chooser that allows for something like this.

    Is it possible to upload this image along with the level (which is just a long string)? How do I even make a server like this?

    Can I add a leaderboard that goes alongside each level?

    If a player uploads an inappropriate thumbnail can I delete it, and can I have someone be a moderator so they can delete it too?

    Can players rate levels? Report them?

    I'm fairly experienced as a construct dev, but this is all stuff I don't know anything about. So I'd like to know if this is within the realm of possibility to do (and by just one person).

  • I want my array to trim itself down to just contain the main data. Sometimes columns and rows on the sides, top, or bottom will become completely empty (filled with 0s) and I want to delete this.

    The image shows how it works - the blue box should be the array after trimming is complete. Just everything that I need

    I've tried for a while but can't figure it out. Any ideas?

abho's avatar

abho

Member since 21 Jul, 2017

None one is following abho yet!

Trophy Case

  • 7-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

13/44
How to earn trophies