• 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
  1. 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?
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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 !