Search the Community

Showing results for tags 'how-to'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 4 results

  1. How to create multiple levels?

    How would I create multiple levels. For example, after I hit a checkpoint, the game will load a new level? This is the code I currently have, it just loads a few blocks(level 1). boxes = game.add.group(); boxes.enableBody = true; var blocks = boxes.create(300, game.world.height - 125, 'block2'); blocks.body.immovable = true; blocks = boxes.create(400, game.world.height - 125, 'block2'); blocks.body.immovable = true; blocks = boxes.create(400, game.world.height - 150, 'block2'); blocks.body.immovable = true; blocks = boxes.create(625, game.world.height - 125, 'block2'); blocks.body.immovable = true; blocks = boxes.create(650, game.world.height - 150, 'block2'); blocks.body.immovable = true; blocks = boxes.create(650, game.world.height - 125, 'block2'); blocks.body.immovable = true;
  2. I've been playing with this idea of creating an online course to help beginners learn HTML5 and Javascript. It seems to me there's a lot of frustration and struggle when it comes to actually making a complete game. Not just a demo showing some features like a double jump, making enemies move in a certain way or showcasing different weapons, but a complete game that is worthy of publishing. Since it's beginner friendly, you won't need any background in design or programming or anything. The course will cover topics like coming up with good ideas, designing your own graphics and learning to code. Making a game is like putting together a jigsaw puzzle and just like a jigsaw puzzle, the only way to figure out where the pieces go is have the entire big picture of what the finished puzzle looks like. Correct me if I'm wrong, but if you're a beginner, that's probably what you struggle with most... to have a big picture of what they're going to make and see exactly how each piece fits together. Also, what if you could choose the puzzle and picture you want to work on? What if you could decide how you want your final game to be like so you end up making a unique game, different from the rest in the course? I don't want to create just another make a "Mario platformer", "Asteroids" or "Match-3 Candy Crush" style game. To help you along, there will be videos, written tutorials, tonnes of code snippets to look at, and personal support from me so you can ask up to 3000 questions a month (that's 100 questions a day!). Just kidding about the limit =) You can basically ask any number questions 24/7 and I'll personally reply each one. The course will be limited to 30... maybe a maximum of 50 people so you get personal attention. I'm thinking of launching this sometime in the next quarter (July-Sept)? The goal is to learn how to make your own game and to finally publish it for the world to play. Who's interested? If you have topics you'd like to see, feel free to suggest and if it's a good fit for the course, I'll figure out how to work it in. If you're keen, leave a reply below. More details to come =)
  3. How to implement a leaderboard?

    Does anyone know anyways to implement a leaderboard?
  4. Masking sprite a to sprite b.

    First of all what i am trying to do: Imagine a fiery ball that goes near thing that make them appear lighter... i am trying to make a glowing ball that blends with certain objects. So imagine a scene in which there is a background, some other stuff, and rocks. A glowing ball follows mouse with opacity halfed. now this ball of light needs to blend in addition to being opaque with rocks and not with background and other stuff. My approach: not saying it's the best but i intended to make two glow balls one that was opaque and one that would blend with objects and would remain masked out other wise. It's mask would be all object that it need to appear on. But there is not a way i can find to do it. I would like to have a group of sprites to which i can masks this so this firy ball only appears when it's over them. doing this gives error fireball.mask=sprite_object.