0
votes
0answers
2 views

How do I move an object with the accelerometer in libGDX

I am working on a game which uses the accelerometer to move an object called "plane". I know how to add a accelerometer but I can't get the plane to move. package com.wyvern.pp.states; import ...
1
vote
0answers
7 views

calculating torque from angular momentum considering inertia moment

so I am trying to determine exactly how much torque to apply to a 3d model to make it rotate at a particular rate. I apply force from the location of each engine on the craft so if one breaks the ...
0
votes
1answer
19 views

How to make my 2D character stand normally on slope?

I've got this character in Unity3D (2D Mode)... in a a slope which looks like this, But I want the character to stand along the red line..Like below How can I make it in Unity3d? I've got this ...
0
votes
1answer
11 views

How are Objects rendered or updated, when there's a Pool class?

I have a State (Title State for example), that has the ResourcePool (getImage();getSound(); etc.) and a list of the GameObjects. How do GameObjects get access to the Resources in the Pool they need? ...
0
votes
1answer
11 views

Why does Unity not detect my camera attached via the inspector?

I want to use camera.ViewportToWorldPoint() to show the bottom center bounds of my screen. So, I created a script and added that component to my object that needs it. using UnityEngine; using ...
0
votes
0answers
6 views

How can I give rotation angle to an object running on iTween Unity5?

I have to rotate an object around a circular track which is a rectangular circle so for that I am using iTween and it is running perfect but the object does not change its own rotation just only runs ...
1
vote
1answer
23 views

Problem with grid generation in Unity 5.1

Using Unity 5.1 and was following a tutorial for generating a grid for a Minesweeper-style game. Link to the tutorial for reference: ...
0
votes
0answers
16 views

What is a simple way to pull input from a keyboard and attach it to a std::string?

The question says it all to be honest. I have a game that I am making in Ogre3D, using OIS as the main input library. My issue is that I am attempting to use CEGUI (with tons of errors) all to simply ...
1
vote
1answer
38 views

Is Frustum culling still needed today?

I'm reading about efficient Frustum culling algorithms. I found an article about a smart method that first use the Frustum AABB (Axis Aligned Bounding Box) to eliminate most of the scene before check ...
0
votes
2answers
23 views

Making a Hit Damage Formula

I have a character that has an attack and defence level. Let's say that his attack is 20 and defence is 20 too. I started off by saying that his max attack in a turn is 20 (same as his attack level) ...
0
votes
0answers
28 views

Wurm online, what does it consist of? [on hold]

I'm very new to game programming/programming in general. What I would like to know is, (i know wurm online was programmed in Java) what other elements (programs,such as how the maps were ...
1
vote
0answers
16 views

Shading a 2D visibility mesh to act like a light?

I have a visibility mesh made by raycasting: https://my.mixtape.moe/omjlgr.webm Right now, I'm using a shader to color the mesh white and fall off with distance and radius (the texCoord in this case ...
2
votes
1answer
50 views

Making a text only console game in C#. Can't figure out a way to organize states

When I say states I mean like what you would call scenes in unity. As in each phase of the game. But in straight up code for a console application in C#. Example: Name select. Race Select. Store. ...
0
votes
0answers
28 views

Minimalistic and fast C++ based game engines with free commercial use? [on hold]

I've come across so many game engines all claiming they're good and I've tested a lot and they all have some flaw like they're slow, they make too many assumptions, they can't be used commerciallym ...
-1
votes
2answers
44 views

What are the popular languages for indie game development? [on hold]

I have a friend who has a basic background in programming, and wants to learn game development for the PC. The question is, what programming language would you recommend for him to learn first? In ...
-5
votes
0answers
17 views

Please help improove and stabilized [on hold]

I am indie dev with a two friends who help me. I’ve ready for OBT my first social game project after 3 years of work. Project: SlideLineSaga PVP Match-3 Facebook Canvas Please help improove and ...
0
votes
0answers
6 views

Why does Forge not find my texture for my custom background?

