0
votes
0answers
5 views

Flipped model has wrong triangle order

I have list of models and transform matrix for each of them. Some of models are flipped along X or Y or Z axis. This meshes will be rendered wrong, back face is rendered instead of front. I tried to ...
0
votes
0answers
5 views

My Raycast will not detect collisions in my Unity 2D project. What am I doing wrong?

I appreciate any help you can offer me. I created a script for a character controller that casts two rays below the player's gameobject. The rays extend infinitely and should collide with another ...
0
votes
0answers
15 views

Minecraft Modding - Is Pacman still protected by copyright? [on hold]

I'm not sure if I'm using the term 'copyright' correctly, but I was thinking about making a Pacman mod for Minecraft, and I was wondering if I could do it safely. Can I get in trouble for making this ...
0
votes
0answers
13 views

In MVC is the View allowed to see but not talk to the model?

I have been reading up on MVC and have been trying to follow it to the best of my ability but one thing keeps coming up. Can the Views see Model Objects? My current structure for my game is as ...
0
votes
0answers
7 views

Do features of SpriteKit follow MVC

I am currently working on an iOS project called Old Frank that I have been trying to follow a MVC design pattern. The gist of it is. GameObjects(model) <- Scene(controller) -> Sprites "SpriteKit" ...
0
votes
0answers
2 views

CGVectorMake to move SKNode at a certain speed towards the middle of screen?

I am trying to launch my ball sprite towards the middle of the screen at the same speed every time I launch it. let vel: CGFloat = 1000 dx = size.width / 2 - ball.position.x dy = vel - size.height / ...
-1
votes
0answers
5 views

Fullscreen window appears in a weird way LÖVE

Instead of the window just appearing like window mode, The fullscreen windows blends to the screen in a weird way. How can I change this?
1
vote
0answers
8 views

How to assign texture to shader?

In OpenGL, most shader uniform variables are easy, a float or a vec3 or whatever is associated with a shader program. But samplers are different, we associate a texture unit to the shader program, and ...
0
votes
0answers
6 views

I have been working on my Java game for a while, now I would like to get into networking, what resources are effective for java networking? [on hold]

After working on my game for a few months, I want to now begin to do some networking with it. All my previous games have not included any networking so I feel it is a good time to get started. I am ...
2
votes
2answers
154 views

How do game companies handle DLL resources?

This question is based solely on curiosity. I have played a great many games on my PC over the years, and just now realized a trend across all games(most if not all). In the resources of the game, or ...
0
votes
0answers
7 views

How to do animation of XNA model integrated with WPF?

Back with another weird question I managed to find a XNA Model viewer integrated with WPF which is this one https://xnamodelviewer.codeplex.com/ So I had a custom processor which sort of run multiple ...
0
votes
0answers
15 views

How to spawn an object in front of the player orbiting around a planet?

I am making the 3D game where player move around the Earth orbit in one direction and I wand to instantiate asteroids which will move to me on the same orbit as player but asteroids must instantiate ...
0
votes
0answers
12 views

Java Slick2D TextArea Enter Key Is Being Ignored

So I am creating a small program, and I need to add a Slick2D TextArea object to the screen. It works fine, but whenever I press the enter key, it does not go to the next line. Here is the code that ...
-1
votes
0answers
19 views

Get directory of .exe [on hold]

Although there are some questions on this over at SO, I'm asking this question here because I need to be able to run it on all popular OS's, since it would be bad if you can't load saves on a Mac or ...
0
votes
0answers
16 views

Modern OpenGL, rendering multiple obj objects not working

I am currently working on a 3D Game Engine that loads a level from an OBJ file and renders it with OpenGL. My problem is related to understanding how to render each object individually when i have ...
0
votes
1answer
29 views

resolving per pixel collision issue

In space invader, I'm doing bullet to barrier intersection using rect to rect, then I'm testing the first bullet's impact pixel, if it's green I blast a circle, if it's black, it continues travelling. ...
2
votes
1answer
9 views

Keep state in Unity editor without hitting serialization

