All Questions
Tagged with game-engine python
665
questions
1
vote
1
answer
336
views
How to change strength of studio light via python? (UPBGE)
Hello I would like to have the studio light strength change from 1 to 0 when entering a new scene. I assume that this is achievable via python, but what would the required script be? Thanks.
0
votes
1
answer
63
views
Can Script using object work as what "make single user" does?
A while ago I’ve read about what “Make Single User” does and tested it. Which was totally amazing and mind blowing.
e.g. later I learned about few Python scripts with which it is possible to move UV ...
0
votes
1
answer
189
views
Moving UV in BGE
After watching many tutorials I've bumped into one from which i've learned that it is possible to move UV unwrap over the texture.
And the .py looks like below:
...
3
votes
1
answer
629
views
Updating frame counter in BGE/UPBGE so that Geometry Nodes modifiers can do cyclic animation in the game engine
Is it possible to get the frame property increment similar to the way the timeline does so that animations in Geometry nodes will work in BGE?
The increment could be either infinite or cyclic through ...
0
votes
1
answer
207
views
How to edit speed on python script?
This might be a very simple problem but my knowledge on programming is limited to logic bricks. I ironically have a player script which determines the speed of my character and was wondering how I can ...
1
vote
1
answer
109
views
How to get a List of blend file Scenes without bpy module
I'm creating a game, and my intention is to create a code that can run in the Standalone-Player, since I want a way to distribute it to him. Aafter creating my codes all related to the BPY module, I ...
0
votes
1
answer
596
views
How to increase character movement velocity over time? (UPBGE)
I found a 3D character controller setup online and one thing I wanted to ask is how to make movements smoother by easing velocity. Is there a way to edit the python script to make acceleration and ...
1
vote
1
answer
38
views
Generating logic bricks with python in state 2
I'm unable to create any logic bricks in state 2 or any other state except the main one.
How can I create a brick that will appear only in state 2?
0
votes
1
answer
72
views
BGE Python: Mouse Sensor Error
I tried to program something that makes the camera look at the mouse for one of my games, but it keeps giving this error on line.7:
...
0
votes
2
answers
518
views
How to add and update mesh in blender python game engine
I am trying to build a simple game in blender, however, I have run into a problem. Here is an example of what I am trying to do.
...
0
votes
1
answer
116
views
how to send property value as a message sent by multiple object?
i was working on a game and i need to send multiple property values from different objects through different scenes using message body set to "property"
any ideas ?
0
votes
0
answers
407
views
capture data from different cameras
I need this for my video game that I want to start on in Blender Game Engine.
I have not figured out how to use multiple cameras and make them give data out without them being active cams or without ...
1
vote
0
answers
42
views
Open and close hand in variable speed?
I have a hand simulator running at a constant speed. Hand opens and closes according to EMG data from USB connection. I added the project running at constant speed below. I have to make this simulator ...
0
votes
1
answer
39
views
Stop cube and then continue
BGE question.
I have applied movement to a cube with apply.movment([0,1,0], True).
How can I stop it if is near a cylinder that is timed to flick from 5 to 5 seconds, and after to continue?
Let's ...
1
vote
1
answer
30
views
Determining the object detected in sensor
Is there a way to determine which object has been detected with the sensor?
For example, if the owner's collisions sensor turns positive, is it possible to get the object collided with?
Something ...