Skip to main content

Questions tagged [python]

Python is a dynamically and strongly typed programming language that encourages readability.

0 votes
0 answers
61 views

I need help with how to apply greyscale shading to objects in a 3D renderer I made in Python. The code is pasted below: ...
BrainBonkers's user avatar
0 votes
0 answers
36 views

I wrote a Python script (for the editor) to attach a mesh to a scene component of an actor (vegetation_root_component). In the logs everything looks fine, but no ...
phil's user avatar
  • 1
0 votes
0 answers
21 views

I have been trying many thing to make my code work to make a player shoot a small box both ways (left and right) without being able to change the direction of the projectile mid shot. I would be very ...
George Guise's user avatar
0 votes
0 answers
103 views

I am a fairly new user of pygame and i decided to start out with a simple but 'funny' game. I have successfully implemented jumping mechanics, movement mechanics and a one directional shooting ...
George Guise's user avatar
0 votes
1 answer
146 views

I am working on a basic side scroller platformer in Pygame. I want to add a camera system that tracks the camera and scrolls the world and I want to make the camera systems without using Classes. ...
Eren Bayrak's user avatar
1 vote
1 answer
94 views

I am experiencing some issues with pygame.display.Info() and the FULLSCREEN property on Linux. The game is displaying at roughly ...
Æ Hines's user avatar
0 votes
0 answers
60 views

I am making a Sonic game in Pygame and I have recently gotten my hands on a Python class that uses pygame.rect and pygame.mask in unison to create sensors that can be used to accurately detect the ...
miggle's user avatar
  • 1
1 vote
0 answers
87 views

I'm developing a 2D game where multiple types of objects interact with each other through collisions. Currently, I'm using pygame.spritecollide() to detect ...
Daniel Hall's user avatar
0 votes
1 answer
203 views

I am trying to learn to code a simple game with 2 players shooting at horizontal-moving enemies from the bottom of the screen. Everything is working fine except for this: When player 1 hits enemy ...
Marco Marchi's user avatar
0 votes
0 answers
60 views

I'm not a game dev. However I've just created what I believe may be an original means of creating realistic-enough water or fire/smoke textures, which may perhaps in principle (and using a different ...
R1s1ble's user avatar
  • 101
0 votes
0 answers
52 views

I found it very nice and easy to make animations in Godot and it allows you to generate animations using programming, which is marvellous. You can animate the movement of a text with a complex ...
Denis da Mata's user avatar
0 votes
1 answer
178 views

I'm making a game (shocker) in pygame and had issues with tile-based collision detection. There are 5 different non-empty tile types (pictured below) which can be rotated in increments of 90 degrees ...
Sad Robot's user avatar
0 votes
0 answers
59 views

I have a gyroscope storing data on a Raspberry Pi 4 (The Client) and I need to send this data to Unity C# (The Server) so I can use a gyroscope to control position data. I have two separate devices I ...
UnityRaspianVirus's user avatar
7 votes
3 answers
2k views

I'm trying to write a top-down tactics RPG game in python, and run into the first major decision I can't make with my limited knowledge of RPG fundamentals. In our game you create a team of characters ...
John P's user avatar
  • 173
0 votes
1 answer
98 views

I am trying to create a Voxel Space Engine In SDL2 C++. However the tutorial I am following reads the X and Y pixels of the heightmap image. I can't find a way to do this. I am following this tutorial:...
Nabir14's user avatar
  • 59

15 30 50 per page
1
2 3 4 5
43