
haden
Members-
Content Count
175 -
Joined
-
Last visited
About haden
-
Rank
Advanced Member
- Birthday 10/03/1980
Profile Information
-
Gender
Male
Contact Methods
-
Twitter
hadenthedude
Recent Profile Visitors
2571 profile views
-
jamespierce reacted to a post in a topic: Error in Sprite.crop
-
haden reacted to a post in a topic: I'm building a simple HTML5 framework to quickly prototype games
-
haden reacted to a post in a topic: Current Licensing Market
-
haden reacted to a post in a topic: The making of native-like HTML5 games
-
haden reacted to a post in a topic: Blisk Browser for development
-
haden reacted to a post in a topic: Screen fade to black
-
Thanks @Mike018, Adobe XD is interesting but looks more appropriate for mobile apps rather than games. In all my previous games I used to "prepare" the UI assets in Gimp, convert them to sprite atlases and then manually position and animate them in Phaser using tweens. I was looking for ways to do this in a tool and export the result to Phaser directly.
-
tan reacted to a post in a topic: Any tool available for UI design ?
-
haden reacted to a post in a topic: I've created a Flash animation runtime for PixiJS (Pixi Flump Runtime)
-
Trying the following example: http://phaser.io/examples/v2/input/game-scale I see the following error message in the console: embed.php:43 Uncaught TypeError: game.scale.setScreenSize is not a function I guess this function was removed in a recent version of Phaser. Any idea how to get the example working ?
-
[Closed] $10,000 Y8 and id.net 1 Week Game Developer Contest!
haden replied to eddieone's topic in General Talk
Most of the issues where resolved once I made sure ID.init() was called in index.html. I was calling ID.init() but missed the fact that I also needed to call ID.GameAPI.init() =P Question about game requirements: if I use highscores + login do I still qualify for the contest ? I am playing around with achievements + online saving but I may not have enough time to properly include them in the game. -
[Closed] $10,000 Y8 and id.net 1 Week Game Developer Contest!
haden replied to eddieone's topic in General Talk
my nickname in the forum is "hakim". When I click on login/register a popup opens up, and after I enter my credentials it says it will redirect to the forum in X seconds but then it becomes white and nothing happens! I was able to get the JS highscores working but only after I got my game/application approved (I don't think it'w mentioned anywhere in the documentation). Also, I couldn't get the new leaderboard API to work, I get an "Invalid Request" response, but using ID.api.submit() actually works. I am seeing similar issue with the Achievements API, but unfortunately I couldn -
[Closed] $10,000 Y8 and id.net 1 Week Game Developer Contest!
haden replied to eddieone's topic in General Talk
I'm having trouble saving or displaying highscores. I tried posting a question in id.net developer forums but it's not working too :/ -
webcaetano reacted to a post in a topic: Collection of useful tools and resources for game development
-
yougotashovel reacted to a post in a topic: Tools compatible with Phaser
-
haden reacted to a post in a topic: Softgames offers 30K per HTML5 game!
-
haden reacted to a post in a topic: GameDevLinks.com | The 5 best gamedev links of the week
-
When using this approach, did you get "imobilising a non-moving ton" in the console ? if yes, then maybe you should try using t.body.immovable = false to make the tons immovable once they stop moving.
-
The only solution to avoid the spaced areas on all mobile devices is to use EXACT_FIT instead of SHOW_ALL. This unfortunately means that your game won't have the same aspect ratio on all of them, but from my experience with sponsors (and I've sold games to 12+ different ones), they don't like the spaced areas and they never complained about using EXACT_FIT. So here is the code I use on all my games: if (this.game.device.desktop) { this.game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.game.scale.pageAlignHorizontally = true; this.game.scale.pageAlignVertically = true;} else
-
Only if you still couldn't fix the problem
-
are you asking about improving performance for mobile browser games, or for games that were packaged using CocoonJS ?
- 13 replies
-
- Phaser
- performance
- (and 4 more)
-
Don't know about your specific case, but couldn't you add a condition in the update(), like when a "tons" sprite isn't moving anymore for more than 100ms (or a number of update calls) you set it's body.immovable to true
-
clark reacted to a post in a topic: Many problems with returning to past states
-
Depends, Phaser will destroy all objects added to the world when the state is shutdown, but if you created an array for example, it won't be destroyed.
-
Could you share your MenuState code ? One important thing to keep in mind, the state's constructor is only called once in your game. when you change state, the previous sate stays in memory until you start it again with game.state.start(), and when you do so only it's create() method is called once again.