Questions tagged [game-engine]

The (BGE) Blender Game Engine (discontinued, blender 2.41 - 2.79) allows you to create interactive 3D applications, game prototypes and simulations.

Filter by
Sorted by
Tagged with
0
votes
1answer
132 views

Camera doesnt follow ball in tube (Blender Game Engine)

I'm trying to make a game where a ball rolls in a tube and hits several obstacles that triggers sounds. I vertex-parented my camera to the ball (so it doesnt spin as the ball does) I have several ...
0
votes
1answer
72 views

Certain shadows don't appear while playing in BGE

I can't get certain shadows to show in BGE. I have the correct lighting with the sun and hemi lamps. When I'm editing in BGE, all the shadows show like I want. But when I press p to play, all ...
0
votes
1answer
28 views

triggered action based on the position of a mesh

I suppose I created an action on a mesh B How in BGE trigger an action depending on the position (x, y, z) of a mesh A ? (there is no position sensor in the BGE) thanks
0
votes
0answers
9 views

Export 3D Model als standalone exe DMG viewer

I'd like to publish 3D models as exe or DMG so my clients can open them as a stand-alone application for viewing. Basically, I'm looking for something like Sketchfab offline suitable for products I ...
1
vote
1answer
29 views

smoothing issue with tris

sometimes when i work with tris or i change the flow of the topology on the z axe i encounter some shading issues with smooth shading, if i decrease the normal shading it gets fixed (10 degrees) but i ...
5
votes
3answers
3k views

Can I turn a procedural displacement into geometry?

I was following this tutorial to create procedural rocks: https://www.youtube.com/watch?v=UFsVzDXYOKw It gives some really nice results (that I admittedly don't fully understand), the only problem is ...
1
vote
1answer
34 views

game shield in blender game engine

I am trying to make a shield that will end enemies when they come in contact with the shield. The problem is getting the shield to spawn on the character while he is moving. Any ideas? Thank u!
0
votes
1answer
27 views

Game properties break when pre-positioning pieces

I have a game with a 3D board and game pieces. I have the board divided into tiles. When a player clicks on a piece and then a tile, the piece moves there. Right now, it's under construction, so the ...
0
votes
0answers
14 views

How to change the material (texture) in the BGE?

Example: A character is using default material, but I want after he has lost half his life, change his material to one with blood, with dirt, or if he is causing the character to change color like the ...
0
votes
0answers
19 views

Lamp energy in BGE does not get higher than 10!

Using Blender 2.69. Trying to control lamp strength by setting "own.energy += 1;" in controller script and printing own.energy to console. It works insofar as I can see the lamp changing strength in ...
0
votes
1answer
17 views

Object persisting in scene after endObject is called

I have a problem with objects that have their endObject method called persisting in the scene even after the next frame is called. The game is a basic shooter where at the end of every game I need to ...
0
votes
1answer
82 views

How do I make a walking and running sound?

I have the sounds, and I have done so when I hold w it starts the walking sound and when released stops. But when I have done wshiftcollision the run sound overlaps the walking sound:
4
votes
2answers
693 views

How to create realistic blinking/shining stars in BGE?

How to create realistic blinking/shining stars in BGE? I recently heard that the blender team actually removed the stars option but not sure what or where I can get or see this action. My intent is to ...
0
votes
0answers
24 views

How to attach the Character to a moving base

I'm trying to create an elevator, I use Character's physics, Character goes up normally with the elevator, but when descending it goes down slower than the elevator, I already used a script to ...
0
votes
1answer
52 views

Random Actuator change “int_max” via Python

so I'm relatively new to Python in BGE (and just Python in general, really.) and I'm trying to make a script that changes the maximum integer on a random actuator. I hovered over it, and it said to ...
1
vote
1answer
45 views

Blender Game - music problem