In my game I have a MonoBehaviour WorldView that, when created at editor time, initializes a large dictionary. Later from a Editor WorldViewEditor I call WorldView.SetBlock() that tries to access this ...
0
votes
0answers
5 views

LWJGL: getDisplayModes() on Linux with two monitors

When calling getDisplayModes() on a Linux machine with two monitors I only get one single resolution, that is, the current resolution set on the main monitor. However, calling xrandr directly gives me ...
0
votes
0answers
14 views

Are there conventional 2D isometric axis directions?

I'm making a 2D isometric game, but now that I gotta decide which direction X and Y increase, I think it would be best to consider the common practice. In which directions do each of the axes usually ...
0
votes
0answers
11 views

Allegro or DirectX? [on hold]

I've been wondering if I should use Allegro or DirectX for a 2D platforming game. I have some experience with Allegro, but it shouldn't be so hard to learn DirectX. Which one would you recommend?
0
votes
0answers
16 views

postprocessing shader destroying viewport on linux?

Basically I implemented gamma correction into a q3 based game to get rid of the annoying SetDeviceGammaRamp. On windows and macosx everything works fine, but on linux it draws garbage. It looks like ...
0
votes
0answers
9 views

Bike rotation freeze rotation

Hello im making a bike game and need it to stay up (doing a wheelie) without gravity knocking it down ive tryed freezing the rotations and turning off gravity and it dosent work, so not sure how to do ...
3
votes
1answer
113 views

How to render a pseudo-3D view like in the game Biosys (1999)? [on hold]

Biosys is a PC game released in 1999, where navigation through its environments is done by clicking an "exit" on a scene, taking the player to a new scene. The player can't move in a scene, and ...
0
votes
1answer
34 views

Unity - Proper use of threads with procedural generation

I have been working on a simple chunk based terrain generation system, with voxel octrees. The overall method works pretty well, but testing this system with large amounts of chunks completely freezes ...
0
votes
0answers
10 views

What events invalidate the Unity machine identification? [on hold]

I bought a new solid state drive, cloned the old one to the new using CloneDrive, removed the old drive and booted. Everything went well, but when I tried to start Unity I got this popup: I am ...
-1
votes
0answers
10 views

fade away the fire while watering to it unity3d

i am a developer in unity3d.Now i am working on a fire accident project. but at the time of watering towards fire iam getting some unclarity on that. Bcz i want to fade away the fire while watering to ...
0
votes
1answer
21 views

How to draw arrows between bubbles

Hi EveryOne, First of all thank you very much for Your Support. Your Valuable Suggestion really helped in Game Development. Now, i have another question:- ...
0
votes
0answers
14 views

XNA/MonoGame Only render tiles on screen with renderTarget2D [on hold]

I use a renderTarget2D and draw my tiles to that, And then draw that huge map texture. This is my code that draws the map : using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; ...
0
votes
0answers
8 views

I wanna rotate 2d Gameobject around its pivote point on touch over it [on hold]

have u any idea please share with me... i m trying to make a bow and arrow type game but I'm facing such problem, I'm trying to rotate the bow around its pivot point on touch .
0
votes
0answers
23 views

How to implement choice of element(fire,water,etc) in character creation [on hold]

I'm trying to decide whether or not to allow the player to choose his element in the character creation stage.on one hand,i think that giving the player choice is great,but i also feel like giving ...
0
votes
0answers
15 views

Libgdx Camera Position and Zoom Snaps into position instead of smooth animation

I have tried implementing a smooth Camera zoom method in libgdx, in which the method zoom interpolates between two vlaues of zoom amount i.e initial * final. The problem howevever is that the camera ...
0
votes
0answers
14 views

Sending sprite data as snapshot data in networked real-time game

When you have a client-server architecture in your multiplayer game you're expected to send the states of each entity as calculated by the server to your clients. This assumes that the client's game ...
0
votes
2answers
43 views

How to implement levels in unity

My game is very simple and runs on a single scene. I would like to add different levels with different difficulties. Currently looking at 10-20 of those. What is the best way to implement this? A ...
0
votes
0answers
48 views

