Here is an index of the posts in my daily tips thread, grouped into topics. I will edit this post as I add the tips.
Builder
- Builder isn’t Coder
- Code components go at the top
- Don’t use polygon borders above 20
- Find in experiment
- How to use the colour picker
- Know your quotes
- Locate Experiment Settings
- PsychoPy files are saved in plain text
- Reuse your routines
- Show your file extensions
- Test the installation
- Use a stable version
- Use keyboard components instead of event.getKeys()
- Use Routine Settings
- Use the textbox component
Online
- Check your experiment name
- Daisy chaining
- Define functions to reduce manual editing of JavaScript code
- Developer Tools
- Don’t delete your repository
- Exit cleanly
- How to use the Pavlovia Shelf
- Know the difference between PsychoJS and jsPsych
- Output path should be blank
- Pavlovia usernames should contain letters
- Run the latest version of your experiment
- Skipping dialogue boxes online
- The answer is (almost) never to edit the generated code
- Use Auto → JS code components wherever possible
- Use Embedded Surveys in online experiments
- Use foreslashes not backslashes in file paths
- Use height units
Variables and spreadsheets
- Avoid multiple spreadsheets
- Check for blank rows in your spreadsheets
- Coding is case sensitive
- Naming conventions
- Use Print statements