• Content Count

  • Joined

  • Last visited

About jinzo7

  • Rank
  • Birthday 01/18/1994

Profile Information

  • Gender
  • Location
    Sofia, Bulgaria
  • Interests
    coding, UI, PIXI, Unity, multiplayer, online, new technologies, software architectures and design, quality code and many amazing things around that

Recent Profile Visitors

374 profile views
  1. I used mocha. But with namespaces, not with modules in typescript. Yes the problem is in your tsconfig. There are tutorials for that in the net, Im sure. And when you are in the browser why using typescript modules ? Next week maybe I will ask friend that played on webpack, ts modules, unit tests and etc over PIXI and typescript and we will post some answer here.
  2. Amazing answer! Thanks! After we form our end solution we will put ourselves here I hope! For the protocol - before 2 years we chose Webstorm cuz that was the only IDE that can debug in browser with the JetBrains chrome extension. It works very beautiful in this way. Now VSCode has plugin for chrome debugging.
  3. jinzo7

    PIXI version 5?

    Hello, PIXI friends! Still PIXI on the top ofcourse, our team is going to migreate the apps from 3 to 4. And we like very much PIXI. The exploring(chill) time comming for us and it is it time to form everything better. When version 5 will be stable? Why it is better ? It has better performance? We need to know everything, I need! LOL! Is version 5 is going to have good support of PIXI-Animate(Adobe animate) ? Tell me everything, please!
  4. Hello,guys! In the old days you remember Flash/AS3. There were free Flashdevelop IDE. It was perfect. You use all libraries in flash with perfect auto-completion, perfect debuging and so on. When flash is old and grumpy now every work with it is stopped of course. The perfect substituent of AS3 + Flashdevelop IDE we explored is Typescript + PIXI + Webstorm + Typescript namespaces - okay. But typescript + webstorm are made for angular applications so you understand there is bunch of problems. We were under pressure and had to create everything fast. Now we have time to explore for the best solution. Big games/applications can be made of pure javascript and it is trash - our opinion and experience. Can you tell your opinions, your experience, best practices and so on on Typescript, PIXI , IDE, other libraries and so on ? Lets make better code!
  5. Hello, developers! I am wondering about PIXI v.3 or v.4, how much they can live and work on the internet. Imagine now I start big project on v.3 or v.4. This project should be licensed with little exceptions. Should I extract the whole code related to PIXI(my view) to be specially maintained over the time? What is the experience on similar cases? What is the risk?
  6. jinzo7

    When do I need to call renderer.render(stage)?

    I appreciate it. I will make topic with example of PIXI and mvc soon(the weekend maybe). This is good tech and we can share it by simplicity.
  7. jinzo7

    When do I need to call renderer.render(stage)?

    Hello ! In PIXI v4, you dont need to call requestAnimationFrame().It is called internally and the renderer renders app.stage (PIXI.Container) instance. 1. Create PIXI.Application instance : var app = new PIXI.Application(800, 600, {backgroundColor : 0x1099bb}); 2. Append the view of PIXI... app.view is your HTMLCanvas (canvas2d or webgl renderer). So you need it in your DOM. document.body.appendChild(app.view); 3. Use the stage(app.stage). Its PIXI.Container type. And Its your root container to add other containers(PIXI.Container) or sprites(PIXI.Sprite) and etc. var bigRect = new PIXI.Graphics(); bigRect.beginFIll(0x00ff00); bigRect.drawRect(0,0,500, 500); app.stage.addChild(a). Or follow the first example: http://pixijs.io/examples/#/basics/basic.js . And after this create other containers,graphics,sprites and add them to the stage or make composition. In PIXI v3, you have to call manually requestAnimationFrame() and tell PIXI.renderer to render some container. And no random but your root container(PIXI.Container). The renderer renders the root container and all its children in order. The same is in flash,pixi and every child-based rendering. If you are new to PIXI - use v4. Anyway v4 is good to be used for learning or commercial products.
  8. Okay. Maybe for small project, that should run in Your browser and maintiance is not needed, practice js on it. But when you deal with bigger project and have to solve real problems like maintability, reusability,cross-platform, design at whole,.., you need really good practice and experience. If you are not new kind of genius you have to trust on the patterns. For me, Im in the level that I can create everything in some ways. I can do good design based on other similar solutions. A lot of people stuck on that level of skill.Long time I asked myself how to do it right. I read a lot and reached that point - it is easy to coding and it is hard to create good, clear, design(application). And to create good, big application you need experience on many projects,frameworks, patterns,libraries. When just understand some principle in good code, you absorb that part in abstract way and can solve similar problems with it. I want to say this is it but it is too complex. Dont waste too much time on that skill(js syntax or similar easy steps).Be more constructive. Good luck. Im curios about the end result.
  9. Hello. My suggestion if you arent guru use frameworks. And gurus using frameworks also. Now on plane javascript u have to care about many factors: canvas,webgl,resolutions, engine design, game design, resouces, .., a lot of other problems which are solved by ways smarter and experienced people than you. Also by using frameworks you are learning different patrerns and ways to solve certain problems. In your case PIXI/Phaser can do more, based on performance and ease of development. Im not a guru but I have some experience. Fix me if im wrong.
  10. Hello! In the age of flash there was a well-known MVC frameworks. A lot of small and big, 2d, event-based games, portals, apps are built upon it. And now flash is almost dead. But the people and companies still has the same needs from that kind of content (games, engines, portals, ..). Our team found a very similar solution PIXI + custom MVC + Typescript. PIXI is so web and we have to maintain PIXI - a problem. 1. What framework should be used to create an event-based game today? Phaser - no. It's big for games without any physics and no onFrameUpdate needs ? 2. Is there out any new framework/approach to build and structure that kind of applications ? 3. Do you have some good ideas at whole? Give more ideas, solutions, best practices on web and etc. Thanks !