I have a problem with soundtrack and sounds In the Blender Game (while using blender) sounds and music seems right and i can clearly hear both of them. but when i export my game as game engine runtime,...
0
votes
0answers
17 views

Where can i learn Blender [duplicate]

i learned something about how to use blender from Udemy and other youtube chanells, but i want to know if there is any book or some good sites that i can learn to master blender. I want to build a ...
0
votes
1answer
37 views

BGE Animated Fireball Group

In my game I have an Empty that adds my object magicfbgroup to the scene. Magicfbgroup is a fireball I made by using several spheres with the same image texture that spin in different directions. It ...
0
votes
1answer
31 views

locking button press in blender game engine

I am trying to figure out how to lock a button press until the player interacts with a object which then unlocks the button.
0
votes
0answers
11 views

MQTT loop connection with BGE [blender]

I try to publish msg about mesh location. Try with threading. Eveyrthing seems to work but when i subscribe using: "mosquitto_sub -h localhost -p 1883 -v -t '#' i don't see this msg there This is my ...
0
votes
2answers
96 views

copy object location to another scene? BGE

I have a dummy object parented to a vertice of the health bar of my main character on the first scene the health bar works accurately and the dummy fallows the vertice parenting, I have an object on ...
7
votes
1answer
2k views

Using Blender Game Engine for VR 360 tour on Mobile, is it doable?

I'm sorry if my question sounds clumsy, I'm not a seasoned BGE user. I'd like to make a virtual tour for Gear VR and/or Google Cardboard in the BGE that works on Mobile. Is this doable in a user ...
0
votes
0answers
10 views

Why can't I see my animation through camera in BGE?

Basically, I've setup an animation in BGE and for some reason I can only see the animation from any angle EXCEPT through the camera when the game engine is running. The animation was made in view of ...
0
votes
0answers
11 views

Error - “should be zero or 1 controller arg”

I'm trying to use some python filters in the UPBGE and keep getting this error. There is one large file called "filters.py" with numerous filter scripts that I am using and whenever I try to use one ...
1
vote
1answer
44 views

How can I make a warning sign appear when an enemy is behind my character in game engine?

I have a First person shooter game with enemies that are constantly seeking my character. How can I make a warning sign appear when an enemy is behind me? I have tried the near sensor, but it didn’t ...
2
votes
2answers
580 views

How do I set third person controls in bge?

I am trying to make a third person game. When moving my character, I want its direction to be determined by the position of the camera, not the direction my avatar happens to be facing. How do I do ...
1
vote
2answers
577 views

How to make the camera follow the plane in my blender game?

I made a basic plane model and parented the camera to it, but when i fly the plane, the camera follows its location but rotates by itself... Here is a link to download the game: https://www.dropbox....
0
votes
0answers
100 views

How to access mipmapping for renderToTexture in bge?

I am using the following script to create an object with a render of another part of the scene on it (in a pixel style). I'm trying to disable mipmapping for the video texture, which doesn't seem to ...
2
votes
1answer
71 views

Object Controlling using Arduino

I am working on my project for haptics. For this purpose, the task is to create a virtual finger and control its movement using Arduino. The problem now is that I am using Blender 2.80 and the cannot ...
0
votes
0answers
13 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
0answers
27 views

Playing a modifier animation in BGE

I am creating a game in blender. The start of the game is going to show a sphere being "generated" using the build modifier, but when I try to use the game logic to play the animation during the ...
0
votes
1answer
74 views

How can I make a realistic collision bounds in BGE?

I have a planet and I want it to have some terrain, like mountains where the character can explore. I need the planet to have realistic collision bounds, but triangle mesh makes it act like a "No ...
28
votes
5answers
32k views

What will happen with Blender 2.8 game engine?

Blender has just purged the entire game engine from 2.8. There is no "Game Engine" mode anymore and there isn't even a logic editor. I tried installing a GitHub Blender release with the game engine ...
0
votes
1answer
43 views

Keyframed animation into path animation

