0
votes
0answers
5 views

How to create libgdx main menu screen

I'm new to java and libgdx and I want to create a main menu screen, Can someone give me a simple example?
0
votes
1answer
25 views

How to make a triangle pixellated with GLFW?

How can one make a triangle look pixelated without modifying the size of the window in GLFW3? Preferably, I'd like to accomplish this without the use of shaders. For example, by setting the size of ...
0
votes
0answers
8 views

2D Skeletal animations exported to SVG

I would like to create skeletal animations, and Synfig looks quite promising. This is a video walk through of its "bones" feature, used to do skeletal animation. Ticks all the boxes thus far, ...
0
votes
0answers
13 views

game center - error failed to find players

I'm working on a multiplayer game using iOS game center and I've got player authentication working, and the game center matchmaking view coming up. However, when I click on the "play now" bubble, it ...
1
vote
0answers
8 views

Collisions between sprites in SpriteKit

I'm making a game in XCode using SpriteKit. The game has a player and different types of projectiles that he has to avoid. When the player collides with the projectiles, the score changes and the ...
1
vote
1answer
23 views

How can I simulate a “Hot Swap” betwen Audio Clips?

I have a Unity project with 3 separate looping Audio Clips and a single Audio Source. Based on certain events, I swap between which of them are playing. This works fine, but whenever I swap between ...
2
votes
1answer
16 views

Why doesn't the animtor animate in unity5?

I have a player consisting of 20 different body parts which I have animated into a walking cycle. When I play the animation in an 'animation' component it works as intended, but when I try to play it ...
-3
votes
0answers
24 views

Unity 2D Roguelike Tutorial Bug [on hold]

I've been learning to code and create games in Unity 5, with their video tutorials and while working on the Roguelike Tutorial I created a bug that I, for the life of me cannot fix. Here's what ...
0
votes
0answers
14 views

Using MonoGame Content Pipeline: Texture Importer Error

I just encountered this kind of error when using the MonoGame Content Pipeline and it's my first time to use it to convert png to xnb files (I use a stand alone app for converting files to xnb in the ...
1
vote
0answers
13 views

Is restitution the wrong value, to make bouncing objects?

I have been experimenting with Bullet. Specifically I was modifying the Hello World tutorial, to make the ball bouncing. The first thing I noticed is, that I need to set both the restitution of the ...
0
votes
1answer
12 views

How to force Landscape Mode Unity3D Android Game?

I am developing a small side project on Unity that will ultimately be for Android but I cannot figure out how to force landscape on the device and when I have tried it out the game just goes all over ...
0
votes
1answer
27 views

How to manipulate unity objects in a C# script?

I am new to unity and i was wanting to know how i can change a objects position and angles and stuff like that in a c# script. I exported the object from blender as .3ds. The objects name is ...
0
votes
0answers
18 views

Java 3D collision detection with JBullet

So I have spent a long time trying to work on a collision detection system from scratch for own game engine and came up fruitless due to lack of time. Finally I decided to try to use Jbullet to try to ...
0
votes
0answers
26 views

GLSL: #define vs const

What is the difference between #define NAME VALUE and const int NAME = VALUE in GLSL 410 core? As far as I can see, they both create a constant integer.
0
votes
0answers
16 views

Perspective projection math help?

I have points X,Y,Z and have a camera at Cx,Cy,Cz. Assuming the camera is not rotated and is facing the -Z direction and is at 0,0,0. What would the math be for projecting the X,Y,and Z values onto ...
0
votes
0answers
3 views

Unity PhotonView - Ownership problems when synching objects

Im creating a billard game where one white ball will be controlled by two online players. I have set my object photonview to ownership takeover: https://www.dropbox.com/s/kq79lfh4clerx7q/no.jpg?dl=0 ...
1
vote
2answers
36 views

Is it possible to have FixedUpdate execute once every n frames?

