Search the Community
Showing results for tags 'feature'.
-
Hi, I am trying to format a specific part of a Phaser.Text object as a superscript. I am using TypeScript in the project. For example: var question: Phaser.Text = this.add.text(0, 0, "3x2", { font: "24px Arial", fill: "#000", align: "center" });Looks like: 3x2 But I want it to look like: 3x2 Unfortunately String.prototype.sup() is depreciated. How would I get this result? I know I can use the <sup> tag, but am not sure how to use this in a Phaser.Text object. Thank you.
- 5 replies
-
- superscript
- subscript
-
(and 6 more)
Tagged with:
-
When the pointer is locked the OnPick* Actions are very awkward because the cursor is hidden and thus accurate picking is not an option. It is possible to achieve accurate picking using the scene.onPointerObservable and any of the picking methods which allow for an X and Y coordinate to be supplied (I just use the screen center X and Y and a visible 'cross hair'). However it seems like this would be better to incorporate directly into the OnPick* Actions when optional X and Y arguments are supplied. Thoughts?
-
Hello everyone, I'm a French Student in an Engineering school and i need to find the best way to do some animation in HTML5. It seems there's three principal tools : Canvas, SVG and WebGL. According to my recent research, Canvas is more for dynamic animation, if i need to refresh a lot of sprites, etc etc... ,SVG more for graphics, charts and pre-programmed animations and WebGL for 3D. (Tell me if i'm wrong, because i feel like Canvas and SVG can do SAME, i can't see a real difference except about performance) I saw there's a lot of library for Canvas(Pixi.js, Fabric.js, Easel.js...). But what's the "real" difference between them ? Is there a benchmark for that ? Is there a list of features of Pixi.js for example ? I search something concrete to compare theses libraries. If someone could answer that Sorry for my English, Ytyse
-
I would like to si ArcCamera to have plugin for virtual joystick for rotation. Or optional feature to joystick for move forward backward (which could be enabled or disabled) But joystick for rotation will be fine to see. I have some example how arccamera follow ball. I create my own joystick for rotation only (without forward and backward..... options!) (and posibility for forward/backward/left/right joystick which we could attach 3d calulation of object in center of arccamera) Can anybody add feature for arcCamera rotation pick/touch joystick like VirtualJoysticksCamera have it on the right side? Maybe you should inharid arcCamera and create ArcVirutalJoystickCamera. Have anybody any opinion. Maby babylon.js should add this feature in new release. Greetings
- 1 reply
-
- pointer event
- new
-
(and 4 more)
Tagged with:
-
oomfr is a startup based in Laguna Hills, CA. At oomfr we are building a smart ecosystem where game developers can upload games, by using our custom APIs to embed discounts/coupon information within the games. The upload is free for game developers and developers can make money based on the amount of game plays, and percentage of discounts/coupons obtained through their games. Our aim is to provide a seamless integration of gaming and discount/coupon distribution. At oomfr, we want to feature html5 games on our website and phone application, as we launch. Let us know what you think about this offer. Best Regards,Ola FadiranFounder, oomfr