I have got an animated object that is an opening door. I keyframed the movements; not rig there. Now I want to get rid of the keyframes and create an animation path that does just the same but without ...
0
votes
1answer
36 views

Conditions based on attributes of other objects in BGE

I'd like to ask if somebody might help me with my problem. I try to create 4 objects in BGE. Their color is a random color (Green, Pink, Brown, Blue, Red, Yellow). My problem now: How can I let python ...
0
votes
1answer
44 views

Blender Game Engine - How i can make my turrets aim the enemy that’s closest to the village?

i am trying to make a TD game. I need to make my turrets aim the enemy that’s closest to the village and i’m stuck. My turrets aim the last enemy that enters their firing zone instead of the enemy ...
0
votes
0answers
10 views

How could I access a game property from GLSL?

I would like to be able to access the default props in the bge from the general shading language. Is this possible? If so how is it done? By default props I mean the game engine variables you assign ...
0
votes
1answer
41 views

Priorities with actions in bge

I am working on a character for a game that has 3 main actions: Walking, Running, and Idle. S1 and S2 stand for Scenario 1 and Scenario 2, respectively. I have all the priorities set to 0. I want the ...
1
vote
1answer
470 views

Procedural grass in BGE

Currently i'm trying different ways to make procedural generation of the grass on the terrain in BGE. Terrain itself is just a mesh. I've been thinking about just randomly placing grass meshes around ...
0
votes
0answers
11 views

how can i set my project to a game project with the latest version of blender? [duplicate]

I am making a beginners maze game but dont know how to set the project in the game engine because i dont see the option anywhere i have tried watching videos but nothing is working all i see is the ...
0
votes
2answers
386 views

Error on Launch “Can't Detect 3d Hardware Accelerated Driver”

I'm not sure if this is a valid question, but it's about launching Bender? Every time I try to open blender, it just says this: Even though whenever I checked, it DID use the hardware acceleration?
0
votes
1answer
45 views

How to change Parents in my Sliding Menu

but I want to know how to change the order of Parent to slide 3 different menus from the left side to the right Description: my menu does this currently when you press the History Mode button it ...
0
votes
0answers
18 views

Can Blender games be moved to other platforms?

With the removal of BGE from 2.8 and beyond, are there any platforms that can run these old blender games? I know that you can just redownload the old engines, but for someone trying to actually ...
0
votes
1answer
33 views

BGE: How to make things based on time(definite) instead of frame(relative)

[BGE] How to make things based on time(definite) instead of frame(relative)
1
vote
1answer
48 views

How can I move the position of a cue for the second shot in a pool game

I am trying to build a pool game but having difficulty with the position of the cue after the break shot. I can get the cue to move in a number of ways but none of them face the cue in the right ...
0
votes
1answer
58 views

Stretching cube object

Stretching out Cube object in real time until it touch's any other object in the scene.Is this possible in real-time.This cube object need's to stop once it hit any other object.
16
votes
3answers
5k views

How to simulate magnetism In Blender?

Is there a way to create magnetism in Blender? Using the physics engine or the game engine, I want to create BuckyBalls (the magnetic toys) within Blender.
0
votes
1answer
69 views

The score resets when scene resets

I need help keeping score when I reset the scene. This is the game file link. https://www.blendswap.com/blends/view/92672 My score shouldn't reset when resetting scene. It should stay when scene ...
0
votes
0answers
11 views

blender game engine v2.79 - autogeneration of navmesh in RTS games

I am making a RTS game and i want everytime that user creates a new building to autogenerate a new navmesh so the AI knows the path I see the navmesh is generated once and in order for the ai to know ...
0
votes
2answers
47 views

How can I move my character's foot in the direction I chose with a key input?

I'm trying to make a game with some aspects similar to octodad but for this to work I need something that will allow me to move my characters foot in the direction I chose with a key input, it may ...

1
2 3 4 5
42