I'm currently building a small game, and I've created this simple character controller using FixedUpdate, which executes every frame. using UnityEngine; public class PlayerMovement : MonoBehaviour { ...
-5
votes
1answer
45 views

How do you publish Construct 2 games on Windows 10?

How do you export a Construct 2 game to Windows 10's new Universal format and then publish to the Windows Store?
0
votes
0answers
21 views

Different game resolutions on emulator and on a real device (which has the same resolution) on Windows Phone 8

I have a big problem with game resolution, when I'm running my game on emulator (which theoretically has the same resolution as my real windows phone device: 800 x 480). I'm making the game with ...
9
votes
2answers
448 views

Good way to handle offscreen AI?

For example sake: Let's say there are 10 rooms in the world. And let's say the world is inhabited by 10 entities. And each entity has it's own "daily routine" where it performs certain actions in ...
0
votes
0answers
18 views

Rotate Object inside room according to wall

I have a room. I am trying to move an object whenever it collides with a wall. It's working properly except at the edge of two meeting walls. At the edge it's flicking. I tried to move the object when ...
1
vote
2answers
20 views

Unity LoadLevelAdditive and baked light scene settings

I am a programmer for a small game. For our levels, I separated the UI from the level data, so one scene is a scene which contains only the UI, the other scene has all the gameobjects and models and ...
0
votes
1answer
24 views

Draw cube in glsl shader

I am working on a voxel engine. Currently my cubes are rendered as vbos. I thought, it may be better to load only the cooridinates of voxels to the shader and make it draw a cube itself. Can someone ...
0
votes
0answers
15 views

Requesting advice on network programming: How to do peer to peer networking for shooter game to avoid servers (Steam)

I've recently greenlit a game on Steam that is a 2D real time shooter. I'm trying to figure out networking and to prevent delay/ping problem, I'm trying to find a way to connect users directly to each ...
1
vote
2answers
311 views

Unity crashes when opening a project

Why does this happen? I'm new to Unity development. I have installed Unity yesterday (2015-09-06). This is the error that I get:
-2
votes
0answers
31 views

Getting angle from atan2

I have simple Question about atan2() that how to get the angle from the the Turret so that it follows spaceship where it goes. i have a vector which is from the Turret to SpaceShip but as of my ...
0
votes
0answers
18 views

How many ways are there to animate a 2D sprite in Unity3D?

I know about the following animation methods, 1/ Spreadsheet Animation.. 2/ Unity's animation (with individual parts).. Beside these two, are there any other animation system available? Is there ...
0
votes
0answers
16 views

Objects with custom shaders cast grayscale shadows when lightmapped

Unity 5 seems to be able to calculate colored shadows from objects mapped with standart shader and legacy shaders. What should I do to make my custom shader to cast colored shadows as well?
2
votes
2answers
312 views

How would you define this mechanic in narrative based games?

I'm a researching a certain game mechanic that seems very commonplace in modern narrative-based games. The mechanic is defined (by me) as a user action that the player can take while in a dialogue or ...
2
votes
2answers
54 views

I'm making a networked game for mobile. Should I worry about cheating?

I'm in the process of making a racing game for Android/iOS. I'm thinking of implementing a server/client model, should I worry about cheating and make all players communicate with a server of mine, or ...
-4
votes
0answers
25 views

Can you make a 2D browser games with PHP? [on hold]

I have an idea for a 2D, multiplayer browser game. I am in the process of learning php, and I am wondering if this is a usable language for the backend. Also, what language will I need to learn for ...
0
votes
0answers
40 views

How to draw 3D geometric primitives without using OpenGL?

I can draw 2D geometric primitives. I can draw points and lines in 3D. But, I can't draw 3D geometric primitives like plane, sphere,ellipsoid, cone, etc. I need to learn the inner principles. So, I ...
0
votes
0answers
2 views

Get original image size in Ren'py

I'm building a visual novel and in one scene, I want to have a couple of different images move from one position to another and change size as it moves. My first position is called "doorway", my ...
0
votes
1answer
25 views

Can I use someone else's music/midi? [duplicate]

The music in question is not exactly owned by the other individual either, as it's simply an arrangement of a game's soundtrack as a midi or music sheet. Am I allowed to use these in my videogame? ...
-1
votes
0answers
24 views

Modifying Game from Inside the Game [on hold]

Is it possible to change a game at runtime from inside the game? For example inside the game I could go on a computer and write some code that makes a wall appear behind me or I could type in some ...
-3
votes
0answers
24 views

best programming language to make android games [on hold]

I've decided to learn android game development, i have some knowledge in c++ and java, but i found out that its better to learn c# or javascript to use unity engine, so what language i should start ...
0
votes
1answer
49 views

Match 3 game - Check for matches

I'm out of ideas and need help. So far I generate a board nicely using a flood fill algorithm and a 2d-array, I can also move tiles around the board. Each Tile knows its own row, column and ID ...
0
votes
1answer
21 views

A method to create and assign a name to a GameObject (Unity)

I'm trying to create a function that takes in a name of an object in the editor and assigns this accordingly as well as the name of a sprite, rigidbody, etc. Basically what I have so far is- ...
1
vote
1answer
39 views

Procedural texturing with opengl

I have a hexagonal grid of fields, each field has a certain terrain type. I assign every vertex of hexagon with terrain type and pass it as attribute to vertex and then fragment shader. Then I use the ...
0
votes
1answer
18 views

Getting ray using gluUnProject or inverted MVP matrix

I've read a lot of topics here, on SO, opengl.org etc. Example how gluUnProject should work (from NeHe tutorial): winX = (float)x; winY = (float)viewport[3] - (float)y; glReadPixels( x, int(winY), 1, ...
1
vote
2answers
35 views

Cursor position to a 3D ray using angles

I've been stuck for a month trying to get gluUnProject working. After my attempts to use gluUnProject failed (as well as attempts to implement gluUnProject functionality manually) I implemented method ...
1
vote
1answer
34 views

Change Material color programmatically

I'm writing a simple C# Script to change Materials color of a object. public class Highlight : MonoBehaviour { public bool Mouse_Over = false; public Color Highlight_Color = Color.white; ...
0
votes
1answer
10 views

Add force towards a point in Unity3d?

I have a Vector2 and want to move an object towards it... (this vector2 is the mouse position when clicked and I made sure I get only one position when its clicked) My initial thought was to apply ...
0
votes
1answer
13 views

UNET start game with friend by finding their name, Android

There is a game at the google play store called Fun Run 2- Multiplayer Race. I loved its feature to find friends by writing their names, and then to play with them. Is it possible to achieve that with ...
0
votes
0answers
7 views

JavaX Package - GNU/Linux

When I run my JAR in GNU/Linux (Linux Mint), the following stack trace is returned. Exception in thread "main" java.lang.NoClassDefFoundError: javax/vecmath/Tuple3f at ...
0
votes
1answer
24 views

C++ vsnprintf formatting issue? [on hold]

I'm working on a roguelike and attempting to write the message system. When I attempt to format a const char* with vsnprintf, it seems to somehow format it incorrectly to the point where it is ...
-3
votes
0answers
10 views

Getting bluescreens in Stencyl

I'm trying to complete the crash courses in Stencyl but I get bluescreens when I try to test my game. Any ideas why that might be?
0
votes
2answers
46 views

How to calculate attacks

I am making a android game, and it is supposed to have attacks.(Note, this game is 2D). I have implemented things like movement to the base, but I am not too sure about the actual attack algorithm. ...
0
votes
3answers
27 views

Making a 2d sprite based game in Unity?

I'm looking at developing a 2D sprite based platformer. Usually I make games in Gamemaker, because I find it very easy to use. I have never used Unity before but have heard a lot of good things. So, ...
-2
votes
0answers
41 views

Android App with copyrighted music! [on hold]

Ok I'm making in fact done with an app (my first app , it's a trivia quiz app of a boy band) and than I realized that using copyrighted images and music could be bad for the app! So I removed all the ...

15 30 50 per page