Jump to content

Search the Community

Showing results for tags 'moving'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 13 results

  1. My graphics object becomes darker while moving. Has anyone dealt with this or know what settings might fix or other ideas? EDIT / MORE INFO: I tried antialias and native lines but they didn't help. If I slow the movement down enough the distortion doesn't happen anymore.. And when I take screenshots it looks fine too. So far I haven't seen this happen with curved shapes, only for straight lines and for the lines of rectangular shapes (not the filled inside part). When moving horizontally, only the vertical lines are distorted. When moving vertically, only the ho
  2. Hello guys, I have a little problem in my scenario. I am able to set the parent child relation among two meshes and i am able to move them along only if the parent mesh is dragged but not counter-wise. Both objects need to be able to be dragged and moved along together no matter which object is dragged. So i will be very thankful if anybody could help me. Thanks!
  3. Hello, I'm new to Babylon.js and I'm looking for a way to use the ArcRotateCamera AND move its target by arrow keys for example. I would like to rotate the camera around the scene and also to be able to look closely to left bottom corner for instance. Is it possible or am I making stuff up? Thank you :-)
  4. Hi, I'm new on Phaser and my english isn't perfect, so i'll try to be careful. I made a 2D mini game like that : (see screenshot). What I need is to move my character on right click. - I handeled my right click (so it's ok). - I have in an array the path I need the character to use (ex : [[0.0],[0.1],[0.2],[0.3],[0.4],[0.5]]). My character have got a speed (equals to 1) and I need my character to move from the first point to the last of my array by passing by the others ... like a unit in Warcraft 3, League of legend, etc. Do you know how i can do that please
  5. Hello. I'm working on a "jungle jump" phaser game and got stucked with it. The use case is very easy: there are some swinging ropes on the top of the screen (they are moving separately with a constant speed), and there is a "Monkey" which jump from one rope on other. When he fail the jump, falling down and waste a life. I found a way how can I generate and move the ropes. But I can't figure out how can move together the monkey and the rope and how can jump from one moving rope on other. Any code example would be helpful, or if have additional question feel free to ask. I found
  6. Hello I'm beginner in BabylonJS I would link two cube with a "BABYLON.Mesh.CreateLines " but when moving a cube or two I would like the link remains attached to the cubes . Thx and have a good day !
  7. Hi guys! Again me with my lot of requests. I "just" need to move a selected mesh and all the meshes attached to it (but with those meshes remaining attached to the other objects they are bound with, hope to be clear in my explanations) in x,y,z : (http://playground.babylonjs.com/#12ZRI0#5) I think a soluce to do it could be Picking the object I want, so I can have the position (X0,Y0,Z0) of it (and the bounding point of all the other meshes attached to it) Translate this in canvas coordinates (http://www.html5gamedevs.com/topic/9584-converting-3d-vertex-to-2d-point-on-s
  8. We have the following hours: var createScene = function () { var scene = new BABYLON.Scene(engine); // setup environment var light0 = new BABYLON.PointLight("Omni", new BABYLON.Vector3(0, 10, 20), scene); var camera = new BABYLON.ArcRotateCamera("Camera", 0, 0, 0, new BABYLON.Vector3(10, 10, 0), scene); camera.setPosition(new BABYLON.Vector3(-10, -10, -30)); camera.attachControl(canvas, true); // Impact impostor var impact = BABYLON.Mesh.CreatePlane("impact", 1, scene); impact.material = new BABYLON.StandardMaterial("impactMat", scene); impac
  9. Hi, the problem is that body is not move straight if drag property set. Check asteroids example http://examples.phaser.io/_site/view_full.html?d=arcade%20physics&f=asteroids+movement.js&t=asteroids%20movement There are some roaming at the end of ship moving. How it can be fixed?
  10. Hey guys, I was wondering if any box2D (javascript) users here could help me with this issue I am having. I have some boxes that will float to the top of a block of water. This function works fine //if inside the water this.waterObj.GetBody().SetLinearVelocity(new b2Vec2(0,-2)); I want my water take the boxes like a wave, however when the water block collides with the boxes, the collision handler is NOT called… However if I drop my boxes into the water it works fine (even if the water block is moving) I think this is to do with the collision handler not being called on my b
  11. Zaidar

    Line moving

    Hi, I'd like to know how can I draw a line moving from a point on the canvas to my moving my moving pointer. I've already tried with graphics, but it doesn't seems to clear the canvas, which make not a line but a big shape with all the line. What is the solution for it ? If I use a sprite, it will look scaled and not really nice, and with the Line renderer, I've seen Rich saying it shouldn't be used in production. Thx in advance !
  12. I would like it so that when a certain event happens, the player completely stops moving (for a few seconds or so), the user does not have the ability to move at all, and I am then able to proceed to call a function (which calls a function to end the game). How would I implement this? Here is a snippet of code located in my Update function: (Please note: I am using the Phaser basic template, so when calling functions and methods, we must use 'this'. if (this.game.physics.collide(player, certainItem)) { var hit = this.game.add.audio('hit'); hit.play();
  13. Hi! I have a sprite scaled.this.player.scale.setTo(0.7, 0.7); When the sprite is moving does rare things. It doesn't move correctly. But if the sprite is scaled 0.5 0.5 is moved perfectly. What I doing bad?
×
×
  • Create New...