cpu_sam

Members
  • Content Count

    56
  • Joined

  • Last visited

About cpu_sam

  • Rank
    Advanced Member

Contact Methods

  • Twitter
    cpu_sam

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Cool game man! Some notes about it: -you should do better mouse moving, for example, the player only moves when the click is close to the avatar. Maybe a click from far distance to the avatr, should move too. (just suggestion). -if the story was in HQ style like, it more attractive to see. Some images to show the story it's a good idea.
  2. Tu é BR? Lançou em que ano e mês? Só pra dar um feedback a mais aqui pra gente. 20 mil download é muito bom, eu lancei um jogo de matemática na playstore e só teve pouco mais de 120 downloads lá, mas em outras store teve quase 700 downloads.
  3. Are you using firefox? That is a bug not solved in the browser. Chromw has not this bug, for this I use chrome on dev of my game. Here talk that bug was solved, but in new versions of firefox it still persists: https://bugzilla.mozilla.org/show_bug.cgi?id=637449
  4. @Exca thanks for your advice, I'll take a look at the Haxe.
  5. Hahaha I cryed of laught here. I will change to javascript and wait not have so many troubles as with typescript. Thank you.
  6. Hahaha man, I can't express myself here cause of my limitation with English. But, you are a great person @ivan.popelyshev, I started to follow your work with Pixi some time ago and I see that you have MANY will to help people. So, apart this. I never will go back to typescript, never in my life I had so close to have a heart attack because of a language. Well, I came from using Phaser 2 with typescript and many problems happened, configure a simple project was hard as hell. C++ is so far easily than typescript and you not wast time configuring vscode. And yes, I configured the Pixi properly like it should be, and even had problems. I'm using this language for some months and had many, many problems. So to keep my health and sanity, I give up of this lang. I will use javascript... only when I take a piece of cake and drink some coffee at morning.
  7. Sorry for this... but I HATE TYPESCRIPT!!!! Oh my god, almost I had a 'piripaque' here. Solved, I will to javascript, never in this life I want to program in typescript again!
  8. how can I extends the AnimatedSprite from pixi 4.8.7? I'm not able to do this in vscode because it says that the constructor of base class (AnimatedSprite) should be 0 args but got 2. Why this? Se my code: import 'pixi.js'; export class Animation extends PIXI.extras.AnimatedSprite { constructor (name:string, textures:PIXI.Texture[], loop:boolean=true) { super(textures,loop); this.name = name; this.anchor.set(0.5); } } I'm using typescript. At the line with the super give error in vscode, and the this.name and anchor it like if not exist. What should I do?
  9. @ivan.popelyshev thanks, I will look the example. @jonforum but, I know how it works. What I don't understand is, why when set scale.x to -1 the boundary of the image of the sprite goes to left of the top left corner position. I came from frameworks where that (the scale) doesn't affect the boundary of the texture draw on the screen. For example, with SDL2 you can flip horizontally the drawing but the boundary doesn't change to left (outside of the top left corner). I know that I'm need to know something, but I don't know what is haha. maybe realtive to the transform matrix, or something made inside the pixijs that I can see directly. Others engines made the scale like pixijs, for that, I'm certain that I'm forgetting to learn something.
  10. @b10b man, great idea use as child. I will use this in my game. Thank you!
  11. before that, I've ready search the google, this forum, stack overflow, and found only broken answers. My doubt: -how can I flip a single sprite in Pixi? What I need: -flip the sprite BUT hold its center (width/2, height/2) in the same place like it was not flipped, without change the anchor. Example: Before: After flip X: NOTE: the sprites stays in the same place X and Y. So how can I do this? Second question: After flip the sprite, how to rotate with origin in its center? The sprite is in the smae position, but I want rotate only relative to width/2 and height/2, and not with the anchor. I've tryed set the pivot to center of size but the sprite is moved to the anchor. Is possible do this without gambling with anchor?
  12. Just see the debbug log. It's impossible to give some notion without see any log.