calebbennetts's Forum Posts

  • You can just put a global variable in an event sheet. Before you change layouts, set the variable to your character's health. When the new layout starts, set the player's health to the variable's value.

  • If you're debugging a game to check framerates, the "Inspect" tab can artificially move your FPS and CPU% to unusable levels. Switch to the "Watch" or "Profile" tabs instead.

  • The free edition doesn't have families, though. But with something as big as a MOBA, I would start to look into some serious data structures. Just looking at what you need, here's an idea:

    -Make all your characters one object with a bunch of different animations.

    -Make an array with the names of all the different animations (e.g., P1Walk, P1Idle, P2Walk...). Put different character types along the X axis and different actions (walk, idle, etc) along the Y.

    -Give the character a number variable for which character it is and another for what it's doing.

    -When you want a character to do an action, have the events change the value of the action variable.

    -Finally, add an event like this one:

    Every Tick - Characters play animation array.at(Characters.identity, Characters.action) from current frame

  • You might just want to try lowering your platform deceleration while he's in the air. Something like:

    Player is jumping

    OR

    Player is falling

    Set player deceleration to 100

    Else

    Set player deceleration to 1500

  • The sine behavior can program movement for enemies or platforms in a matter of clicks.

    This should be a sticky, maybe under "beginner's questions?"

  • Say, that looks really good! Did you use pre-rendered 3-D graphics for your characters (it looks like you might have, but I can't tell for sure)?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The solid behavior is like a marker that tells other behaviors to respond to the object in a certain way. So your solid TileMap didn't do anything to the platformer character, it just told the character to act like there was a floor, wall, etc.

  • I imagine you're looking at Construct 2 because of the opportunity it provides for short development times and easy publication to the web or mobile platforms. To see what quality of work the community is capable of, I would recommend looking through the "Top Games" section of the Scirra arcade. If you want to partner with a Construct 2 developer, you will probably have the most luck in the “Game Development” subforum.

    Scirra Arcade’s Top Games

    Game Development Subforum

    The forum moderators have more experience and probably know better what sort of information you are interested in, so you may also want to talk to one of them.

    zenox98, anything to add?

  • You could make 3 identical star objects and put each in a container with a different disk. That will make the star pick the right disk automatically (if you pick by object. It doesn't work by family). You will also make a star spawn automatically (though you will still need to pin it) whenever you spawn a disk.

  • I’ve got a tech demo up on the arcade for a 3-D platformer made with vanilla C2 (with license). It uses values for position and size in 3-D space to calculate collisions. Rendering is based on animation frames, Z sorting, and calculations that transform the 3-D coordinates to positions in 2-D space. A .capx is included.

    Click to play Blue Sky.

  • I think it's just too high. If you divide your speed by the framerate, you get the number of pixels your object will move in one tick. I'm not sure how the collisions work, but I think your threshold for missing collisions is when the bullet travels farther in a single tick than the sum of its length and the thickness of the object you want it to collide with.

  • Yay!

  • You would just use some if-then logic. You could have an event that runs every second with two subevents that change the day and year variables differently based on the value of the years variable.

    Every 1 second

    add 1 to yearsVariable

    add 0.5 to yearsVariable

    (Does my shorthand make sense?)

  • I'm not really sure what you mean. Are you trying to get the reflection to stay in the same place? You could do that by turning off rotation in the 8 direction behavior settings.

  • I think groups are good, but your number of groups counts towards your event limit.