Ttaesikmunintaelab.hashnode.dev·Jul 31, 2023 · 1 min readReact ecosystemClient state management: Redux Toolkit Server state management : RTK Query, Apollo client Form handling: React Hook Form Testing: React Testing Library, Playwright Styling: Tailwindcss Tailwind UI Component Library: Headless UI, Daisy UI, Shadcn UI A...00
Ttaesikmunintaelab.hashnode.dev·Dec 21, 2022 · 2 min readhow to design gameDesigning a game involves a variety of steps, including coming up with a concept, creating a prototype, playtesting and iterating on the design, and implementing and debugging the final product. Here is a general outline of the process: Brainstorm g...00
Ttaesikmunintaelab.hashnode.dev·Dec 18, 2022 · 1 min readImplement rectangle rotationclass Square extends PositionComponent { var rotationSpeed = 0.3; var velocity = Vector2(0, 0).normalized() * 25; var squareSize = 128.0; var color = BasicPalette.white.paint() ..style = PaintingStyle.stroke ..strokeWidth = 2; ...00
Ttaesikmunintaelab.hashnode.dev·Dec 18, 2022 · 1 min readFlame(flutter game) debug mode to see more information about our visual objectsclass ComponentExample extends FlameGame with DoubleTapDetector, TapDetector { bool running = true; @override bool debugMode = false; ...00
Ttaesikmunintaelab.hashnode.dev·Dec 18, 2022 · 1 min readFlame(Flutter game) Angle of a Vector, Anchor(logical center)v1.angleToSigned(v2) angleA = v1.angleToSigned(v2) v2 ^ / / / angleA ---->v1 How do I rotate at a certain speed? We use the dt -delta time, in the update method. angleDelta = dt * rotationSpeed; angle = (angle + angleDelta) % (2 * pi);00