# Badly formed character constant

**URL:** <https://discourse.processing.org/t/badly-formed-character-constant/4832>\
**Category:** Coding Questions\
**Created:** [October 24, 2018, 7:12pm UTC](https://discourse.processing.org/t/badly-formed-character-constant/4832 "2018-10-24T19:12:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [October 25, 2018, 10:03am UTC](https://discourse.processing.org/t/badly-formed-character-constant/4832/4 "2018-10-25T10:03:53Z")

</div>

Please don‘t Post questions multiple times.

> [@Help with movement on a background](https://discourse.processing.org/t/help-with-movement-on-a-background/4813):
>
> hello i am making a code for a character that moves on oa background but i keep having the following error "Badly formed character constant(expecting quote, got E) PImage bg, personagem; int px, py; boolean cima, baixo, esq, dir; void setup(){ size(988,795); bg = loadImage(“tela\_velho.jpg”); personagem = loadImage(“jogador.png”); px = 500; py= 500; cima = baixo = dir = esq = false; } void draw(){ background(bg); movejogador(); } void movejogador(){ if(cima == true){ py -= 3; …

---

_[View the full topic](https://discourse.processing.org/t/badly-formed-character-constant/4832)._
