Tagged Questions
15
votes
3answers
848 views
How can I generate random lakes and rivers in my game?
I have a 2D block building game and am trying to make randomly generated lakes and rivers. I have looked into the Perlin noise algorithm, but, I couldn't get it to generate random and nice results.
I ...
8
votes
1answer
930 views
Creating a 2D skeleton animation system for use with Panda3D
Hey. I want to be able to create a system for 2D skeletal animation in my game. I'm using panda3d as my game engine. I'd like to be able to make simple bone structures and skin them with my sprites. I ...
4
votes
1answer
647 views
Are there any good engines for isometric collision detection and platforming?
I've decided to resurrect an old game idea I had years ago. I currently have zero experience with programming, but I'm going to begin studying either C#, Python or both in the near future.
The issue ...
2
votes
1answer
99 views
Velocity control of the player, why doesn't this work?
I have the following code inside a while True loop:
if abs(playerx) < MAXSPEED:
if moveLeft:
playerx -= 1
if moveRight:
playerx += 1
if abs(playery) < MAXSPEED:
if ...
1
vote
6answers
546 views
How do i choose what technology to use for a 2D game like Pokemon?
I apologize in advance for the wall of text about to come. I've had an idea for a game for a while now, and am stuck at step 1 of game development: Choosing a language/engine. I've read a whole ...
1
vote
1answer
384 views
2D animation example in pyglet (python) looping through 2 images/sprites every x seconds
Suppose you have two images: step1.png and step2.png .
Can anyone show me a very simple example in pyglet how to loop through those 2 images say every 0.5 seconds?
The character doesn't have to ...
1
vote
1answer
158 views
How do I implement powerups for my Breakout clone?
I'm making a simple Breakout clone in Python that will have very many powerups/powerdowns (so far I came up with 26). Some will affect the paddle (paddle missile, two paddles, short paddle, etc.), ...
1
vote
1answer
312 views
Bullet physics in python and pygame
I am programming a 2D sidescroller in python and pygame and am having trouble making a bullet go farther than just farther than the player. The bullet travels straight to the ground after i fire it. ...
0
votes
0answers
67 views
How can I use iteration to lead targets?
In my 2D game, I have stationary AI turrets firing constant speed bullets at moving targets.
So far I have used a quadratic solver technique to calculate where the turret should aim in advance of the ...
-5
votes
1answer
74 views
is object facing another object or facing it in opposite direction?
In 2d, in degrees, negative degrees possible.
What I want is to rotate the player to face the same direction as the door before opening it, but when I'll do the same again now from the opposite side, ...