-
Posts
231 -
Joined
-
Last visited
-
Days Won
3
Everything posted by PhaserEditor2D
-
Can phaser editor possible to export obfuscated code?
PhaserEditor2D replied to khleug35's topic in Phaser 3
Hi, the editor does not provide built-in support for code obfuscation or any other "build" tool. -
Phaser Editor - "Run Phaser Project" doesn't work
PhaserEditor2D replied to LizardWizard's topic in Phaser 2
Hi @LizardWizard, Maybe the editor does not find the default Browser, but in theory it should show you an error message. Please, go to the menu Windows > Preferences > General > Web Browser and select the default browser. If no browser is listed there, then you can create a new entry, by pressing the New button and selecting the EXE file of the browser you want to launch to run the games. -
And what about the Pĥaser World newsletter? Is hard to find something similar, not in the game dev world, else in the whole IT world. It is not only about news. If you follow that newsletter you can learn Phaser at a deep level, and it is available to every one of us, every week. Phaser is not just an open source project, behind it, there are an open community and an open developer.
-
This part was very fun for me: "go abroad if you are in a developed country. I saved up $10k and moved to China & Taiwan for about 2 years," It happened something similar to me. I was living in Europe when I did Phaser Chains, I was working in something too boring for me, building a trading platform on top of Eclipse RCP, but Phaser Chains liked a lot to the Phaser community and said, well, this liked the people more than I expected, I was making tools on top of Eclipse for years, I love compilers, I love tools, I love game development, I love Cuba, ok, I am going back to Cuba right now. I developed the first version of the editor in two or three months, the 0.5K euros I had, gone to 0, I had a kid, but the editor started to sell something, and because I am in Cuba, with a few sells I was able to continue working only on the editor. Today, the editor is providing me the needed resources to feed a family and enjoy (not traveling) but a normal life and what is more important, the option of doing what I love: to focus on developing my own ideas. Developed countries, or environments, can boost your product to a level you cannot do in other places, but if you do not have a solid background, it could be very hard to keep alive just doing what you really love.
-
Hi v1 is not going to die, it will be updated until clients request it. But for new users, it is the better to wait until v2 if they plan to work with Phaser 3. JavaFX is not out of date, but it is not good for pixel art, there is no way to disable the interpolation and antialiasing of the graphics, at least not a straight way, there are some workarounds but it is not clean. Anyway, I like the idea of paint everything myself because I have more control over everything.
-
Hi @makis If you do not have experience making games, with Phaser or any other tool, it should be useful for you to learn Phaser 2 with books. I think to learn Phaser 3 you can: - Mess with the Phaser 3 examples. - Read all the Phaser World issues of the last year. - Ask for help here when you don't get something. - Look into the Phaser 3 code Arian
-
That's pretty strange. My advice is to create a small test game with only the background and reproduce the FPS drop, then we can work on improving that case.
-
By the way, A great contribution is to request features. Just tell us what are your ideas with a bit more details so we can implement them (you can add issues to the Github repo and we move them to our plan). Arian
-
Yes, you can contribute to the editor, the source code is on GitHub: https://github.com/PhaserEditor2D/PhaserEditor However, right now we are working on the v2, that is the future of the editor. This version is not ready yet for collaboration, first I have to release a Beta and there are some decisions related to the Canvas editor that I have to make, like replace JavaFX scene by another toolkit. Just keep in touch Thanks!
-
Hi @Davaaron Phaser Editor supports JavaScript 6, but you should disable the content assist (it only works for JS 5), or install the Typescript IDE: https://phasereditor2d.com/blog/2017/04/welcome-typescript-ide However, you can ask the phaser-list-view developers how to use their lib in JS5. It should be possible, I guess you can open an issue in their repo about it.
-
Hi @Mike018 We are too busy on developing Phaser Editor v2, that supports Phaser v3. When we get a time we will implement an online Chains for Phaser 3. We are delivering development reports, in this one you can see how Chains is going in the new version: https://phasereditor2d.com/blog/2018/06/phaser-editor-v2-development-progress-report-1 Note there are other related tools, like the Phaser Files, Phaser Types, Phaser Hierarchy and Phaser Examples. Arian
-
No, P2 is not better for performance. In my opinion, you should ask on the Box 2D forums for tips: http://www.box2d.org/forum/index.php It does not matter if the developers are not using Phaser or the Box 2D javascript port, it is a matter of the Box 2D design. You are welcome.
-
Non renderable objects keeps the body and all the physics checks.
-
> This means I should set the property of each sprite to renderable = false and set it to true whenever the player move nearly? > I thought this is was autoCull actually does, uff. Not the renderable property, you should "kill" the object and revive it. > As Arcade does not suite my needs, I use box2d to handle the physics. Oh! I fear Box 2d is not good for performance. It does too heavy computations. You should look into Box 2D forums for better tips.
-
Phaser Editor is a code generator, it compiles the .canvas file into a js file with Phaser code, it means, all is static, it does not create new objects on the fly. Maybe you can create parts of the scene in different Group prefabs, and add the groups to the state by demand. Or you can check the player position and enable only the near objects. By the way, did you tried by enabling quedtree? game.physics.arcade.skipQuadTree = false; See the demo here: https://github.com/photonstorm/phaser-examples/blob/master/examples/arcade physics/quadtree collision infos.js Or better, just open the New Phaser Example Project in Phaser Editor and select that example, then create a bigger scene and add more enemies.
-
Hello @Davaaron Maybe you can try by enabling autoCull in the sprites: https://phaser.io/examples/v2/camera/mass-camera-cull But it depends on the nature of your game. Maybe you don't need to create all the objects at the same time, maybe you can create them by demand.
-
Hi @Nodragem Thanks for the feedback. If you have in mind any particular feature, we invite you to add an issue in our Github account: https://github.com/PhaserEditor2D/PhaserEditor/issues Best regards, Arian
-
Visual Studio Code - Intellisense for Phaser.js?
PhaserEditor2D replied to cdelstad's topic in Phaser 2
Maybe you should look for cloud-based editors. Something like Theia: http://theia-ide.org -
Visual Studio Code - Intellisense for Phaser.js?
PhaserEditor2D replied to cdelstad's topic in Phaser 2
@projectedtowin I fear it is not going to work if the files are on an FTP site. I guess the TypeScript compiler is not going to read them. If it is working local but not remote, then I think the FTP is the problem. -
@iLKke Tern is the best if you want to code with JavaScript 5, but if you are fine to code with JavaScript 6, then VSCode is a great option, just include the Phaser TypeScript definitions into a jsconfig.json file. Read here about how to do auto-completion in VSCode and JS: https://code.visualstudio.com/docs/languages/jsconfig
-
@Kimeiga It does not work with Phaser 3. We are working on it, but it needs time. Phaser 3 is very fresh and a lot of things changed.
-
Hi, A Phaser Editor project contains all the "website" content inside the WebContent folder. If you look inside it, it is a common website. I think the real question here is how to import a Phaser game into your website. To do this, you only need say Phaser the name of the DIV where to render the game. For example, place a "my-game" div somewhere in your site, and the create the phaser instance like this: window.onload = function() { var game = new Phaser.Game(320, 240, Phaser.AUTO, "my-game"); // Add the States your game has. game.state.add("Boot", Boot); game.state.add("Preloader", Preloader); game.state.start("Boot"); }; Also, remember to load the Phaser lib and your game scripts.
-
Phaser Editor v1.5.0 is released (and is free!)
PhaserEditor2D replied to PhaserEditor2D's topic in Phaser 2
@pdiddles03 Thanks for your comment. It would be great if you go in more details so we can improve the editor. You can contact us in any of our social channels or email [email protected], but specially, we invite you to open GitHub issues: https://github.com/PhaserEditor2D/PhaserEditor/issues/new By the way, the editor generates plain Phaser code, that you can see, there is not any black magic that makes the game slow. Kind regards Arian -
Phaser Editor v1.5.0 is released (and is free!)
PhaserEditor2D replied to PhaserEditor2D's topic in Phaser 2
You can download it from this dropbox link: https://www.dropbox.com/s/d5r1840b3vssc2b/Phaser-Editor-1.4.4.GA.jre.linux.zip?dl=0 However, I recommend to download the last version 1.5.0, from our downloads page: https://phasereditor2d.com/blog/downloads Arian -
Phaser Editor v1.5.0 is released (and is free!)
PhaserEditor2D replied to PhaserEditor2D's topic in Phaser 2
Well, I checked that file and it is fine, maybe the download is not good. No other users reported that file is corrupted. I will upload it to other server.