lennaert's Forum Posts

  • Ogre_ — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/ogre-2335

    <p>Create your own dungeon game with this isometric Character which has 5 animations:</p>

    • Idle
    • Being hit
    • 1 attack
    • Death
    • Walk

    <p>Images:</p><p>8 directions with each 4 images totaling 160 sprites.</p><p>Size in Capx</p><p>Roughly 1mb. </p><p>Ideal for mobile. </p><p>Included Capx has a demo inside showing all movements by means of buttons and touch for directions.</p><p>The example is optimized size for mobile with only 4 frames for the animation.</p><p>The source files are 1024x1024 with 8 frames per animation angle.</p><p>Source files list of animations:</p>

    • Charge
    • Attack 1
    • Attack 2
    • Attack 3
    • Attack 4
    • Dodge / Hit
    • Die
    • Idle
    • Parry
    • Sneaking
    • Walking

    Use this topic to leave comments, ask questions and talk about Ogre_

  • Added an example for the capx

    Example is optimized size for mobile with only 4 frames for the animation, source files are 1024x1024 with 8 frames per animation angle.

    Source files list of animations:

    -Charge

    -Hit

    -Run

    -Sneaking

    -Walk

    -Die

    -Shrug

    -Talking

    -Thinking

    -Combat ready

    -Dodge

    -Block 1

    -Block 2

    -Attack 1

    -Attack 2

    -Attack 3

    -Attack 4

    -Tpose

    Price update

  • Added a demo of the capx

    Example is optimized size for mobile with only 4 frames for the animation, source files are 1024x1024 with 8 frames per animation angle.

    Source files list of animations:

    -Bow aim

    -Bow charge

    -Bow Combat mode

    -Bow Shooting

    -Climb ladder

    -Die

    -Hit

    -Jump

    -Sit down

    -Sneaking

    -Sword combat mode

    -Dodge backwards

    -Sword attack 1

    -Sword attack 2

    -Walk

    -Tpose

    -Use object

    price update

  • Added a Demo of the Capx

    Example is optimized size for mobile with only 4 frames for the animation, source files are 1024x1024 with 8 frames per animation angle.

    Source files list of animations:

    -Die

    -Dodge / hit

    -Attack 1

    -Attack 2

    -Attack 3

    -Block

    -Idle

    -Tpose

    -Walk

    price update

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Added a Demo of the capx

    Example is optimized size for mobile with only 4 frames for the animation, source files are 1024x1024 with 8 frames per animation angle.

    Source files list of animations:

    -charge

    -combat mode (idle)

    -die

    -dodge backwards

    -getup

    -shield block

    -sword parry

    -sword attack 1

    -sword attack 2

    -sword attack 3

    -walk

    price update

  • Atm, the mp object does not have such function, but you can build something similar with the method mentioned above.

    Upon connecting An ajax call is made, which relays back the IP address which gets stored in a peer/user's local storage.

    When connecting to a game, the stored IP address gets transmitted and compared by the host to some list it has stored somewhere.

  • lennaert

    For obvious reasons banning players shouldn't rely on info from the person being banned though. Ideally there should be a way for the host to get the IP of a player before they're banned (i assume this info is already known by the host in establishing a connection), store it, and check if a connecting player has an IP in the ban-list.

    If the signalling server does not allow the connection ..... he or she will not connect.

  • You can create something for that in your game logic.

    i.e.

    The peer receives a ban command from the host.

    The peer then fires off an Ajax call to a dedicated page.

    This page processes the request, catching the IP of the user calling the page.

    This info is then processed and applied to the firewall rules.

    Voila IP blocked on server

    Another approach could be that if the player receives a bann messages, certain values get stored in the local storage preventing him or her to reconnect.

    This could be undone by reinstalling the game or something, but could become tedious after several bans.

  • > Likely your Ajax request is not getting served a PHP interpreted reply but a straight up text file containing the PHP script.

    >

    > Make sure your PHP file is on a PHP capable webserver and that you are actually addressing it by means of the webserver address and not by means of a local file.

    >

    I kinda figured that since it auto created HTML tags it was running the PHP correctly, but because of my results, I believe your right. I'm curious, if I'm running in test mode in Construct 2 and POST the file with AJAX, should it work? Local servers should just normally be PHP compatible, right?

    What do you mean with "post the file" ?

    Are you sending the PHP script to the server for it to be processed as a PHP script ?

  • Archer — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/archer-2331

    <p>Create your own dungeon game with this isometric Character which has 5 animations:</p>

    • Idle
    • Being hit
    • 1 attack
    • Death
    • Walk

    <p>Images:</p><p>8 directions with each 4 images totaling 160 sprites.</p><p>Size in Capx</p><p>Roughly 1mb. </p><p>Ideal for mobile. </p><p>Included Capx has a demo inside showing all movements by means of buttons and touch for directions.</p><p>Also included are the source images in spritestrips with a couple of extra animations.</p><p>Source image sizes 1024x1024</p>

    Use this topic to leave comments, ask questions and talk about Archer

  • Crusader — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/crusader-2332

    <p>Create your own dungeon game with this isometric Character which has 5 animations:</p>

    • Idle
    • Being hit
    • 1 attack
    • Death
    • Walk

    <p>Images:</p><p>8 directions with each 4 images totaling 160 sprites.</p><p>Size in Capx</p><p>Roughly 1mb. </p><p>Ideal for mobile. </p><p>Included Capx has a demo inside showing all movements by means of buttons and touch for directions.</p><p>Also included are the source images in spritestrips with a couple of extra animations.</p><p>Source image sizes 1024x1024</p>

    Use this topic to leave comments, ask questions and talk about Crusader

  • Skeleton — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/skeleton-2336

    <p>Create your own dungeon game with this isometric Character which has 5 animations:</p>

    • Idle
    • Being hit
    • 1 attack
    • Death
    • Walk

    <p>Images:</p><p>8 directions with each 4 images totaling 160 sprites.</p><p>Size in Capx</p><p>Roughly 1mb. </p><p>Ideal for mobile. </p><p>Included Capx has a demo inside showing all movements by means of buttons and touch for directions.</p><p>Also included are the source images in spritestrips with a couple of extra animations.</p><p>Source image sizes 1024x1024</p>

    Use this topic to leave comments, ask questions and talk about Skeleton

  • Likely your Ajax request is not getting served a PHP interpreted reply but a straight up text file containing the PHP script.

    Make sure your PHP file is on a PHP capable webserver and that you are actually addressing it by means of the webserver address and not by means of a local file.

  • Demon — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/demon-2333

    <p>Create your own dungeon game with this isometric Character which has 5 animations:</p>

    • Idle
    • Being hit
    • 1 attack
    • Death
    • Walk

    <p>Images:</p><p>8 directions with each 4 images totaling 160 sprites.</p><p>Size in Capx</p><p>Roughly 1mb. </p><p>Ideal for mobile. </p><p>Included Capx has a demo inside showing all movements by means of buttons and touch for directions.</p><p>Also included are the source images in spritestrips with a couple of extra animations.</p><p>Source image sizes 1024x1024</p>

    Use this topic to leave comments, ask questions and talk about Demon

  • lennaert I yes using animation frames works well, but it doesn't seem that the layout view updates and shows the correct frame. Not showing the animation/frame i've set it on, for that instance of the object. Always the first frame of the first animation. Maybe a bug I'm having? I have to investigate.

    Sounds like you either had the animation name wrong or tried a none existing frame number for the given animation. That would result in the first animation with frame 0