Jump to content

Search the Community

Showing results for tags 'box'.

  • 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 18 results

  1. When creating a Box using BABYLON.MeshBuilder.CreateBox() I can pass it parameters like width, height and depth, but I don't see widthSegments, or heightSegments for example. Is there a way to do that?
  2. I have a tilemap, like this: The tile number 47 in reality is a 64x15 Thorn, I want to know how do I change the size of the collision box him just to be 64x15 and not 64 x 64. EDIT: Put all code attached. Thank you in advance. phaser.tar.gz
  3. How should i create the box mesh to use as a trigger zone... I really want a non-visible box area to walk thru and trigger and event. I get that i can use the action manager and or just check intersects with in update loop. But i can trying to add support for trigger volumes to my BabylonsJS Toolkit and i am creating the box using the babylon.entities api in C#. So i guess what i an asking is 'HOW MUCH' of a regular cube mesh do i need to create for it to be a non-visible at runtime area that still has some kind of geometry that defines that actual area of the box that 'lives' so the
  4. Hi folks, My first post on the forum, so hello all! I'm been playing around with babylonjs. My intention is to make a Red Alert style game, mostly just to improve my JS skills, and learn the basic concepts of game development etc. However I've struggled to find a best approach for moving meshes around a ground plane. I'm essentially trying to animate a block to move from a selected mesh's initial point, to a selected point. But the movements happen immediately, and feel 'buggy' in my example: http://www.babylonjs-playground.com/#OYE6Q Any help much appreciated! Cheers, E
  5. I'm trying to have 1 face of a box display a 2D animation. The idea would be the same as having it display a texture like in the link below, only an animation instead. https://doc.babylonjs.com/tutorials/CreateBox_Per_Face_Textures_And_Colors How should I go about achieving it?
  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. can anyone check this http://www.babylonjs-playground.com/#1EIE9G#0 steps to reproduce : 1st rotate around X then rotate aroung Y if you notice the color or another Box is changed cay anyone tell me why please help me I'm new hear
  8. Hi, I just started learning babylonjs i have some doubts please help me I am simply making a rubix cube using MeshBox, i just simply want to rotate each block as you know what we did in Rubix Cube now my problem if i use animation for rotating 90 degree like this animationBoxY = new BABYLON.Animation("myAnimation", "rotation.y", 160, BABYLON.Animation.ANIMATIONTYPE_FLOAT, BABYLON.Animation.ANIMATIONLOOPMODE_CYCLE); animationBoxX = new BABYLON.Animation("myAnimation", "rotation.x", 160, BABYLON.Animation.ANIMATIONTYPE_FLOAT, BA
  9. When creating a box, there's the assumption that all sides are of equal length. However, for a rubberband selection in an RTS I'd like to create a rectangular box on the fly (from the screen down to the ground) and then check intersections with all units on the screen to select them. How could I create a rectangular box, or is there even a better way to do rubberband selection in BabylonJS?
  10. Hello everybody, here is my new and first game launched on Google Play, it's called "Da Box"! URL: goo.gl/PFvjuO It's a puzzle/platformer, using one finger to play. It's really easy to learn, but somehow hard to master! It was made using Construct 2 (for the most part, some coding was done for additionnal stuff) and it uses the Crosswalk Webview for the best compatibility. I hope you'll like it, and don't hesitate to comment, give me suggestions/feedback and share! Enjoy Here are some screenshots:
  11. Hi, Just wanting some guidance here... I'm new to 3D Web development and Babylon I'm wanting to create a 'room' with objects in it with the arc camera. The room is shaped as a simple 3D rectangle (as you would expect a room to be). When the user looks at the room from a short distance, I'm wanting the walls to be transparent (so the user can see inside the room), however the walls at the very back to be visible. When the camera spins around the room (180 degrees for example), the same thing is to apply. Similarly with the floor and the roof by moving up and down. How can I achieve
  12. Hi, setting the "checkCollisions" property to true on a box works well (*) when you're outside the box : http://www.babylonjs-playground.com/#1JVYDS But what if you're inside the box ? It looks like you can pass through the box (from inside to outside) : http://www.babylonjs-playground.com/#1JVYDS#1 Is there a way to prevent this ? I'm thinking about using 6 panes instead of a cube, but there might be another solution. * Except you can see through the box.
  13. Hello, First of all I would like to say, you guys have done awesome job and hope you will add more features. I really appreciate the team for developing such a nice lightweight engine, its pretty awesome. I am facing a problem in camera collision with box. I have used FreeCamera so that I can have a FPS kind of effect. For that I made a ground, box. While I am going near to the box somehow the camera is going little inside the box. Here is my html code: <!DOCTYPE html><html><head> <meta charset="utf-8" /> <title>TestBabylon</title> <scri
  14. Hi guys, This is my example: http://codepen.io/jdnichollsc/full/ZGoNKg/ What do you think? Regards, Nicholls
  15. Hello everyone. I'm new to Phaser, and believe it or not, the first thing I decided to do, was a 2D fighting game. first of all, i'm spanish, so excuse me for my english. I thought it would be an awesome experience, but the real thing is that I've got so many problems with it that I can't do nearly anything. I'm using Phaser for programming it. One of my mayor problems are the collisions. I use spritesheets for the characters, and like in many fighting games, some sprites are smaller than others. (the one for crouching is smaller than the Idle one). the problem is, that when I want to
  16. Hey guys, I've just noticed that the bounding box of a plane in the debug layer and the bounding box which is taken into account when computing mesh intersection with a point are inconsistent. Here is the playground example (just check the bounding boxes checkbox). So one of them should be fixed... Upd: Another problem is when the plane's bounding box does fit the bounding box of debug layer, there is no intersection at all (that's an obvious problem because of plane thickness I think). Here is the playground sample. Maybe the solution is to give a minimal bounding box thickness of BABYLON.
  17. there is any instruction to set the bounding box to an entire group of sprites? I have the following: n_bullets = game.add.group(); n_bullets.enableBody = true; n_bullets.physicsBodyType = Phaser.Physics.ARCADE; n_bullets.createMultiple(10, 'n_bullet'); n_bullets.setAll('anchor.x', 0.5); n_bullets.setAll('anchor.y', 1); n_bullets.setAll('outOfBoundsKill', true); n_bullets.setAll('checkWorldBounds', true);I think setsize method donĀ“t exist for group .
  18. Hello, I started a small sandbox game with Phaser and I have this problem. I can rotate the car, but collision box does not rotate. I don't understand how to rotate both of them :/ I attached the screenshot and code is here: http://pastebin.com/pUh1jd7L How to rotate the collision box together with the sprite?
×
×
  • Create New...