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.

518 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
1answer
1k views

Per-Vertex lighting in GLSL?

How can I achieve per-vertex lighting (like in single/multi-texture shading) in GLSL with all of the other GLSL features (like buffer shadows, texture layers, etc.)? Bonus points if it can be done in ...
7
votes
2answers
676 views

Make path move like snake in snake game

In my game I have a Nurbs curve in the XY plane. I have a rigged car, that has a follow path constraint, so that it follows this curve. I would like to make the ...
6
votes
0answers
410 views

Save screenshot (bge) without writing to disk

This is a little odd but I need to save a screen-shot as an array (numpy array for eg) without writing to disk. The idea here is to create and then call the array once per frame in an external script ...
5
votes
0answers
65 views

Standalone player enter key is considered a character (Linux)

What happens in the 'in-Blender' player: What happens in the 'Standalone' player: Any ideas on how to fix this?
5
votes
0answers
347 views

Animation showing last frame when played?

To make this simple I have a .blend that you can look at. I have simple logic: 1) When the prop "Active" is true, our object is visible. When false, invisible. 2) When Spacebar is hit, "Active" ...
5
votes
0answers
815 views

help with exporting game as .exe

I've been working on a game with levels. I know how to use scenes and transferring to scenes for the levels but it's getting laggy and slow. I know I can just do 'Start Game From File'. That will ...
4
votes
0answers
25 views

Move along track in blender game engine

I have a problem with making a game like Sonic Rivals. As you see in the game Sonic tracking his way from down to up and from right to left. In the game, I'm just pressing right and left and Sonic ...
4
votes
0answers
806 views

Controll cube with arduino + mpu6050

So i have an arduino with an mpu6050 attached to it. It is currently set up to send the raw data from the imu sensor to my computer. I would like to use this data to control a cube in blender with ...
4
votes
0answers
283 views

Volume rendering an image stack in Blender Game Engine

I'm trying to create an interactive scientific visualization tool using the Blender Game Engine (BGE). One of the things I want to include is a volumetric rendering of an image stack. An image stack ...
4
votes
0answers
171 views

Disabling “use frame rate” slows logic/animation/etc?

I've recently solved an issue to remove my frame-rate cap, but it caused another issue. I have my animation tic rate at 60, my framerate at 60, and that's always been working only when I have "use ...
4
votes
0answers
610 views

nodes in blender game engine

I have an issue while tring to set up a material for blender game engine. You can see the setup on the image, and the BGE doesn't render my purple object that's on the View panel.
4
votes
0answers
35 views

Delete datablocks in GE?

I have a lot of useless datablocks for animations, models, materials, and others just lying around doing nothing. How would I delete them? Thanks.
4
votes
0answers
158 views

Differences between the internal and blender players

