Skip to main content

All Questions

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 ...
semi-developer's user avatar
1 vote
0 answers
190 views

How to create a property, in owner, from python level

Hello there. I am creating a game in UpBGE, and I am often use python to it. A moment ago I encountered a problem: I do not really know, how to create a property, in owner, from python level. ...
Arkadiusz Wernicki artsAMDG's user avatar
1 vote
0 answers
110 views

Changing properties to effect all objects in scene

How do you change the value of all properties among objects that share the same property? Warning this code does not work, just an idea. Example: ...
Jeffreyg2's user avatar
1 vote
0 answers
119 views

Smooth Music Transitions in the BGE?

I have several pieces of music in my game's scene I want to play based on an assigned number in a game property. However I don't want the transitions to be abrupt, but rather smooth (as in when the ...
JakoNintenCraft's user avatar
0 votes
1 answer
65 views

Why is my action modifier not being activated?

So, I basically have a few empty objects that are adding 1 to their 'Interval' properties every refresh of my game. The script I'm adding to the object that has an animation is connected with an ...
Hendriks3D's user avatar
  • 1,151
0 votes
1 answer
409 views

BGE: 6DoF constraint - change in real time

I created several constraints (6DoF) with the following script: ...
user16320's user avatar
  • 113
0 votes
1 answer
482 views

BGE: Change physics attributes of an object in real time. (AKA while playing)

I'm trying to make a boost power up for my video game but I'm terrible at Python and couldn't do it even if my life depended on it. :| Anyway, here's my setup: I need it so that: The default ...
JakoNintenCraft's user avatar
1 vote
1 answer
1k views

Making a Speedometer

I have been trying to make a speedometer for a racing game I'm making, but all the methods of making a speedometer I know of don't work on the vehicle wrapper for some reason. It may be that there are ...
JakoNintenCraft's user avatar
1 vote
1 answer
288 views

How do I set this property?

So I'm working on a simple game and I want to control an object to go upwards with a certain amount of force. I then want to be able to press shift and set the standard value used for the amount of ...
Hendriks3D's user avatar
  • 1,151
0 votes
1 answer
233 views

How do I look for objects with a particular property with a particular value using Python in the BGE?

I have a number of objects with the boolean property, and I need to write a script which specifies any object which has this property and whose value is set to True. I don't know how to phrase a ...
flipsies's user avatar
0 votes
1 answer
136 views

Why I cannot shorten a GameObject property into a variable?

This script intends to show the differences in changing a GameObject property directly... obj["prop"] = value And indirectly, it is, with a shortening / variable ...
Joel Gomes's user avatar
0 votes
1 answer
191 views

what have I done wrong with this piece of code?

player = logic.getCurrentScene().property["Player"] property ever was objects but I wanted the commands after this line to be applied to more objects so I thought let's do it with a property. It ...
Hendriks3D's user avatar
  • 1,151
1 vote
1 answer
355 views

How can I create a dynamic HUD bar in the GE?

I 've been taking a break and got rusty so I need your help. I have an integer property with a random first value.I want to somehow connect it to the length of a plane, so that when the integer ...
Lev's user avatar
  • 947
2 votes
1 answer
711 views

transfer value (a.k.a score) in bge from scene to another in BGE

So I have a quiz set to where they can press a letter, if they press the right letter they get 10pts. so the logic bricks look like Keyboard (a) ->and ->property (mode: assign, property: -score, ...
Shawn C. Machie's user avatar
2 votes
1 answer
938 views

Text game properties and dynamic text

I want to use the property value(it's a string) of one object to change the text-game property value of another object(text-object). For the time being I made the dynamic text to work by just ...
Lev's user avatar
  • 947

15 30 50 per page