All Questions
0
votes
0answers
14 views
How can I make a decent story for a gameworld that multiple players share? [on hold]
I'm in a game design class, and we have to come up with a game concept to eventually turn into a full game design document. I came up with an idea for a sort of MMO-esqe game. My problem is that I ...
0
votes
0answers
17 views
Checking collisions in 2D isometric tower defense game?
I am working on LibGdx framework for developing a 2D isometric tower defense game.All my sprites are drawn in 2D isometric view.
I have used an array list to store 8 points at boundary in the ...
1
vote
1answer
12 views
In Unity, how do I find which frame an animation is currently on?
I have a GameObject "enemy" with an Animator and several states, like "idle", "walk", and "attack".
I want to activate the "hitbox" when an animation "attack" starts. The problems is that the sword ...
0
votes
0answers
15 views
Rotation how to
In a roll-a-ball game, how to make a already"follower" Cube, to follow a "target" empty game obj, being this one a "child from the ball? So the Cube`s face always follow the rotation from the sphere.
0
votes
0answers
12 views
From were should I start [on hold]
How can I develop games??? By using knowledge of c#,asp.net,java.. I need to know which are the basic steps to develop a game & by which language I can develop a game as a starter.
0
votes
0answers
17 views
3D model exported from Maya behaving weirdly
I have some 3-4 3D character models which are claimed to be exported with the same configuration from Maya by the 3d designers. Now, some of the models(animations) is working fine in Humanoid settings ...
0
votes
0answers
34 views
Copying a successful game [duplicate]
Is it allowed to remake a game, if nothing is taken from a game except what we can see? Let's say I want to remake an old Super Mario game. What if I open up paint and try to draw everything like ...
0
votes
0answers
17 views
Invalid GLSL on some machines
I'm writing a game engine using OpenGL 4.3 using gcc 5, mainly to teach myself graphics programming.
Initial development was on my Surface Pro 3 using mingw-w64 and worked like a charm.
I've decided ...
1
vote
1answer
27 views
Transform.LookAt rotates the sprite and collision not triggering
I've applied the below script to a gun object to instantiate bullets to the direction of the mouse position.
The bullet collision is not getting triggered since the bullet has been rotated.
How to ...
0
votes
1answer
35 views
Why am i having major performance issues in my render method, Slick 2D?
I'm making a game using slick 2D and I was just testing a new method which got a sprite from a sprite sheet. While rendering 1 tile was fine at about 3000fps, filling the whole screen made the game ...
-3
votes
2answers
102 views
How can I make 2D games like shovel knight? [on hold]
To make 2D games like shovel knight, do I need specific software? Would this be possible to achieve in Unity or would I have to use something else?
0
votes
0answers
17 views
Drag and Flick Objects to any position (Unity3D)
In unity, I have several boxes in one cluster. I want the user to be able to move any of these boxes to any position that they desire in the app, and have it stay there until they move it again. Also, ...
1
vote
1answer
32 views
In JavaScript, should I write a game loop for a turn-based game?
I am using javascript and HTML5 canvas for turn-based games (e.g., checkers, mastermind, minesweeper).
Should I write a fixed-timestep game loop? What are the alternatives?
2
votes
0answers
11 views
Pre-existing voxel tools/libraries for Java [on hold]
I want to do some development using voxel data as well as rendering it. My interest is more in the project its self, rather then things like working out rendering optimization techniques and working ...
0
votes
0answers
14 views
Fixing strange artifacts in an HQX shader
I'm having an issue implementing an HQX filter that I found in the LibRetro GitHub repository.
LUT texture was obtained here
Shader file was obtained here (I converted it to compile in MonoGame with ...
0
votes
1answer
34 views
Building a simple bomberman game with Node.js and Socket.io
I'm building this game mostly because I want to experiment with Node.js and Socket.io, and the game is more like a proof of concept.
To start with, I have a 2D grid system as the game map.
...
0
votes
0answers
14 views
Console Invoke from Lua
Is there any possible way I can invoke the console with lua? The documentation for cryengine lua functions isn't very helpful.
-1
votes
1answer
17 views
Rolling Out Updates
I want to create a PC, First Person Shooter game, using unreal engine 4 (the latest release at the moment, I'm not sure exactly which name wise). I'm not quite far yet, but a question occurred to me. ...
0
votes
0answers
8 views
SFML 2.0 (c++) similar equivalent for android [on hold]
What is the best 2D graphics framework like a sfml 2.0 for android especially android studio? For beginner
0
votes
1answer
19 views
What determines the hit detection ordering for graphic elements in Unity (2d game)?
I have a bunch of overlapping buttons spread across several UI Canvases. The default mouse behaviour only registers hover/click events with one of the overlapping buttons, which is ideal for my ...
1
vote
1answer
41 views
How to remove voxel lights with Minecraft-style algorithm?
I am making a voxel game. I have researched lighting techniques, and the minecraft-style algorithm appears the most efficient. When blocks are placed, they are marked for update. The engine performs a ...
0
votes
1answer
18 views
Corona SDK, do I need to pay for it?
I'm a single dev making simple mobile games. I was looking at corona sdk for my next project. I don't understand what the difference between the paid version and the free version is. It seems that ...
1
vote
1answer
26 views
If IDXGISwapChain::Present blocks, does that mean I'm GPU bound?
I updated my DirectX11 renderer to render on multiple threads using deferred contexts. Before my change, the Present method took a negligible amount of time (according to VTune analysis). After my ...
0
votes
0answers
27 views
Set up Xcode for tutorials from learnopengl.com
I want to do the tutorials from learnopengl.com, they seem really great and well documented. I only have problems getting started since the creator is on windows with Visual Studio and i'm on a Mac ...
0
votes
0answers
11 views
Unity - Linecast position is weird
I have the following line in the controller of my GameObject
Vector2 start = transform.position;
Vector2 end = transform.position;
end.x += 40;
Debug.DrawLine (start, end, Color.red);
...
0
votes
1answer
27 views
Where should I cast new bullets? [on hold]
Should I
Cast new bullets from my Weapon class, which would test a flag when its updated that tells if mouse left is down, which is set by Input class
Cast new bullets from my Input class, which ...
0
votes
0answers
33 views
Selecting Dictionary item based on custom classes instead of keys
I am attempting to write my own path finding code for a game I'm working on that will implement a form of the A* algorithm. I store my nodes of the path finding system as a class called nodes and add ...
0
votes
0answers
17 views
Looking for c++ Asteroids source, using opengl, linux [on hold]
I am truly a beginner WRT games (over 60) and I know c++ (mostly) and Linux. I have been searching for the source code for an Asteroids clone that compiles on Linux. As opposed to using Allegro5 or ...
0
votes
0answers
25 views
Is this a good way to “get rid of the sprite shakes” for my sprites that “target” other sprites? (XNA)
I'm relatively new to XNA, but very proficient with C#. I want to know if this is the best way to solve the sprite shaking problem. I had a sprite class that can target a place/other sprite on the map ...
1
vote
1answer
41 views
Unity3D - generating a set of rooms (scenes) and saving them
I'm having a problem wrapping my head around scenario like this.
Say I've got a scene called Room. Now, my game procedurally generates content of each room. Entering a new room to see new content, ...
0
votes
1answer
29 views
Check if .dds texture is gamma-corrected
How can I check if .dds texture is gamma-corrected? It seems to be gamma-corrected since after manual gamma correction in fragment shader image is too bright. But I wanted to be sure.
0
votes
0answers
18 views
How to map opengl 'canvas' to resolution
I am playing gomobile - framework that allows to generate mobile applications in go language. It uses opengl to draw on screen.
This is first time I get involved with opengl.
In my mobile device, I ...
0
votes
0answers
6 views
Physics Body editor loader collision detect
In my game I use the Physics Body Editor to add custom shapes to my bodies. In my show() method I use the follownig code to create my Jetski Body:
BodyDef jetskiDef = new BodyDef();
...
1
vote
0answers
21 views
How can I efficiently render to multiple screens?
I know XNA is long dead, but I need it to update an old project. (I would have ported to MonoGame, but can't get multi-monitor support in it.)
My game does the following:
Wait for some objects ...
1
vote
1answer
14 views
matrix transformations 2D - place in world-space but keep size in “object/screen-space”
I have a question concerning matrix transformations. I Think I know how it could be done, but Im not sure its the best/correct way to do it.
I want to apply World translations and rotation to an ...
2
votes
3answers
107 views
What is the most appropriate path-finding solution for a very large proceduraly generated environment?
I have been reading quite a bit in order to make the following choice: which path-finding solution should one implement in a game where the world proceduraly generated, of really large dimensions?
...
0
votes
0answers
11 views
libgdx FollowPath proper usage
I'm developing top-down rpg game and got some problems using https://libgdx.badlogicgames.com/gdx-ai/docs/com/badlogic/gdx/ai/steer/behaviors/FollowPath.html
I have a path (picture 1), in this case 2 ...
2
votes
0answers
66 views
How do I create a draggable object which snaps to obstacles in the way?
I bring yet-another-drag-with-mouse question (I am using Unity with C#), but with a less common particular detail: the existence of obstacles in the middle of the way trough which dragging occurs (3D ...
1
vote
1answer
49 views
How to not render what is behind object?
I am working on a 3d project using openGL. I am looking for a way to optimize my renderings.
Is there a way to tell if an object is behind another object and thus not visible to not waste time ...
0
votes
1answer
40 views
How do I move a sprite with out the sprite leaving a trail?
NEW IMAGE NO SPRITE WITH :
if(q>=15){
screen.clear(0);
screen.render(Art.sprites[i][0], 20 , cx);
i++;
movement();
cx+=1;
if(i>=3)i=0;
...
-4
votes
0answers
31 views
Where do I start? [on hold]
I haven't programmed a thing in my life, and game maker doesn't work for me what should I do, and which engine should I use and who can help me?
2
votes
1answer
27 views
Applying the input for the always-moving player in the multiplayer game
I've read several articles published on gambrielgambetta.com, gafferongames.com plus some pages about how Valve handles multiplayer networking in its games but I still can't get it how to implement ...
-1
votes
4answers
68 views
How do I implement an item that can hold other items?
I'm attempting to implement a "Storage Item" into my game. But I'm having trouble planning out how it would work. I already have an Inventory System made, but this Storage Item is giving me trouble.
...
-5
votes
0answers
36 views
Best Route To Take? [on hold]
I'm contracting a company to build a replica of an online MMO with modern features and they want me to detail out exactly what I want them to do. What is the best route for me to take to do that? ...
0
votes
0answers
14 views
How to set up Cocos2d-x for visual studio?
I want to make a cocos2d-x game. I read you can use any IDE, so I was planning to use Microsoft Visual Studio 2015, since I want to make my game primarily for Windows. I have been searching for ...
-2
votes
1answer
77 views
Why is my delta time constantly under 1 millisecond?
I have a game loop that looks like this:
while (Sync())
{
DoStuff();
}
The sync function computers my delta time like this:
bool Sync()
{
EndTime = GetTime();
DeltaTime = (EndTime - ...
0
votes
0answers
36 views
OpenGL + SDL World Editor
I've been using SDL and OpenGL 3 to develop my game engine and the time to make a world editor came around. I saw something about QT but it won't work with SDL and I don't want to get rid of it, maybe ...
0
votes
2answers
33 views
Slingshot gravity effect
I am trying to make a sling-shot that fires a projectile. I want it to act like the standard sling-shot in angry birds.
So far I managed to get the "pulling" effect, ie. If I draw backwards it fires ...
0
votes
0answers
20 views
Unity Parallax Strange Effect
I follow this Parallaxing Tutorial: https://www.youtube.com/watch?v=5E5_Fquw7BM for create a Parallax in Unity.
I created a custom Script for my GameObjects like this (EDIT: this is in the Update ...
0
votes
0answers
17 views
3D Player/Character velocity/acceleration/friction/movement
I'm in a bit of a pickle and I'd sincerely like anybody's help. I'm working on a 3D platformer similar to Crash Bandicoot and I'm a little bit confused on how to set up the velocity and acceleration.
...