question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tutorial code needs to be updated

See original GitHub issue

This is for: Product Version: jMonkeyEngine SDK v3.2.2-stable-sdk1 Java: 1.8.0_192; Java HotSpot™ 64-Bit Server VM 25.192-b12 System: Linux version 4.4.0-150-generic running on amd64; UTF-8; en_IN (jmonkeyplatform)

How to reproduce the issue: Start the SDK, press F1 to view the tutorials and started trying the beginner tutorial programs.

The issues: Issue 1: At least until the first 4 tutorials (HelloSimpleApplication, HelloNode, HelloAssets, HelloEventLoop and possibly more of them), there are tiny issues like the code being:

    Box(1, 1, 1);
    player = new Geometry("Player", b);

When it should be:

    Box b = new Box(1, 1, 1);
    player = new Geometry("Player", b);

Also, for example, in the tutorial “HelloInputSystem”, there are plenty of errors that show up. One being for this line: inputManager.addListener(actionListener,"Pause");, where the error message says “actionListener has private access in SimpleApplication”, or the line inputManager.addListener(analogListener,"Left", "Right", "Rotate"); where the error message is “cannot find symbol variable analogListener”.

Issue 2: When copying code from the tutorial and pasting it into the IDE, at multiple places, an annoying character is present which causes the IDE to show an error saying "illegal character: '\u00a0'". It happens in places like the one I’ve marked below as “Here”. I found that it’s a non breaking space character, but since it’s annoying to have to keep removing it once the code is pasted in the IDE, perhaps y’all could write a script to remove it from the tutorials.

public class Main extends SimpleApplication {
<----- Here 
  public static void main(String[] args) {

I guess these are just some simple issues caused because of JMonkeyEngine having undergone some updations, but the tutorials need corrections to remain up-to-date.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:28 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
rsubtilcommented, Jul 4, 2019

@nav9 you can untick the Show Setting box image

2reactions
stephengoldcommented, Jun 20, 2019

Thanks, @mitm001.

It looked like to me someone went through them and fixed a bunch of things.

Who would do such a thing?? 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Start Coding: The Ultimate Guide for Beginner ...
Want to learn how to code but unsure where to start? Welcome to coding for beginners. This guide includes languages, resources, and valuable ......
Read more >
Setting up Visual Studio Code
js tutorial walkthrough that will have you debugging a Node.js web application with VS Code in minutes. Common questions. What are the system...
Read more >
Building an Interactive Tutorial - Apple Developer
A tutorial needs to be engaging and produce a sense of accomplishment. ... This is where you place tutorial images, code-listing files, and...
Read more >
Tutorial: Update related data with EF in an ASP.NET MVC app
When a new course entity is created, it must have a relationship to an existing department. To facilitate this, the scaffolded code includes ......
Read more >
What is version control | Atlassian Git Tutorial
The code for a project, app or software component is typically organized in a folder structure or "file tree". One developer on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found