FAQ: Learn Phaser Basics: Color A Pegasus - Review

This community-built FAQ covers the “Review” exercise from the lesson “Learn Phaser Basics: Color A Pegasus”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Learn Phaser

FAQs on the exercise Review

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

How do you make a game full screen with phaser? Also how can you make it have a responsive design?

1 Like

How do you make the Pegasus shapes? I understand the program of adding the curves and stuff (kind of), but how do you come up with the numbers for the curves? Is there a tool that you can use for this sort of thing?

Well, isn’t that (or rather, the previous one) a confusing exercise.
Firstly, in the final game there is additional code, that had not been covered: paletteCircle 'pointerover' listener and a for loop in the paletteCircle 'pointerout', which I would have expected to be addressed in the previous exercise.
Secondly, no explanation is given as to why in one listener we pass paletteCircle as the context and therefore change the color with this.paletteCircle.strokeColor, while in the other we do not pass anything and so just use this.strokeColor. If there is a point to this, it had not been mentioned. If this is just a matter of preference or it would make a difference in a more complicated game - again, that hasn’t been addressed.

1 Like

How do we color in sprites or images?