• Content Count

  • Joined

  • Last visited

  • Days Won


rich_earth last won the day on January 5

rich_earth had the most liked content!

About rich_earth

  • Rank

Recent Profile Visitors

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

  1. Special Effect are a UK charity who put fun and inclusion back into the lives of people with physical disabilities, by helping them to play video games! I added some new games today to this free website , they are all primarily designed for use with eye gaze controllers and switch access, but also good with just a mouse! Tweet! For more info visit the Special Effect Website and check out their events to support their amazing work.
  2. Hey Charlie, Did some work with SVGs a while back, I used a combination of svgson package ( to get data out of svg files (mine needed to have path attributes), and some native html methods on the Path object. static getSVGPaths(svgString) { return svgson.parseSync( svgString ).children.filter((child) => === "path" && child.attributes.d) .map((child) => child.attributes.d); } static getPointsFromSVG(svgPath, spacing, scale) { const line = []; const svgEl = document.createElementNS("", "path"); svgEl.setAttributeNS(null, "d", svgPath); const totLength = svgEl.getTotalLength(); let trackLength = 0; while (trackLength <= totLength) { const svgPoint = svgEl.getPointAtLength(trackLength); line.push({ x: svgPoint.x * scale, y: svgPoint.y * scale }); trackLength += (spacing * scale); } return line; } static getSVGPathLength(svgPath) { const svgEl = document.createElementNS("", "path"); svgEl.setAttributeNS(null, "d", svgPath); return svgEl.getTotalLength(); }
  3. Hi, Any budding or experienced game developers for hire, within reach of the UK Southwest area? We're looking to hire creative developers who can demonstrate their knowledge and enthusiasm for developing games with PIXI.js, within reach of Bristol UK. Work can be done remotely, but we would like to meet up every few weeks for testing games on specific devices and input setups. CVs / portfolios to Thanks
  4. One way you can do it is scale the whole stage and position it in the canvas, based on window.innerHeight / innerWidth and whether portrait or landscape.