How do you view the log and debug the game on Firefox?
- Hello, and welcome to Video 5.3.…In this video, we are going to discuss about…Firefox debugging.…I've opened our game in Firefox.…Now, let's open the developer console.…As you can see, the console itself is pretty similar…to the one in Chrome.…The structure is the same.…And if we start running the game, we can see that…the log calls we've added appear here as well.…
So everything we've added in the console log commands…appears in Firefox console as well.…On the right side, you can also see the line…from which it was called, similar to how it is in Chrome.…Now let's take a look at the debugger.…In the debugger, you can go to the file you want to debug.…In our case, the index html file.…And this time, let's debug something else.…
Let's debug..…the brick hit.…So we want the game to stop…when the ball collides with a certain brick.…So this will be our break point.…So let's start playing.…As you can see, as soon as the ball hit the brick,…we've reached the break point.…And here, similar to chrome, we also have the Resume button.…
Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Playing sounds in various browsers using SoundJS
- Tweening objects using TweenJS
- Creating graphic assets and basic animations
- Game stage creation and object positioning
- Adding the basic game logic
- Add the game physics
- Adding mouse and keyboard controls
- Debugging with breakpoints in Chrome
- Debugging on Android and iOS
- Character movement and input handling
Skill Level Advanced
iOS Game Development with Swift 3 and SpriteKitwith Todd Perkins2h 52m Intermediate
2. Game Outline
3. Game Logic
4. Planning Your Second Game
5. Testing and Debugging the Game
6. Character Movement and Input Handling
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.