I have a script that I borrowed from the companion files that came with the book, Game Development With Blender (it's a creative commons script). It looks like this: ...
4
votes
0answers
88 views

GameEngine: KX_BlenderMaterial vs KX_PolygonMaterial

I have a question about the material types in the game-engine. e.g.: 2.66 Blender API - KX_PolyProxy(SCA_IObject) 2.66 Blender API - name ~ The material of the polygon. When is the material a ...
4
votes
1answer
597 views

take screenshots programmatically in bge?

...
4
votes
2answers
644 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 ...
3
votes
0answers
54 views

Is it possible to use Alembic in BGE?

I am thinking to make some cool looping animation, bake it into Alembic and have it working as BGE demoscene animation (looping). But is it possible to use Alembic animation in BGE?
3
votes
0answers
121 views

Python - Making a “character” jump to another object's x, y ordinates while facing the 'go to' objects front

I know little of code so this is a bit difficult to me. This is just the set up for a 'player' to grab a crate and pull it back and forth. I have 4 empty triggers set up so the crate can be grab from ...
3
votes
0answers
170 views

How to get render to texture working?

I have read the manual, watched tutorials, and read forum posts. So far they have all been based on GLSL and using Python. Including multi-texture in my search results in tuts about applying multiple ...
3
votes
0answers
104 views

Spawned Enemy Ships Fire Stationary Bullets in the BGE?

I'm making a prototype game of a scrolling shooter game, but I'm having issues with the bullets that the enemy ships will fire. I've set everything up correctly as far as I know, with objects ...
3
votes
0answers
485 views

I can't export my BGE game as .app

I have created a game in BGE and I am trying to export it as an .app. I went into Add-Ons and activated Save Game As Game Engine Runtime. When I go to File > Export > Save As Game Engine Runtime, it ...
3
votes
1answer
408 views

Using Character Controls For BGE

I'm relatively new to blender but I am wondering if there is a way to press a button to set a rotation for an object in game logic. For example, press up to look forward, left to look left, right to ...
3
votes
0answers
280 views

Make a Car AI in the BGE

I am making a racing game and I need to make an AI for my opponent racers, but I have no idea how to. The idea is that there will be opponent cars that: Use the vehicle wrapper Drive on the road and ...
3
votes
1answer
333 views

Camera track to constraint in the game engine

I have tracked camera to track a ball. When I move the ball manually, the camera tracks it. But when I apply motion using w,a,s,d keys to move it top, left,down and right, the camera stops tracking ...
3
votes
0answers
219 views

Calculate collision point of rigid body in BGE

I have a sphere (active rigid body) that bounces on a plane (passive rigid body) and afterwards hits another plane (passive rigid body). I would like to get its coordinates when it hits the second ...
3
votes
1answer
527 views

Blender game engine, shape key driver

i want to create a character with differents shape keys for modify things like if the character is big or small, if he smile or not... and i want to modify values or shapes on blender game engine. To ...
3
votes
1answer
1k views

transparent hair texture for the BGE

I'm trying to create polygon hair like final fantasy characters in blender for blender game engine can someone help me out in creating good quality texture with z-transparency I have already tried ...
3
votes
0answers
64 views

I can't figure out how to make my animation work in my blender game

I can't figure out how to make my animation work in my blender game. Can I get some help? Can someone just see if you can get the animation to work in the blender game and post it back up here? I want ...
3
votes
2answers
515 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 ...
3
votes
0answers
375 views

Super Monkey Ball / Neverball level rotation system

Im making a sort of remake of Super Monkey Ball 2 (Gamecube) / Neverball (PC) is simillar too, but i have already encountred problems: In SMB (Super Monkey Ball 2) or Neverball, you dont move the ...
3
votes
0answers
214 views

Why object is white in viewport and textured when I hit “P”?

Why object is white in viewport and textured when I hit P ? I'm in GLSL shading mode and I can't see the object textured in the Game Engine.
3
votes
0answers
187 views

Objects pulse to sound?

Is there any way to make an object pulse to sound? I want to make my camera pulse to the beat of some music WITHOUT ANIMATION.
2
votes
0answers
64 views

objects experience THE SHAKE at great distance from center

here is the problem in detail https://www.youtube.com/watch?v=Pyr5lWPqfkk&feature=youtu.be does anyone know how to fix it? Or work around ? i wanna create 1:1 scale space flight simulator so ...
2
votes
0answers
39 views

How to change where you fall

i'm trying to make a gravity game where you can use keys to change the direction you fall, solving puzzles etc. so how do i change the direction you fall entirely?
2
votes
0answers
31 views

The animation on the child is not creating keyframes

Basically, my question is the title. I have a "battle" tank, and am using the "Blender Game" engine to make a simple animation by recording the movements in-game. When I move it with WASD, it creates ...
2
votes
1answer
95 views

Pixel perfect in blender game engine

I am working on a game in BGE and I am trying to figure out how to give my game a pixelated look while not making it blurry. I have found some scrips online but I am not sure to apply it onto my ...
2
votes
0answers
32 views

Blender Save Video into Blend

I am using this script for playing videos on planes, cubes etc. It is working fine for me, but when I send my runtime to my friends (videos included in the folder), the videos wont show up (only ...
2
votes
0answers
33 views

Can I send the BGE image, with alpha layer to other SW like openCV or OBS studio?

I would like to overlay 3D video with tranparency generated by the BGE over a real-time video. So, I supposed that I have to access to the images buffer(with RGBA pixel) and send it to openCV or OBS....
2
votes
0answers
161 views

How can I make “planetary gravity” or such in the game engine?

I want to make a space game where you launch a satellite and see how far you can get it using "gravitational slingshots" (using planets to have your satellite orbit the planet for a short period of ...
2
votes
1answer
186 views

Text turns into squares in BGE, text not visible

A sample file with dynamic text was created, and works fine. The same information was added to this working file, but when "P" is pressed, the text turns into a colored square. Here's a before and ...
2
votes
1answer
152 views

Make smooth texture transition animation in BGE

I have a skydome model to use in my game and 2 sky materials for it I want to have it fade between during an animation, like a day-night cycle with a smooth transition between day and night skies. I ...
2
votes
1answer
2k views

How to get current position of an object using Blender's Python API in BGE?

I'm updating an objects location using a Simple Motion Actuator. I see it move on the screen. In Python I want to get the objects' current position. ...
2
votes
0answers
40 views

Blender Game Engine: A monitor for each camera?

I have a scene with two cameras and want to display every camera on a separate monitor in fullscreen. That means camera 1 is displayed on monitor 1 and camera 2 on monitor 2. How can I do this? Thanks ...
2
votes
0answers
135 views

How can I make a homing attack in BGE?

Basically I made a 3D person game where you can run around with a sword etc. It is set up so that if you touch an enemy then you slice through them. I wanted to make it so that if you are close ...
2
votes
0answers
47 views

Make a car drive perpendicular to normals on certain surfaces given certain conditionsin BGE

What I have in mind is to make a car I made (using the car physics, the one with the rigid body and non-solid wheels) be able to drive up steep surfaces and go around loops and corkscrews and other ...
2
votes
0answers
44 views

How to setup Collision to state change?

I'm trying to connect a "collision and mouse" sensor to an "and" controller to change a state and make a sound. The sound works upon collision but the state change doesn't happen... I don't know ...
2
votes
0answers
381 views

BGE: when testing the game the screen glitches

I am making a game in which I am giving controls to a car. I am using the Blender game engine. The problem is that when I play the game to see how it works the screen glitches. What is the problem and ...
2
votes
0answers
200 views

Why is my Blender Game lighting the same regardless of where I put the light?

I'm making a game in Blender Game Engine and I've come across another problem. If I don't have any lighting at all when I go into game preview mode it shows up lit. This looks very cartoonish and ...
2
votes
1answer
138 views

Steering Actuator Seek Near Sensor Transition

When an enemy senses a player with the near sensor and starts to seek the player with the steering actuator, is there a way to make the rotational transition smooth instead of instant? Example: I ...
2
votes
0answers
176 views

Physics driven character movement

I've got an armature with a collision-mesh hooked up to it. The idea is now that by only using animations the character would move around in the world. For example pushing off a wall in Zero-G would ...