Search the Community

Showing results for tags 'world size'.



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. Is there a way to define the x/y = 0/0 Point in Phaser? I could not find anything on the forum / docu. So everything is aligned from 0/0 - I want to set a padding of "300" around the whole game. (example) So that the camera can freely move around. The game itself is centered. But there are also renderable object ins space like (-2590, 30) Anyway of doing that? I tried to set negative world bounds and to resize the world. It does nothing at all.
  2. Hi all, I'm interested in building a 2d shooter or runner game (think Gradius) where the levels are designed ahead of time. That is to say, the platforms and enemies would NOT be procedurally generated, but rather part of a scripted level. My plan was to give the player a positive x velocity, moving him/her to the right in a long world (currently 6000 pixels wide) and have the camera follow him/her, and literally have enemies and objects waiting at predefined positions. Basically I want to know, is this a reasonable way to build this type of game? I'm wondering how big can the world be (roughly) and how many objects can I pre-place off-screen before I start to run into performance trouble. If this is a concern, what strategies can I use to mitigate it? Off the top of my head I'm thinking I could pool objects or not render/run enemy routines until they are on-screen. Thanks for any thoughts you can provide. Nick