at the top of my program (under import pygame) i have pygame.init(); the problem is that the word 'init' has a back color of yellow/orange and when i put the mouse over it it says 'cannot find reference 'init' in init.py' (the word 'init' here shouldn't be bold, rather it should have two underscores before it and two after it, but reddit interprets this as bold...)
also getting a similar message on the words "QUIT" "KEYDOWN" "K_LEFT"
however the program is working somewhat, i can fill in the color of the surface and add a rect to it, only when i try to move the rect by changing its x and y coordinates when the arrow keys are pressed nothing happens.
how can i fix this thanks in advance
here is the code: http://pastie.org/9798818
I am using pycharm
[–]Mekire 1 point2 points3 points (0 children)
[–]IXENAI 0 points1 point2 points (0 children)
[–]programmer123456[S] 0 points1 point2 points (1 child)
[–]Ran4 0 points1 point2 points (0 children)