Hey guys I'm attempting to make a super mario like platform game and need help with making images move. Like instead of moving the little man, just having the background moving with the corresponding button movement.
Can anyone hint at how to do this?
Or is moving the little man easier than the background?
Thank you
Darkangelchick
-2
Light Poster
Recommended Answers
Jump to PostUm... you provided absolutely no information. So as of right now, I can't answer your question. What are you using as a 2D engine for Python? etc.
Jump to PostIf you wanted to start 2d games in python, I begin with pygame (a python port of SDL). There are tons of tuts everywhere, just have a look. Try www.pygame.org for more info.
Jump to PostHere is an example using the module pygame:
# experiments with module pygame # free from: http://www.pygame.org/ # load, display and move an image import pygame as pg # initialize …
Jump to PostThat's weird.... so
import pygame
is causing the "module not found" error?
Other than trying to install the wrong version of pygame for your python installation, I don't know what could be wrong.
What OS are you using? A GNU/Linux distro or Windows?
All 13 Replies
shadwickman
159
Posting Pro in Training
besktrap
0
Junior Poster in Training
sneekula
969
Nearly a Posting Maven
Darkangelchick
-2
Light Poster
Darkangelchick
-2
Light Poster
shadwickman
159
Posting Pro in Training
tomtetlaw
-1
Posting Pro
Darkangelchick
-2
Light Poster
Darkangelchick
-2
Light Poster
shadwickman
159
Posting Pro in Training
Darkangelchick
-2
Light Poster
Darkangelchick
-2
Light Poster
shadwickman
159
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.