Creating a 3D mushroom cloud

Hi I am trying to create a mushroom cloud animation for my strategy game. Something like this. I have been looking at info for creating explosions in general, and the way to go seems to be using 2D ...
3
votes
1answer
53 views

How can I efficiently represent territories and their borders on a map like if it was a Risk board game?

Good day, I am currently brainstorming ideas and exploring different features for an upcoming project of my own, and I am exploring the idea of programming a territory control based RTS. These ...
0
votes
1answer
22 views

how to make a sprite jump or fly and fall slowly

I'm a beginner in java and im suffering to make a 2d game. I already wrote a simple code that makes the character or the sprite jump by increment his Yposition when key is pressed and do the reverse ...
0
votes
0answers
23 views

XNA- Is there anyway to make this code shorter? [on hold]

I know this code needs some organization like classes enums,methods,arrays or something but i just want to know could i have created a Character movement script shortening the code without using ...
-1
votes
0answers
16 views

Image drawn always comes out blurred [on hold]

Ok, so whenever I create a sprite in clickteam fusion 2.5 it always comes out blurred. I once found a blur menu but never found it again.
-1
votes
0answers
29 views

If I create a fake trademark, would I infringe copyright? [on hold]

I would like to add into my game some assets (such as Images and Logos) which are based on others (they are similar, but not the same). For instance, if I have a drink which I call it "Moonster ...
0
votes
0answers
16 views

How to use Android Sensor, only in x axis

I have seen some tutorials but they are very complicated and they are about the three axes (x,y,z). So I want a code that moves an object or more (for example) to the right or the left when the ...
0
votes
1answer
18 views

Unity .3ds file is purple

I imported a .3ds file from skethup and in the preview it shows it with the texture, but when I put it in the scene it shows it without the texture. http://puu.sh/gyYSU/a09541420c.png
0
votes
0answers
11 views

How create a platform with multiplayer games? [on hold]

I'm a junior developer and i'm trying to build a games platform where there are a lot of multiplayers games and where is simply add games and play with everyone. I started building a simple card game ...
0
votes
1answer
17 views

Spawning moving text make it disappear overtime

I am trying to display a text when I click the letter 'R'. When the text appears, it should slowly slide down on the y axis only, slowly disappear over 4 seconds and get disabled. I am not able to ...
0
votes
0answers
18 views

C++ AMP vs compute shader for games? [on hold]

As C++ AMP allows native C++ to run on GPUs.My question is - Should it be used in games for complex computations like simulations,physics, ray tracing etc instead of compute shader?If yes, then what ...
0
votes
0answers
7 views

How to handle game widget destruction as a result of an event?

I have a simple hierarchy of containers and widgets like buttons, line edits and labels. Every node in this hierarchy is a Widget, specialized with a subclass to make custom behaviors for each type of ...
1
vote
0answers
18 views

How to implement this collision detection function?

I would like to know how to implement this collision detection function, but I'm not even sure what it's called. The input shapes are 2D convex polygons, with an optional "rounding radius": imagine ...
0
votes
0answers
11 views

Unity5 how to move object when the button is on hold [on hold]

I use new Unity5 and I need to make a movement when I press down the button. What have I done: I created new button (UI-Button) I created function: public void Move () { transform.Translate ...
0
votes
1answer
27 views

XNA Stop movement when arrived

I'm trying to stop movement when sprite arrive target position. But i couldn't handle it. Sprite still move and pass target position. Here's the code that runs every update to move it. public ...
2
votes
2answers
47 views

How to select random points within grid meeting min/max distance requirements from each other?

I have a 2D grid map that is relatively large. I'd like to pick some semi-random points all over it (say N points). The rule I want to ensure here, though, is that any selected points are at least M ...
1
vote
0answers
5 views

Using a basic shader in libGDX

Looking at https://github.com/libgdx/libgdx/wiki/Shaders, I have decided to try these shaders: String vertexShader = "attribute vec4 a_position;\n"+ "uniform mat4 ...

15 30 50 per page