Jump to content

Pixi plugin error with text


ftguy2018
 Share

Recommended Posts

Hi @ftguy2018

I've had a similar error in the past, so I just want to double check ...

When you close your project, it tells you which engine version you are using with the project - looks like you are on the latest.

Could you also check, that you have the latest WebGL/Pixi plugin? I've had issues in the past because one of my plugins wasn't up to date.

If that doesn't work, it's probably a bug.

Link to comment
Share on other sites

@ftguy2018

For text input, it really depends on your target platform and the kind of solution you are looking for. You have few options, use the keydown function to read what buttons user presses and show the content. Use DOM input element with HTML/CSS, this way you could use the browsers built-in keyboard on mobile, if that suits your needs. Or then you could build your own on-screen keyboard, something similar i did on Panda Remote.

Let me know if you need any help!

Link to comment
Share on other sites

@ftguy2018

I just added support for CSS loading to the engine. Once CSS file is loaded, it will be automatically added to the webpage.

Just update your engine to latest dev version. Now minimal example of using Panda 2 with AlertifyJS library would look something like this:

game.module(
    'game.main'
)
.body(function() {

game.addAsset('alertify.js');
game.addAsset('alertify.css');
game.addAsset('bootstrap.css');

game.createScene('Main', {
    click: function() {
        alertify.alert('Ready!');
    }
});

});

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...