Most voted "2d" questions
2D is a space formed by two dimensions (height and width) being flat in its essence.
Learn more…13 questions
Sort by count of
-
4
votes2
answers1010
views -
3
votes2
answers1124
viewsc# - Unity - Error: Object Reference not set to an instance of an Object
I’m a beginner in C#programming, and I’m trying to learn how to make a 2d sidescroller game, but I couldn’t move forward from a part of the tutorial. This is because the camera simply doesn’t follow…
-
3
votes1
answer1337
viewsHow to move and rotate where the mouse click is?
I created a script in which my character moves through click of mouse but there’s a problem: it’s not spinning in position Y, this is the condition I had to create for it to Rotacione on the axis X:…
-
2
votes1
answer77
viewsHTML5 2D game webgl?
I am aware that a lot of the 3D game engines for HTML5 use Webgl technology, but I had a question when it comes to 2D. Some 2D game engines for HTML5 reference the functions gl_xxx, IE, use GPU…
-
2
votes1
answer86
viewsHow to create a 2d animation like a video, vignette or cutscene
Hello, I would like to know how to best create a complex animation in HTML5 / Javascript. By complex animation I mean non-cyclic animation as usually shown in tutorials. I need to create an…
-
1
votes0
answers584
viewsMove an object in the direction of the "onmousemove"
I’m trying to move an object in the direction where the person presses the screen, moves and then lets go. I tried to use some loops for (was the only thing I thought of) but without success. [if…
-
1
votes0
answers714
viewsDrawing lines in 2D unity3D mode
I am developing a 2D game and would like to draw the trajectory of the launch of an object. But I’m new to unity3D (the goal of the game is to gain experience on the platform), I know what I need to…
-
1
votes2
answers494
viewsHow to calculate the Xmin,Xmax,Ymin,Ymax of an object?
I’m playing a simple game like "space Invaders" in Opengl and in the part of the collisions need to calculate the minimum and maximum X and Y values, but I still can’t figure out how to do this.…
-
0
votes1
answer387
viewsDrawing through a . txt
I have a big question about how to pass the data from the Quivo2D milking method to the hairX and Hairy variables, in the Quivo2D milking it goes through a file populating vx and Vy with the values…
-
0
votes1
answer513
viewsHow to use Tiles in Unity 5?
I’m in big trouble. I’m doing a role-playing game and using tilesets with the 32x32-dimensional Tiles for all of the game’s graphics, but Unity doesn’t support tilemaps. I’ve looked for plugins and…
-
0
votes1
answer197
viewspush_back in Vector 2D, emitting error "no matching Function for call"
I’m a beginner in C++ programming, so I apologize in advance. As this question answered here, it is possible to use std::vector, 2D (grid) with push_back() directly (variavel[indice].push_back(...))…
-
0
votes0
answers93
viewsCreating 2d board with images
Hello, I am creating a board game2d with Js/html/CSS, With the code below I can make each div’s text move across the board, but I can’t make those pieces images... In the codepen below you can see…
-
0
votes1
answer268
viewsError using Jplay framework for games!
Hello, I am trying to program in java with the Jplay framework, and I am finding an error that was non-existent on another pc that I had. The error step is found in this video lesson:…