All Questions
0
votes
0answers
2 views
2D Orthographic camera movement clamp in any orthographic size
I have a problem, which i currently can't figure out how to solve. I am trying to calculate a clamp value for world coordinates which have to respect any camera orthographic size.I bought an image ...
0
votes
0answers
3 views
cocos2d-x .. How to detect which sprites are underneath a touch event
I was wondering what the best solution is in the following scenario:
Lots of sprites floating around on screen.
A user can touch one sprite and drag to another sprite.
Throughout this entire time, I ...
0
votes
1answer
11 views
Physics / drag of object falling through atomsphere
Trying to simulate an object plunging into atmosphere. It seems to work, until the velocity falls past terminal velocity... down to zero... and then back up!
Something must be wrong with how I am ...
0
votes
0answers
8 views
XNA animation performance
I have setup an XNA game with animation used in the SkinningSample (Windows) example. It works fine in general. The models have 59 bones each. However when I tested it using 8 animations on 8 ...
1
vote
1answer
33 views
How should I structure my code to add enemies?
So I am currently making a 1942-style game in Sprite Kit. I've reached the point where I am finished implementing pretty much everything (movement, shooting (also recognizing a hit and exploding an ...
0
votes
0answers
12 views
Algorithm for sensing mouse movements like a wiimote
I want to make a driving game where you can do tricks with your mouse when you hold down LMB. Ex. if you move it up in a straight line really fast (your cursor goes from the bottom to the top of the ...
0
votes
1answer
23 views
Why do we say things are rotated around the z-axis in a space graph?
I've embarked on a journey of game development. I need to learn lots of 3D terminology, since I want to make 3D games. I learned that X is to the right, Y is up, and Z is towards you. Then why when a ...
0
votes
0answers
4 views
Unable to override method aD() in custom class extending EntityLiving (using CraftBukkit for Minecraft)
I am creating a CustomZombie by extending EntityZombie (which extends ultimately EntityLiving) and want to override method aD() by copying some code that I found on bukkit forums so that I can double ...
0
votes
0answers
5 views
Generating a particle effect on top of a GUIElement (Unity)
I am working in Unity on a 2D project which is using C#.
I have a number of guitextures which are hearts in order to create a sort of life meter. I would like when the player loses a heart for the ...
0
votes
1answer
35 views
In-game character creation
This is my first post here on the exchange. I have found many great and useful tips here, but there is one thing I have not been able to find a complete answer to, and it is nagging me...
I would ...
0
votes
0answers
11 views
Turn .obj files in to .mdl for Gmod
want to import models that i made in to garrys mod but i cant figure out how to convert them in to .mdl files. I dont have any moding experience with the source engine. I tried to find a program to ...
0
votes
0answers
10 views
Bodies going through the walls of a box
I have a game where the user controls a box to collect falling balls. However, very often the balls will just fall through the walls of the box and be flung away. What could be causing the balls to do ...
0
votes
1answer
37 views
How can I generate biome borders?
I'm looking for ways to generate random biome borders (like what Minecraft has).
One technique involves choosing specific biomes based on (eg) a rainfall map and a temperature map. But that just ...
0
votes
0answers
15 views
Map to Screen Coordinates for isometric style map with tile height of 71 and width of 110
I am aware of the coordinates to convert map to screen coordinates and back with isometric tiles with a height and width ratio of 2:1. What I need is the same for tile width of 110 and height of 71, I ...
0
votes
1answer
16 views
Unity3d : Animator canceling script
I create a sway script for my flashlight and attached it to the gameobject(flashlight).
Now the problem is that when I enable the animator in the gameobject(flashlight) the sway doesnt work,but when ...
0
votes
0answers
7 views
Can I export animated models from Unity? Into what formats?
I have an animated 3D model from the Unity Asset Store that I would like an animator to touch up. But they need it in a format they can use (Maya or... something else). All I have been able to find so ...
0
votes
0answers
26 views
Why is this code not being responsive on mobile devices with unity? [on hold]
So I am building a stupid simple game where all you need to do is click some balls on the screen and if I were to do this in java it would be no problem. How it works is when you click the screen it ...
0
votes
1answer
16 views
Bounds Queries for Simplex Noise Function
How do I construct a Bounds Query for 3D Simplex Noise?
[This is more or less a follow-up to my last question]
Simply put, for an arbitrary octree node (cube) in my volume (a section of Unity3d ...
1
vote
1answer
27 views
How to detect collision on specific part of the sprite node
I have a spike and a ball is falling down, when the ball touches the top point of the spike, I want to make the ball invisible, and when it touches on the other part i.e on the sides I don't want to ...
0
votes
0answers
15 views
Creating a simple race game engine for browser based game [on hold]
I want to create a browser based MMO racing game and when raceses take place I want the full race to be visible to all the player on a page that looks like the picture inserted.
My idea is to get ...
0
votes
0answers
20 views
How can I draw Green Circle above Image and another Image above it in libgdx?
I found that I can draw filled circles using Shaperender
and image usint texture and sprite
but I couldn't do both.
can anyone tell me how can I do it?
1
vote
1answer
66 views
Basic Collision Detection Math
First a bit of background. I have yet to read a book on game development, though I do plan on picking one up sometime.
A long time ago I made a simple pong game, followed by a simple Arkanoid-type ...
0
votes
1answer
41 views
Help with dropping items in a game [duplicate]
I am making a game where i have items or blocks stacked on top of each other.
What i would like to do is, when the first item(or the item at the bottom of the stack) is removed, i would like to shift ...
1
vote
0answers
72 views
How can I achieve a similar affect to Planetside's bullet tracing?
I've noticed that bullet tracers in Planetside 2 don't show up close -- every time I see them, it came from a barrel a ways away. I don't believe Planetside traces every bullet either, because then ...
1
vote
2answers
59 views
Decoupling the entity from whatever controls it
In a lot of games the player can choose whether an entity will be controlled by the AI or by the player. For example in the game Little Fighter 2, the player can choose how many of a maximum of 8 ...
2
votes
1answer
65 views
Best practice for organizing the physics of objects?
Apologies because this is a long post and I am inexperienced. I would really appreciate the input from some experienced developers.
These are my two goals for this project:
To learn the best ...
0
votes
0answers
32 views
Unity's Multiplayer [on hold]
Hi just a quick little introduction about myself I'm currently a student attending New England Institution of Technology for Video Game Development and Simulation Programming. Once I head back to ...
0
votes
0answers
33 views
Rotate object with accelerometer?
I'm making a game where you control a platform with balls falling ontop of it, and you have to balance the balls and prevent them from falling off. I'm currently using a mouse to control it with this ...
0
votes
0answers
8 views
Unity Android Unable to convert classes into dex format AdMob
I'm a beginner Unity programmer (school-age), so I don't know that much about the system. On its own my app compiles fine, but when I implement the AdMob SDK (Google) 2.1, I have the following error ...
0
votes
0answers
39 views
Why I need to use Raycasting [on hold]
I have come across pieces of code that can detect collision with other objects using OnTriggerEvent(Colider otherobject)that do not use raycasting, then why use Raycasting, please?
4
votes
2answers
99 views
Grow first, Ads later for mobile games?
Facebook's strategy has been to Grow First, include Ads Later. For mobile games, is there any evidence that ads hinder popularity, or that people are more likely to share games without ads?
1
vote
0answers
23 views
Slick2D v LibGDX: [on hold]
Okay. You might have seen some of these posts on forums here and there, but I wanted to ask this here mainly because everyone here is focused on game-dev and there seems to be quite a few Java ...
0
votes
1answer
32 views
Trajectory Projectile with Collision Detection
Right now I am trying to create projectile for cannon in which I want to detect collision also.
At present I have simple working projectile after using two references
Unity – How to display ...
0
votes
1answer
70 views
Logic behind timberman game? [on hold]
i am wondering how the game timberman works?
What do you guys think is the logic behind the programming in the game? For example,
1). how the tree and branches move down each time the player chops. ...
1
vote
0answers
13 views
Transform world space using Kinect FloorClipPlane to move origin to floor while keeping orientation
The Kinect SDK provides a property SkeletonFrame.FloorClipPlane that describes the orientation of the floor plane relative to the camera. MSDN contains slightly more information in the Coordinate ...
0
votes
1answer
23 views
Setting up a library/framework for easier DOM binding moving forward [on hold]
Bit of background before the question: I've been writing a javascript city manager along the lines of A Dark Room or Candy Box (Text based "idler") as a way to learn js and how to manipulate data. ...
-4
votes
0answers
41 views
want to make android game [on hold]
I want to make a game but I don't have any drawing skills so any way to get charters and background for my game or any software which help me to create charters as I want easily
-2
votes
0answers
98 views
I am 13 i want to create a game which type of game should i make? [on hold]
I have decided to create a game in Unreal Development kit.
I am very young and i wanna create a game I want ideas for game cause when i think i get so much ideas and there is no specific one please ...
1
vote
1answer
36 views
Replace each white spot of image to radial gradient
Recently, I have read article about sun shader (XNA Sun Shader) and decided to implement it using OpenGL ES 2.0. But I faced with a problem connected with shader:
I have two textures, one of them is ...
6
votes
4answers
2k views
Is C# different in Unity?
Does Unity use a different version of C#, or is it all the same? It looks different from regular C# but there are some regular C# elements in there.
4
votes
3answers
138 views
How do I resolve a sphere-triangle collision in a given direction?
I am trying my hand at game physics.
I understand that the basic way to pull back a sphere when it collided is to negate the penetration distance:
// If collided...
// `distance`: distance form ...
-1
votes
0answers
42 views
How do I slow down drawing? [on hold]
I'm trying to create a turn-based card game with the Observer-pattern. I've asked a question here about this game before.
I want to slow down the drawing of the cards in the JPanel. Right now, ...
-1
votes
0answers
18 views
Create Server for Online Chat in Unity2D? [on hold]
Im trying to make a simple online chat for Mobile Devices in Unity2D where users will join to these chat rooms and start the chat.
I already made the chat and now I need to make my server. Any hit to ...
0
votes
2answers
52 views
Single texture or one texture per light for shadow mapping
The basic implementations of shadow mapping that I have seen create a depth texture for each light source affecting the scene. I'm just curious as to why this might be done rather than using and ...
3
votes
2answers
562 views
How to find point on a circle that's opposite another point?
How do I find the coordinate of point and angle value on circle sprite which placed on opposite side of sprite from a touch point and the center point of the sprite?
I know A position, B position and ...
0
votes
0answers
31 views
Add a table of buttons to game [on hold]
I have some code of a libgdx game. In the game a car goes across a road and if it crashes with another car the game will be lost, below you will see the class for the enemy car, in the class there is ...
0
votes
1answer
71 views
Designing Character Movement Need Advice
(This game is written in C++ with GDI+ It's a simple side-scroller.)
I am having a problem deciding on how I should handle player movement. Currently it runs at 20 frames per second (I just chose ...
0
votes
0answers
4 views
swapActor not movings the actors
I'm trying to use myTable.swapActor(Actor a,Actor b).
It does return true, so it should swap the items, however, nothing's moving.
Is there something I've not seen in what the function really does?
...
0
votes
0answers
33 views
How would bullet drop impact gameplay? [on hold]
I'm in a situation where bullet drop neither harms/helps performance, so it's just up to personal preference here (3D FPS by the way).
Which would be best for gameplay in both user friendliness and ...
1
vote
0answers
7 views
Why AnchorPoint doesn't affect `CCLayer` Positioning?
I think there is a different between CCLayer and CCNode behavior when I change their AnchorPoint.
I will describe what I mean and please somebody explain it ?
Scenario:
I start with CCNode
CCNode ...