I am creating a minecraft mod that improves the main menu for my minecraft server. At first I wanted to create the background, but somehow when I try to start minecraft it closes and I get a ...
0
votes
1answer
36 views

Binding and unbinding, what would you do?

Let's assume the following example creation: glBindVertexArray(vao) glBindBuffer(GL_ARRAY_BUFFER, vbo) glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indices) // Filling up buffers ...
2
votes
1answer
23 views

How can I calculate an octree node's depth from its location code?

The article Advanced Octrees 2: node representations states: The AABB (axis-aligned bounding box) of the node can be stored explicitly as before, or it can be computed from the node’s tree depth ...
0
votes
0answers
10 views

Images in flash cs4 become invisible

I am just learning to use flash for animation and game development. currently i have cs4 installed. My problem is that (for some reason) the images I import are not visible in the stage. The only ...
-1
votes
0answers
38 views

Character images for games [on hold]

Does anyone know how to design the character images for game?Is there any tool to do so?If exists then please post the process of doing so.Thanks in advance
14
votes
2answers
4k views

What happens if I make more than $100k with the free Unity license?

If an indie game developer makes more than $100,000 using the free version of Unity, what happens to the money that goes over $100k? How will Unity people come to know how much money they are making? ...
1
vote
1answer
30 views

Unity: Adjusting the camera so that the scene view and the game view look same

when I make any object I'm able to see that by other side in the game view. And this troubles me in adjusting the objects. So can anyone help me to adjust the main camera in such a way that views of ...
0
votes
1answer
27 views

Handling input in ECS for multiple characters

I've been reading into Entity-Component-Systems, and they seem rather handy. However, I don't quite understand how input should be handled and after googling and looking thru GDSE posts, I've become ...
1
vote
3answers
50 views

Why does a UI button that is child to a canvas not appear in game view?

I am trying to place a button onto a canvas background using C# script. I want the button specific to the canvas (i.e., if I move the camera to look at another canvas, I do not want the button ...
0
votes
3answers
46 views

How much to roll Z to make horizon level

I've got a flying camera with some arbitrary rotation. (It also has a translation, but that's not important.) It's flying along its local Z axis, traveling in some direction over the ground with ...
0
votes
1answer
33 views

Google Leaderboards, Reducing the Score of a Player

I am making a strategy game similar to chess for Android. I'll be using the Google Leaderboards for rankings. I want to implement a sort of ranking system, that the player can actually lose score, ...
-1
votes
1answer
62 views

How to make a stab function?

I've looked around everywhere, and I can't find an example script for a stab. What I have so far is a top down 2D scene, with a player at the bottom (static). I would like to have the sword/tongue to ...
0
votes
0answers
18 views

Software Similar to Chevy Test Track for 10yo boy? [on hold]

Don't know where else to ask, so here goes: if you've been to Epcot lately, you'll know that Disney upgraded the Chevy Test Track ride with a slick proprietary CAD program: "Designs start as a simple ...
0
votes
1answer
24 views

Direct3D - Get screen coordinates for printing multiple text elements

I have a function that I use to print text PrintText(char* text) that stores the text to a vector, which is then displayed if the vector is not empty. I'm trying to figure out how can I correctly ...
0
votes
0answers
10 views

Can you generate a mesh between to two objects in blender?

I'm wonder if there is any way I can be blender to generate or fill in the gap between these two meshes.
0
votes
1answer
30 views

How do I ensure consistent behaviour when using Unity's Collider2Ds for triggers and collisions?

I am experiencing inconsistent behavior using Unity's 2D Physics engine and their Collider2Ds to detect collisions and triggers on my projectiles. I will classify it into two problems. The first is ...
1
vote
3answers
42 views

Filling background with tile image

I'm learning Unity and developing a 2D game for learning. It's really similar to RimWorld and Prison Architect. I have a grass tile image (32x32 pixels) I want to fill background with this image. ...
2
votes
0answers
20 views

