A
A
Andrey Salnikov2017-04-23 10:15:19
JavaScript
Andrey Salnikov, 2017-04-23 10:15:19

How to organize the code in the game on PIXI.js?

I want to write a game using PIXI.js. Visual novel style game. But I don't understand how to organize the code. Now I have one nesting for 1 scene with 5 dialogues.
Add an image. When it is added, add text, when clicked on it - upload the image of the girl and display the text. And all this turns into some kind of callback-hell.
Are there any examples of such implementation? Or are there any other examples? On off. I read the documentation on the site, but in general PIXI itself provides means for rendering, and not for game making. And the tutorial, which is attached, itself is no more complicated than 2 pixels of which it consists. Help to understand, please.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question