Python Forum
Problem with coding for movement keys
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with coding for movement keys
#3
I added pygame.init() before width = 500 and after import pygame, because repl.it said to. but it kept saying this:

Python 3.6.7
 bash -c polygott-x11-vnc q && DISPLAY=:0 run-project
nohup: redirecting stderr to stdout

PLease help - I'm super confused.

It still didn't work, I'll just take more courses until I figure this out.
Reply


Messages In This Thread
RE: Problem with coding for movement keys - by Aresofthesea - Jul-03-2019, 12:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Laggy Game Movement game_slayer_99 12 4,426 Oct-05-2022, 11:34 AM
Last Post: metulburr
  [PyGame] Particle movement mystery XavierPlatinum 10 3,006 Jul-09-2022, 04:28 AM
Last Post: deanhystad
  [PyGame] Isometric Movement on Tiled Map Josselin 0 2,380 Nov-02-2021, 06:56 AM
Last Post: Josselin
  [PyGame] object's movement to left leave shadow on the screen Zhaleh 3 3,167 Aug-02-2020, 09:59 PM
Last Post: nilamo
  Using classes for room movement (text game) Lawr3y 3 6,614 Aug-20-2019, 12:40 AM
Last Post: Lawr3y
  Pygame Movement X/Y coord TheHumbleIdiot 2 3,534 Mar-19-2019, 02:21 PM
Last Post: TheHumbleIdiot
  Movement after KEYUP, only after pause func esteel 2 3,305 Aug-22-2018, 03:03 PM
Last Post: Windspar
  Coding problem in a Pygame Sghet 4 8,074 Aug-13-2018, 05:39 PM
Last Post: MTGReen
  [PyGame] How to stop the sprite's movement when it touches the edges of the screen? mrmn 5 11,643 May-13-2018, 06:33 PM
Last Post: mrmn

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020