Code Monkey home page Code Monkey logo

Comments (17)

tomblind avatar tomblind commented on June 3, 2024 2

@boniatillo-com Sounds good - if you put out an RC, I'll definitely test it out :)

from phasereditor.

aliklev avatar aliklev commented on June 3, 2024 1

We are testing, I think will be nice to add 100% typescript templates projects to version.
Thank you.

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

Less than a month I think. If the Mac hardware arrive then maybe a week more, if possible we want to deliver the next release with the so waited Mac version.

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

Do you have any interest in particular?

from phasereditor.

aliklev avatar aliklev commented on June 3, 2024

We are interesting and want to try next release for Windows and typescript support.

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

We hope for the date the Typescript.java project will release its 1.2.0 version, to include it in the editor.

https://github.com/angelozerr/typescript.java/wiki/New-and-Noteworthy-1.2.0

from phasereditor.

aliklev avatar aliklev commented on June 3, 2024

Hi.
Can you supply beta or rc version for windows release?
or how can we compile the source for windows?
We decided to check the canvas typescript compilation feature, may be in early stage ..
thank you.

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

Hi, other users requested the build guide (#12 ) but yet we do not decide put some time on create builds scripts or write a detailed manual-build guide.

I think it will be more easy to send you a private snapshot of the current development, it will be great if you give us some feedback, I just need two or three days to prepare the update site and a small guide about the new features because Canvas is now splitted in State, Group and Sprite.

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

While I build the update site for preview you can look inside the code generated in this game I am using to confirm the typescript code is working.

It is the WebContent folder of the project, it has a tsconfig.json file so you can open it in Visual Studio Code and try it.

TypeScriptDemo_WebContent.zip

It should look like this:

image

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

Hi @aliklev

You can download a snapshot of the current development here:

https://www.dropbox.com/s/jza6s6an5s3hyay/Phaser-Editor-1.3.1.snapshot_dev.jre.win64.zip?dl=0

Note now to create a scenes you have 3 options:

1- Create a sprite
2- Create a group
3- Create a state

In the creation dialog select as language typescript.

Look now in the Assets view you will see all the scenes, so you can drag/drop sprites and groups inside the scenes.

Please remember this is on active development, if you find an issue comment it here, don't create a new issue.

from phasereditor.

aliklev avatar aliklev commented on June 3, 2024

Thank you very much, we will test it soon.

from phasereditor.

aliklev avatar aliklev commented on June 3, 2024

The option Add Prefab to State like "Add Sprite" would be very helpful and not only "copy paste" from another state.

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

To add a prefab to the state you drag it from the Assets view and drop it to the scene. No need to copy/paste.

To add it via the Add Sprite dialog is good option too, we are going to include it.

By the way, is the TypeScript generation working well?

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

Yes, we are going to introduce a new project wizard, to customize the initial project content. So we keep the old project wizard as a New Phaser Project From Example and the new wizard as New Phaser Project. In the new wizard you will be able to customize certain parameters and one of them is the language, JavaScript or TypeScript. In a future we can also give some TypeScript examples project too.

from phasereditor.

tomblind avatar tomblind commented on June 3, 2024

Hopefully, this is the right place to put this feedback. I've been playing with the dev snapshot and have run into a couple of big issues with the typescript generation for prefabs:

The first one is that the constructor for generated group prefabs don't specify any parameters as optional (using '?'). This isn't a big deal except that when one of these prefabs is placed in another, the code that calls that constructor only provides the first 2 parameters (aGame and aParent). This won't compile with TypeScript.

The second issue is a weird one. If a prefab has objects marked as public, so that they are assigned to properties, and then that prefab is placed inside of another, the generated code for the outer prefab attempts to create properties for the inner prefabs' objects. This happens in both TypeScript and JavaScript, but produces compile errors in TypeScript.

Anyways, just figured I'd call these out ahead of the release of the new version, in case they weren't already known.

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

Hi @tomb-pss

Yes, a couple of issues are fixed in my local copy, however I will check again. I am thinking on do a candidate release with all features implemented and all our tests passed. This release comes with a lot of stuff and it will be great if some users can test it while we write the documentation of the new features.

Thanks.

from phasereditor.

PhaserEditor2D avatar PhaserEditor2D commented on June 3, 2024

(deleted a comment that I posted by mistake)

from phasereditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.