0
votes
1answer
14 views

How do I use playerprefs to make ui slider keep the sound settings?

I have not use playerprefs before, I want to know how to keep the change of the audio when the player change it throughout the game.
-4
votes
0answers
31 views

Need ideas for a space game [on hold]

I am Tyler and I am 17 years old. I have been learning C++ over the last few months and I am also working on creating a game that i hope will rival already established space MMOs one day such as ...
1
vote
1answer
45 views

Adventure Games - When and how to start mapping?

I've created a playable oblique-styled adventure game in HTML5, using Tiled for tilemapping. I have a storyline set up, and am ready to make my final draft map. The game world will be loosely based ...
0
votes
1answer
13 views

Error BCE0043,BCE0044 and UCE001

I got my code right here: #pragma strict var hSliderValue : float = 0.0; function OnGUI(){ hSliderValue = GUI.HorizontalSlider (Rect (25, 25, 100, 30),hSliderValue, 00, 1.0); ...
0
votes
1answer
14 views

zoom, scale, pan etc in an application and printing

I have a C# windows application where I display photos for editing. The displayed image is scaled to fit the screen. I allow pan, zoom, rotate, crop operations. Once the editing is done, I would like ...
0
votes
1answer
18 views

How do i make an idle-styled counter in Javascript & HTML