Facebook data exchange for mobile games (multiplayer)

A multiplayer mobile game that we are working on connects players through Google Play and Game Center but we would also like to add an option to play with your Facebook friends and here's the ...
-1
votes
0answers
30 views

How to rotate an object on a rectangular circle shaped track in unity5?

Actually I have 10 objects and these all are automatically run on playing game as its a betting game which is going to play on browser but I don't know that how to rotate that objects on curve on a ...
0
votes
0answers
26 views

Generate Mesh of Shadow Volume

Given a mesh, I want to generate another mesh that is effectively a shadow volume of this mesh. I am looking for an algorithm/solution/implementation/reference that can do this under the following ...
0
votes
0answers
10 views

Cocos2dx - error while importing plugin with sdkbox

I'm trying to import plugins through sdkbox (v0.5.6.7) in my game using Cocos2dx (v3.7.1) but I always get this error: $> sdkbox import facebook _______ ______ _ _ ______ _____ _ _ ...
1
vote
1answer
59 views

Wander steering behaviour in 3D

I'm trying to implement the Wander Steering Behaviour but getting strange result (see .gif). What am i doing wrong? I want to move a sphere in a random direction. I read this article Understanding ...
0
votes
1answer
45 views

How do I avoid lag when dynamically loading a map chunk?

I have a procedural 2d game which extends in all directions, on the surface similar to Terraria. When a player moves their camera close to the edge of the currently loaded terrain, I trigger an expand ...
-1
votes
1answer
31 views

What is the recommended way to store compressed textures in files?

Uncompressed textures can be stored in lossy formats such as jpeg and it saves a lot of hard drive space. However for obvious reasons you cannot do the same on compressed textures. So what is the ...
5
votes
4answers
100 views

How do I interpolate around a rectangle?

I want to make a fancy animation where a point travels around a rectangle. I want to find the point's position at a time t. The rectangle is given by X, Y, Width and Height. Is there an algorithm ...
0
votes
0answers
19 views

LibNoise Perlin.GetValue not returning noise for zero decimal place numbers

I'm using the LibNoise port from C++ to C# and running into problems generating Perlin noise (Unity demo here). For some odd reason integers never generate any noise. In the code below _firstValue on ...
-2
votes
0answers
15 views

Minecraft Server IC2 Mod

I'm having issues installing the IC2 mod. The following error: [21:47:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [21:47:55] ...
-4
votes
0answers
29 views

A free “maker” engine to create and export commercial Android games? [on hold]

I need a free "maker-like" engine that can easily export Android games. I mean ready-to-store and with no costs. Unity and GM Studio Android exporting versions are paid, right? So, whats the best ...
1
vote
3answers
50 views

UDP packet reliability and re-sending

Like most people on this exchange concerned with UDP client server connections, I've gone through the Gaffer on Games article about implementing reliability. I understand how the ordering and acks and ...
0
votes
0answers
22 views

GLFW - Selecting an OpenGL Context before showing the window

I want to know how i can select an opengl context before displaying the window I have two different machines. One is opengl 3.1 and the other is opengl 3.3. I want to be able to select the context ...
0
votes
0answers
9 views

Unity Photon Networking - Cant understand OnPhotonSerializeView

in all tutorials I see that an object sends data over the network and receives the data for sync in the same method: Code (csharp): void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo ...
0
votes
1answer
23 views

Reading map.txt from assets android

I'm a beginner android developer currently working on my second app which is a platformer game. I'm trying to read the level map (which I've stored in the assets folder) but I keep getting a ...
0
votes
1answer
26 views

Crash when setting a new screen

In my almost finished game I want to set a new screen on game over. I got my game over method: private void gameOver(Label score) { for (Body body : worldBodies) { ...
0
votes
0answers
44 views

Wang tiles generating

I'm trying to get rid of repetition on terrain, when viewed from up high. To achieve that, I've chosen Wang tiles. One thing I'm missing, and can't really find is any kind of generator that can take a ...

15 30 50 per page