Search the Community

Showing results for tags 'pcg'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • 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 2 results

  1. I'm cutting up some large images into puzzle pieces, and I'd like to create spritesheets out of them directly from JavasScript (as opposed to cutting them up and saving them as images which are then loaded as a spritesheet). So far I've made a puzzle cutter in regular canvas. I did these operations in canvas instead of pixi because they are pretty easy in canvas. I can then draw all of these puzzle pieces to a new canvas, and via PIXI.RenderTexture I can begin to create a spritesheet. Ideally I'd like to gain access to a syntax like new PIXI.Sprite.fromFrame(puzzleId + '-' + puzzlePieceIndex) but I'm not sure how to achieve this. I also generate some other important images, like a stroked outline of the puzzle piece which I will later use in-game to great a highlight effect. I've been inspecting the objects created when importing a spritesheet via texturepacker. All I've figured out so far is that pixi creates a hash of image names matched to frame data... basically the name of an image as the key, and a rectangle, within the global pixi object. Is there some trick to this? Can I just create the strings and frame data and shove it all in there an expect it to work? E.g. 'nebula-2830' : { x: 500, y: 500, width: 48, height: 48 } (or whatever). How do I then actually wire it to the texture that I created via the render texture? The metadata created by texturepacker seems overly complicated for what I need here. Also, perhaps this doesn't change anything, but I might try for some really giant puzzles.. puzzles whose images are 4096 px squared or bigger -- for these I would cut them into multiple textures as only certain hardware would cope with those dimensions as is. Here are some images of the puzzle cutter's output in regular canvas: http://timetocode.tumblr.com/post/156841273346/javascript-jigsaw-puzzle-wip Thanks!
  2. Hello Everyone, I am Ahmed Khalifa, known as Amidos. I am a PhD Student and Indie Game Designer/Developer. Recently I was developing couple of roguelike games and everytime I start to develop a new game, I have to create an algorithm to generate the map from scratch. I got an idea inspired by Nicky Case (Emoji System Post) and Kate Compton (tracery). The idea is to have a library that is super flexible and powerful enough to be used to generate maps for games (not only background tiles but also player, goal objects, enemies, and ...etc). From here I got the idea of ProcEngine. ProcEngine is a step toward having a unified opensource library for different map generation techniques. Features: 2 different room spawning techniques (equal split/tree division) Spawn objects and have room structures using advanced cellular automata rules (inspired by Nicky Case) Define any number of names (and max count) as cellular automata objects Define any type of neighbourhood as a 2D binary matrix Define any probability to spawn new object on the generated map Connect/Delete unconnected parts in generated rooms and maps Use more than one cellular automata rules either to have new generating layers or smoothing the generated level Debug attribute to print what's happening after each step in the system. Link to the project: https://github.com/amidos2006/procengine The project is still in Beta version, feedback is appreciated and help with making better website and tools will be amazing