I just started making a basic game in HTML, CSS, Javascript, and JQuery, but I want to have the money add up after a certain amount of time (if you have ever played an idle game, you'd know what i ...
1
vote
1answer
20 views

Function messages wont send when identical conditions will message to activate another function

So in working with my game, there aren't any syntax or compile errors, but there's this one bug that I've been working on to fix for a few days on and off and I can't seem to make heads or tails of ...
1
vote
1answer
47 views

LOVE Physics - Breaking Joint Chains (LUA / Box2D)

Wasn't sure whether to post here or on SO so please move if needed. I've been having a look into the box2D physics API provided by LOVE to try and create a swinging flail or weighted rope but I'm ...
0
votes
0answers
19 views

What's the implication of right-handedness when building camera to world matrix?

I found these slides which go through the viewing transform in what I think is a easy way. However, I have hard time understanding two thigs: What would be the implication of using a right-hand ...
1
vote
3answers
56 views

In Unity, how do I make separate mute buttons for sound-effects and music?

I'd like to have a button to mute game sounds and another to stop the game music. How can I do this?
0
votes
0answers
17 views

TiledMap blocks makes Animation invisible

////////////////////////////////////////////////////////////////////////////////// Got it fixed. Thanks to anyone who tried to help me. New Code: mapManager.render(); ...
0
votes
0answers
9 views

video drm plugin for unity or unreal [on hold]

Im looking for drm plugin's for video playback of drm protected content. Im wanting to build a virtual movie theater for oculus rift and Im stuck on the drm portion for streaming content thats been ...
-1
votes
0answers
8 views

The best tween Engine for as3isolib base game [on hold]

I am working with as3isolib for my game and I wish to use a tween engine to add some life to my objects. There are many engine out there which make it hard for me to decide which one should I use. I ...
-4
votes
0answers
42 views

Noob question about programming, help [on hold]

my name is Vitor Leal and I want to be a programmer, or better, a game developer. So I'm very confused because I don't know what programming language should I know first. Some people say to learn C++ ...
2
votes
1answer
25 views

How can I repeat a Texture Region in libGDX

I have a texture that is part of a sprite sheet. I want draw the texture to cover a certain length, but I want it to repeat not stretch. However,when I use the following code batch.draw(hillBottom, ...
1
vote
1answer
32 views

Is the statement in Scratchapixel about transforming points correct?

I am reading this lesson from scratchapixel. To my understanding (and the example given in the same website) M is the matrix that transforms from local to world. Giong through the paragraph before ...
2
votes
1answer
41 views

Causes of Scene Build File Size Bloat in Unity

We are developing racing game for android and iOS. Our problem is final game build size is getting more than 100+ mb. So here is what we tried, to reduce it by compressing textures. ...
4
votes
1answer
150 views

LibGDX input y-axis flipped

I'm writing a game in Java for Android using LibGDX, and I connected my phone so I can test it on it. I know that LibGDX's render system works different than regular Java systems since the 0,0 ...
-3
votes
0answers
30 views

How To Detect Collision With Coins [on hold]

I want to know how to give the player plus 1 point every time the player collides with that a certain object. Every time the object is collided with, it will at on to the previous amount. Example: if ...
1
vote
2answers
61 views

In Unity, how do I move my character to an object when I click on it?

Basic question here, and I feel like I'm close but can't quite get it. I have an object--it's a pot on a stove--that is in my 2D game. There will be multiple pots that appear and disappear in the ...
0
votes
0answers
38 views

Unity3D 5.1 UI messed up

Within my canvas I have 2 panels. One has buttons in it and the other has text (description of the pressed button). Text is very blurry and when i press play the alignment of the objects is always ...
1
vote
2answers
32 views

Applicaton.ExternalEval(String script)

I was wondering, if Application.ExternalEval(String script); in Unity3D can return something. Like:String playerName = Application.ExternalEval("prompt("Please enter your name", "player1")"); Thank ...
0
votes
3answers
69 views

Grid Programming: Selecting a tile returns a negative coordinates

Let me explain what I am doing here. I created a class template named as PlayField where T is the type of the GridObject. I wrote this class using Cocos2dx. The point of this class is to make it easy ...
-1
votes
0answers
30 views

Level Backgrounds [duplicate]

I'm developing a game using libGDX but am still new, especially when it comes to designing sprites etc. So far for my sprites I've used only GIMP. However, for my game I also need different level ...
0
votes
0answers
17 views

Add Atten property in Unity Shaderlab

In Unity Shaderlab shader, Is there any way to apply _Atten value? Using surface shader, and vertex/fragment shader I can do it easily. But, I didn't find any reference to do that in Shaderlab ...
0
votes
0answers
14 views

Filling the viewport area of a orthographic camera with an image (libgdx)

So im trying to get the whole area of the viewport and then use the coordinates to draw images in the camera's viewport. So if the camera moves I can fill it with one image the length and the width of ...
-3
votes
0answers
112 views

How supercell(Clash of clan) convert 3d animation into 2d spirits [on hold]

I wonder what software they use for this? Do they cut some animation scene for high performance
0
votes
0answers
30 views

How should I go about scripting voxel behavior?

I'm trying to add scripting to my voxel application. The scripts are meant to define blocks and their behaviors. However, this also means I must have unique data for each block since the script is ...
0
votes
0answers
19 views

Odd behavior in Unity 5.1 2d project prefabs

I am very worried something is corrupt in my project. I am making a 2d top-down rogue-like and am currently using prefabs to generate enemies from. I have started running into an issue where I get a ...
0
votes
0answers
14 views

I only have experience with Flash/AS3. What should I develop a game with? [on hold]

I only have experience with making games in AS3/Flash. The reason I ended up with this experience is because I started off as an animator. I love being able to animate everything on a Flash timeline ...
-1
votes
1answer
21 views

Is there a way to assign resource into a variable in the inspector programmatically?

I want to add resource to an inspector directly which could be done by drag and drop resource to the inspector. However, I want to know if there's a programmatic way to do this so, I will not need to ...
0
votes
1answer
24 views

Unity - PoolingSystem failing to instantiate

I am wanting to spawn monsters into my scene in Unity. I was told to use a Pooling System, so I got the free one Unity offers in the Asset store. I have followed the little documentation that there ...
1
vote
0answers
29 views

Efficient Collision detection for polygons (fleet) in an RTS

I'm trying to make an RTS for android using libgdx. I would like to have collision detection to be able to detect ships inside the range of weapons and collision between my bullets and the ships. So ...
1
vote
2answers
43 views

How to make sure that when two bodies collide, there is only one collision detection on box2d?

I'm using LibGDX with box2d, and when to bodies collide collision is detected multiple times. here's the code `public void preSolve(Contact contact, Manifold oldManifold) { Body a = ...
0
votes
1answer
23 views

Updating object positions after screen moves. Is there a better way?

I am making a top down 2D shooter using SDL2 for fun and I ran into a problem. I have a whole list of enemies each with their position on the screen stored in an array. Now you only see a portion of ...
0
votes
0answers
56 views

Should an Entity own its components? [on hold]

I have an Entity component system(ECS) set up. I store the components as void*, and based on what component it is, it has to have a given base class. For example: A "Renderable_deferred" component is ...
0
votes
1answer
82 views

What is the correct approach to implement multiplayer in a game? [duplicate]

I'm developing a game and it is intended to be a multiplayer game. I have experience in writing servers and clients in Java, but the game is written in C++. The server will be written in Java for ...
0
votes
1answer
20 views

How do you set multiple collision rules with Swift and SpriteKit?

So basically I've got 2 types of balls and 2 types of enemies. Green can delete red only, red can hit delete only. Here's what I have for the first collision test: func didBeginContact(contact: ...
0
votes
0answers
23 views

Can names of abilities or spells within a game be trademarked/copyright? [duplicate]

Okay, say I want to create an RPG similar to and takes inspiration from such games as Final Fantasy, The Elder Scrolls, Shin Megami Tensei, Pokemon, etc. and I would like to use familiar names in some ...
0
votes
0answers
26 views

Issue with texture mapping on a spehre using opgengl es 2.0

I have a problem to calculate the right UV coordinates. I'm calculating the sphere by subdivate a ocathdron. What did I do wrong? Calculate UV Points for the texture: private ...
1
vote
0answers
14 views

Implementing Separating Axis Theorem to Detect and Handle Sliding Collisions

I am having a bit of difficulty detecting collisions properly with separating axis theorem. My code seems to be giving a lot of false alarms. Also, I've looked into implementing sliding collisions ...
0
votes
2answers
33 views

UI button not working

Every time I try to click on the button, nothing happens. I am linking some picks to help everyone answer my question. I have added a event system. I have a canvas. The button is set to interactable. ...
1
vote
1answer
31 views

Environment mapping - cube mapping using OpenGL

I'm trying to do cube mapping. Problem is that I'm getting this: This is what I get when I rotate it: But it should look like this Here is code for vertex shader varying vec2 tex_coord; void ...
2
votes
2answers
28 views

Detect collision that happen between frames, between slices of moving, rotating circles?

To detect a collision between two circles, we check if the distance between their centers is smaller than the sum of their radii. To detect a collision between a slice (in this case half) of a circle ...
1
vote
3answers
80 views

How can I store a large amount of items in a space-efficient manner?

How can I store a large amount of items inside my game? Are each of the items default data be loaded from a file into an item class and then stored in a giant array/list/dictionary? For a point of ...
0
votes
0answers
41 views

How to achieve Anisotropic filtering x16?

I'm using directx and I've achieved x1 anisotropic filtering, however regardless of the maxanisotropy value I set, it's still only x1. If someone could help me figure it out i'd greatly appreciate it. ...
0
votes
0answers
9 views

Game development inside Android Studio? [on hold]

This is a question for common knowledge and not for code. The question is: Can you build a game inside Android Studio and, if not, what are some recommendations for a IDE where you can?
2
votes
1answer
62 views

GLSL 330 Core Bug? - Uniform variable will not set to value if it is named a certain way

In the code below I have a uniform variable named "vw_matrix" used in the calculation for gl_Position. When I run my program, a rectangle gets printed to the screen. #version 330 core layout ...
0
votes
2answers
48 views

Popular licensed music on my game, where to start? [on hold]

So lets say I want to use popular bands' music in my game (Metallica as a silly example), do each band/label manage this issues differently? Or there is a way to pay a certain fee for certain track ...
2
votes
3answers
112 views

How do game engines mitigate CPU cost for many trigger zones & entities? [on hold]

It's a rather simple question, but a somewhat fundamental in computing in general. Let's say we have a player controlled character in an open world. The world is large. In this game-world we have a ...

15 30 50 per page