PixiJS Part 3: Renderer, Ticker, & Stage

  Рет қаралды 30,176

CJ Gammon

CJ Gammon

Күн бұрын

Пікірлер: 24
@mattkarl5117
@mattkarl5117 5 жыл бұрын
Looks awesome! Thank for digging into v5. Bonus is that we added `resizeTo` as an Application option which would allow resizing to a DOM element or the window. Would clean up the resizing handler. Just a little extra convenience.
@youAmera
@youAmera 5 жыл бұрын
Cool feature, like it!
@ashwinexe
@ashwinexe 3 жыл бұрын
A great tutorial, I'd be even better if the code editor was enlarged since there was a lot of space leftover to zoom in (for better readability)
@ReginaldMcPherson
@ReginaldMcPherson Жыл бұрын
Am I missing something, it seems like you went one way then decided to reverse course so you can do it an older way? wish I had known this was going to be the case before I watched the first video. Feels like I wasted my time.
@IvanPopelyshev
@IvanPopelyshev 5 жыл бұрын
Everything is correct =)
@abhijeetiyer7569
@abhijeetiyer7569 5 жыл бұрын
I m getting an error that says " Uncaught TypeError: PIXI.Renderer is not a constructor"
@CJGammon
@CJGammon 5 жыл бұрын
I would call console.log(PIXI); to see what's there under Renderer. Also check that you're using the right version from here: github.com/pixijs/pixi.js/releases (not the legacy one unless you need 2d canvas) and that it's being loaded correctly.
@sasha_prisyazhnyy
@sasha_prisyazhnyy 4 жыл бұрын
Updating to a newer PixiJS script URL worked for me (5.2.0 Production Build in my case).
@kirillyerenkov3234
@kirillyerenkov3234 5 жыл бұрын
Man, I love your videos. Three.js series were great. But can you make your tuts faster?😂 It's hard to wait for them:) Can you maybe advice some books, yt channels or other cool resources about Pixi? Thank you a lot.
@CJGammon
@CJGammon 5 жыл бұрын
Thanks for the kind words. Sorry they're taking so long to make, trying to get them done between other things. The pixi.js website has some good resources on the library here: www.pixijs.com/tutorials
@8o8inSquares
@8o8inSquares 5 жыл бұрын
4:40 there is a new option available "resizeTo" that gets an element. whenever element's size is changed, it will automatically resize the canvas.
@thesuperyou2829
@thesuperyou2829 2 жыл бұрын
if you can please make the font even more small its too big...
@khmerfarmer833
@khmerfarmer833 5 жыл бұрын
Good Video PLease Make it more
@mpbMKE
@mpbMKE 5 жыл бұрын
The responsive resizing works, but now my sprite isn't loading for me... The path is correct, because when I mouse over it in the code it shows me a preview, it's just not loading into the stage like it did after the last video.
@張子晏-g6l
@張子晏-g6l 3 жыл бұрын
you can add the throttle func, when window resize event emit. It will be more smooth.
@JassarDev
@JassarDev 4 жыл бұрын
Ok, I'm losing it. I did everything exactly the same but it's not working. PLEASE HELP!
@JassarDev
@JassarDev 4 жыл бұрын
nevermind, I was missing stage.addChild(img) ... also misspelled height!!
@jaysanprogramming6818
@jaysanprogramming6818 4 жыл бұрын
Can you give a link where you found the information about that WebGL exclusive rendering is explained in the documentation or in release notes? Thank you again for your work. It is very helpful for us starters.
@CJGammon
@CJGammon 4 жыл бұрын
They haven't done a great job explaining it. I had to reach out directly to understand the way they're separating legacy functionality. You can find some of the discussions referenced in this issue: github.com/pixijs/pixi.js/pull/5468
@urielmendozag.7767
@urielmendozag.7767 4 жыл бұрын
What is the difference between PIXI.Renderer and PIXI.Application?
@CJGammon
@CJGammon 4 жыл бұрын
PIXI.Application is a helper class that builds a lot of the basic stuff for you, like a renderer, root display object, etc., The Renderer is the render class that is used to draw your content onto the screen.
@urielmendozag.7767
@urielmendozag.7767 4 жыл бұрын
@@CJGammon Thanks
@MD-cu8tt
@MD-cu8tt 5 жыл бұрын
Thank you brother !
@rajeshmunagala2686
@rajeshmunagala2686 5 жыл бұрын
Hi... Thank you making video tutorials on pixijs .. Can you please tell me how to add input box, datatable to application or context.. Please share some useful resource so that I can make... Thank you
PixiJS Part 4: Texture Loading
8:14
CJ Gammon
Рет қаралды 18 М.
PixiJS v5 Released -- Now with Lower Level WebGL API!
9:36
Gamefromscratch
Рет қаралды 13 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 41 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 57 МЛН
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 11 МЛН
WebGL 3D Graphics Explained in 100 Seconds
2:07
Fireship
Рет қаралды 352 М.
Pixi.js: Sprite Keyboard Movement
12:22
Dower Chin
Рет қаралды 20 М.
Spine 2D: Common Mistakes and Tips
9:27
Armanimation
Рет қаралды 21 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 173 М.
AI15: Create 3D Websites with Dora AI & GPT-4o
6:34
CJ Gammon
Рет қаралды 6 М.
Creative Coding Tutorial (PIXI.js) : Kinetic Typography #1
17:06
Interactive Developer
Рет қаралды 26 М.
PixiJS Part 5: Sprites
12:13
CJ Gammon
Рет қаралды 17 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 41 МЛН