justifun's Forum Posts

  • Dont forget to make use of the "bookmark" feature as well. Right click an event and hit "add bookmark" to jump back easily in the future to a section.

    You can use the "search" field at the top under the view menu to find specific events etc as well.

    cheers!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yup, they can both ben enabled/disabled independently.

    simply switch them when he hits the water!

  • I was able to replicate dynamic terrain deformation using the bitwise meathod for determining which tile to display.

    saltgames.com/2010/a-bitwise-method-for-applying-tilemaps

    I did it first with just a sprite with a different tile on each frame, but i was also able to achieve the same result with the new tilemap plugin.

    Took a while to setup but it would be awesome if it was built into the tilemap plugin.

  • check out the 'sprite sheet' plugin , works like a charm!

  • Not directly, but you could easily create a variable with a number

    eg: "damage zone" and give it a value eg 5

    then check at any point if the current frame of the animation player is at that target area

    system player.current frame >= "player.damage zone"

    then you can easily tweak that number later on.

  • You can't limit the projects frames per second, but you can adjust the timing of the animations and speed of the movement to mimic what you want to achieve.

    When you select an animation from the animation list you will see a speed attribute it the upper left. lower that number to slow down your whole animation.

    also, each frame of your character's animation has a "speed" attribute that tells the game how long to spend on each frame. Click a frame and look for it in the upper left again

    increase that number to adjust how long the game should spend on each frame of your animation.

    using both of these you can slow down how your animations appear to play out.

    as for how fast it translates across the screen, simply slow down the movement speed of the pathfinding.

  • - The texture is repeating infinitely for me just fine.

  • Please let us know how much traffic you get through it. Not sure how many people know about it.

  • Here's an example file you can see how i've delt with reusing assets and spawing "prefab" characters based on one setup and multiple controls

    Basically its all based on functions though.

    You create a single player entity, and give it a unique owner ID at the time of creation. Then program a function for each different type of attack or movement etc.

    Then you call the function using its Unique ID as a parameter, and thus only the player that matches that Unique ID performs the action.

    eg: On Function Fire Bullet (1) (100) (250)

    Function "Fire Bullet"

    create object "bullet" at function.param(0) (player 1's position)

    set bullet.damage = function.param(1)

    set bullet.speed = function.param(2)

    This way you can reuse this one section of code over and over for any player no matter how many you have etc.

    Example

    dl.dropboxusercontent.com/u/403350/SpawnPlayerExample/index.html

    click player 1 and player 2's) gamepad to spawn them.

    use WASD and SPACE for player 1 and arrow keys and "/" For player 2

    you can see how i've used the same technique for dealing with other ares such as collision detection as well, one function that gets reused over and over

    Capx

    dl.dropboxusercontent.com/u/403350/SpawnPlayerExample/SpawnPlayerExample.capx

  • You would store the X and Y at the time they decide where they are going to go in a instance variable on the object. Like when you mouse click somewhere, or if they are set to goto "the mine" or wherever.

    Then after recalculating the path, you would use

    Find Path To (previous destination)

    to reroute them to the same location again.

    I think that regenerate path keeps their previous destination in tact though when you run it. i could be wrong.

  • Depending on the situation you can always use the same object, but have it display a different static frame as its image.

    eg: every chess piece could be the same object, each with a different frame image.

  • itch.io

    Itch.io is a new storefront for selling your indie games.

    Its been around for a while but has been maturing nicely over the past few months.

    With options like choosing set prices, or pay what you want.

    Allows users to pay via paypal / amazon payments

    Creating game pages is free, they only take 10% of all sales as their fee.

    More Details on the FAQ

    itch.io/about/faq

    Disclaimer: I am just a fan, and no way associated with itch.io

    Tagged:

  • Is it possible to select an object in the game while running the debugger from the game window directly and not just from the list on the left?

    For example, if you had 100 bullets flying around, and you wanted to pause and select just one of them to see its details?

  • Answer A) On keyboard press UP - set player animation to "walk up"

    On keyboard press Down - set player animation to "walk down"

    etc.

    Answer B)When your game triggers your dialogue event eg: when the player goes up to a NPC and presses a button to talk, you would simply use

    Player - (8 direction - set enabled = false)

    this disables all input control on the 8 direction movement on the player until you call another action (like when he's done talking to the NPC - to enable it again.

    Player - (8 direction - set enabled = True)