All Questions
Tagged with game-engine scripting
201
questions
0
votes
1
answer
282
views
Set player position
Ex. You want to move your character to coordinate 0,-10,1 but you don't want to add location normally. When you touch an item, i want to SET the position to those coordinates. The motion actuator can'...
3
votes
2
answers
2k
views
Make a rotations-only parent BGE
There is a way to make an object parented to another object, but only for the rotations, not for the location.
If i move the parent, the child may dont move.
If i rotate the parent, the child must ...
0
votes
2
answers
484
views
BGE: How can I activate an actuator multiple times during a script?
I am working on a game in the blender game engine. I need to Position an empty, spawn an object at it, re-position it, and spawn another object. When I run my script it only appears to have activated ...
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
0
answers
46
views
The script only works once in UPBGE
the solution (if it helps someone)
just remove space in ray2 (thanks musikai in blenderartists)
if ray():
own["key"] = " "
cont.owner.state = 1
to
if ray():
own["key"] = &...
0
votes
1
answer
247
views
How to play multiple actions using action actuator?
There is some actions that i created for a human character like walk, jump and saying bye. I want to play these actions one after one using action actuators or any other way. I mean if i want to play ...
0
votes
0
answers
73
views
UPBGE error. Why can't I run my script via Logic Node Editor?
Why does an error occur when running a script using a "Run Python Code" node? For some reason, in the error description my script is called a module
0
votes
0
answers
64
views
How can I get a object to face the Direction of its Linear velocity?
I using the UPBGE game engine and I am trying to get an object to turn towards the direction of it's linear velocity vector.
Here is an example of what I have so far:
https://drive.google.com/file/d/...
0
votes
1
answer
414
views
Scripts with sound path - Imported audio not working with Save Game as Runtime
I'm using a Blender 2.74 and am trying to pack external audio data into a .blend file. I am using Windows 7. If I try run my game on other another computer, everything but the audio seems okay.
Here ...
0
votes
1
answer
52
views
How to invert game theme colour?
I wish to make a black/white UI theme in my current project , but setting object colour to all the UI lags the game a bit and takes forever for me to do it.
To achieve this I had to connect every ...
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 ...
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 ...
0
votes
1
answer
48
views
How to importing all active hosting servers as server list into blender game engine?
Hello I have a simple favor to ask that how can I import all active hosting servers IP address and Port address as a server list into blender game engine like multiplayer fps games like Call of Duty, ...
0
votes
1
answer
189
views
bpy add object in game
is it possible to add an object inside the game engine with upbge 3.X.X while having game physics work properly ?
What I'm doing is:
...
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 ?