kpded

Members
  • Content Count

    30
  • Joined

  • Last visited

  • Days Won

    1

kpded last won the day on December 16 2018

kpded had the most liked content!

About kpded

  • Rank
    Advanced Member

Contact Methods

  • Twitter
    kpded

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hey, have a look at my new game “Rocketate Next” https://www.newgrounds.com/portal/view/728026 This is a rotational puzzle with a jetpack, developed with Phaser 3. Have a look, and please share your thoughts, any feedback is welcome! Here a couple of screenshots:
  2. kpded

    [Phaser3] Rocketate

    @nrbdch Oh, man! Thank you so much! You've made my day So I've nailed that bug and fixed it. Note to myself: comment out logging statements with caution
  3. kpded

    XMAS PUZZLES [HTML5]

    Looks awesome! Christmas is coming)
  4. kpded

    [Phaser3] Rocketate

    @Nagval333 Thank you! Does this bug happen repeatedly and is easy to reproduce? What OS and browser are you using? This is so awesome you've nailed this bug, because some players wrote me about it but I can't reproduce it. And yeah, your guess is correct the reason is physics system, namely my custom written collision detection system.
  5. kpded

    [Phaser3] Rocketate

    Hello! Please have a look at my game "Rocketate" This is a platformer rotation where you can jump on a jetpack and rotate the world https://www.newgrounds.com/portal/view/721482 If you encountered any bugs please report it in this thread. People on Newgrounds reports about some bugs, but meanwhile I can't reproduce them
  6. kpded

    Get MatterJS collision point and normal

    People at matter repo helped me to solve this issue without changing the source. The idea is that one can access all pairs of colliding objects through the array this.matter.world.engine.pairs.list at every update frame Every member of this array contains bodies of colliding objects and 'collision' object. The 'collision' object in turn contains that 'normal' and 'supports' properties, that I needed
  7. kpded

    Get MatterJS collision point and normal

    Thank you @rich Yeah this data doesn't contain any information on collision point But matterjs calculates it anyway in Engine.update(), just doesn't pass with event. It can be found here https://github.com/photonstorm/phaser/blob/c6faa7c8a7f1dac9a06a629458c0c05f4eaa6602/src/physics/matter-js/lib/core/Engine.js#L192 It feels like we need to pass collisions array along with the pairs. A collision from that collisions array contains 'normal' and 'supports' members, that are a normal vector of the collision and points (may be one or two) that describe a collision point Changing this directly in phaser.js file gives a result that looks decent at a glance (see gif attached) I do understand that this can't be a robust solution, so I'm trying to wrap my head around overwriting Phaser.Physics.Matter.Matter.Engine.update() method. With no luck so far: I can't understand how can I get to the scope of the original function So if anyone can advise me on a way to overwrite that function, it would be awesome
  8. Hello! I'm trying to identify the place and normal vector of collision to launch a bunch of particles when two bodies collide in MatterJS. So following example on collision filtering https://labs.phaser.io/edit.html?src=src\physics\matterjs\collision event.js I have something like function create () { var blockA = this.matter.add.image(0, 300, 'block').setBounce(1).setFriction(0); var blockB = this.matter.add.image(600, 300, 'block').setStatic(true); blockA.setVelocityX(10); this.matter.world.on('collisionstart', function (event, bodyA, bodyB) { // launch particles here at collision point }); } But unfortunately 'collisionstart' event provides just bodies of two gameObject collided and no information on where the collision took place So is there any way to detect where did the collision happen and what was the normal direction? Or perhaps one can access MatterJS collision object directly, as far as I can see it contains this information? I'm using MatterJS because I need to collide non-convex polygons, so if you have any possible alternative in mind I would appreciate if you share it with me
  9. Hello html5 game developers! I have created a little puzzle game on the difficulties of lawn mowing, please have a look at newgrounds, and don't forget to vote https://www.newgrounds.com/portal/view/715904 Although, I initially planned this game to be made in two weeks I fell off the schedule and spend almost 3.5 weeks. You know, all cool features always come too late) So have a look, and please share with me your thoughts and feedback Some screenshots below
  10. kpded

    Background on game page

    Hello! I'm trying to put a background behind the game div in Phaser 3. So that there is my game (960x640) in center of the page and the rest of the page covered with repetitive image In Phaser 2 I used the following code in my index.html and it worked <head> ... <style> .overlay { background: #acbbbe; background-image: url(assets/pageBack.png); background-repeat: repeat; position:fixed; width:100%; height:100%; top:0px; left:0px; } .divstyle{ position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } </style> </head> <body> <div id="wrapper" class="overlay"> <div id="gameContainer" class="divstyle"> </div> </div> </body> ... Using this snippet together with the following index.js in Phaser 3 const gameConfig = { width: 640, height: 960, scene: SimpleScene, parent: 'gameContainer' }; new Phaser.Game(gameConfig); Brings the game div element behind the background div element What does cause that strange behavior? How can one fix that?
  11. Thanks a lot! I really appreciate this! I felt like a need some story to explain why a hamster in a ball running around those strange things )
  12. Hello, html5 game developers! Have a look at my new game "Hamsternikus". Sokoban-like puzzle game, where player have to help a scientist, trapped into a hamster's body, find a way back The game is published on Newgrounds: https://www.newgrounds.com/portal/view/713537 Here are a couple of screenshots: The game is developed with Phaser, with some vector art from paperJS Any feedback is welcome!
  13. My new devlog on Hamsternikus: new graphics and player control techniques https://gamejolt.com/games/hamsternikus/306047/devlog/devlog-post-1-report-on-visulas-p2wcuarf
  14. I'm working on puzzle game about a professor trapped in hamster's body Current prototype is hosted on gamejolt https://gamejolt.com/games/hamsternikus/306047 Please try it and give me a feedback on the following issues: - Are controls responsive and intuitive? Whether it could be a good idea to use keyboard controls for desktop version? - Is gameplay boring? - Are puzzles tough? You can follow development process on gamejolt devlog https://gamejolt.com/games/hamsternikus/306047/devlog Or in my twitter @kpded