A geometrical description of the part of that space occupied by the object, as determined by its external boundary – abstracting from location and orientation in space, size, and other properties such as colour, content, and material composition.
0
votes
2answers
122 views
games logic based on closed shapes
I would like to know the math concepts behind shape based games like http://www.miniclip.com/games/fat-slice/en/
To be specific, I would like to know on
how to model shapes programmatically
finding ...
4
votes
2answers
76 views
Making various shapes equally difficult to tap
I'm developing a game where the player quickly has to tap/click on various shapes such as squares, circles, triangles, stars and so on. I'm now struggling with the following task: I'm searching for a ...
0
votes
1answer
123 views
How to convert a silhouette to a blob?
Using ShapeShop you draw a silhouette and it converts the silhouette to a "blob", which gives a nice game character. Using 3DSMAX 2012 you draw a line and close the spine. How do you convert it to a ...
2
votes
2answers
75 views
Farseer Physics: How to create shape from Verticies?
As you can understand from the title, I'm pretty new to game development. I'm doing this for fun. Anyway here's my question. I have this Farseer Physics samples and I've been studying them for a few ...
0
votes
1answer
150 views
Custom VertexDeclaration for Color, Texture, Normal
What is the best way to create a VertexDeclaration, that makes it able to render a Shape consisting of vertices and also be able to store a color for the shape (in case the texture can't be rendered - ...
0
votes
1answer
811 views
Draw a line using libgdx ShapeRenderer() [closed]
Need to Draw 3x3 line for tic tac toe,
i started implementation but i stuck here
package com.me.mygdxgame;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import ...
0
votes
0answers
105 views
GameSalad | Draw lines and arcs
I'm new to GameSalad.
Can lines and arcs be drawn in GameSalad, respond to touch at a point, and be shrunk along their path?
2
votes
2answers
379 views
Blending textures together, texture fade over / fade in
What is the best way to render a texture overlapping effect?
Like in this example:
I want either the grass to fade in to the snow texture, or the other way around. No rough edges. Somehow make ...
1
vote
2answers
124 views
Texturize a shape of multiple triangles in 2D
This is an example of a shape consisting of multiple points, triangles and eventually a shape:
Red Dots = Vector3 (X, Y, Z) or Vector2 (X, Y)
If I have a Texture of a certain size, how do I ...
2
votes
2answers
165 views
Drawing multiple triangles at once isn't working
I'm trying to draw multiple triangles at once to make up a "shape". I have a class that has an array of VertexPositionColor, an array of Indexes (rendered by this Triangulation class):
...
1
vote
0answers
556 views
How to properly add texture to multi-fixture/shape b2Body
Hello to everyone this is my first poste here I hope that will be not fail start.
At start I must say I make part 1 in Ray's Tutorial "How To Make A Game Like Fruit Ninja With Box2D and Cocos2D". But ...
1
vote
1answer
648 views
AndEngine Physics: Shape rotating but not updating physics effects
I was looking at PhysicsExample from AndEngine's Examples. I made the following change that I added a vertical line shape and created a fixture for it. Then I registered a rotation modifier for that ...
0
votes
2answers
1k views
How do I draw a single Triangle with XNA and fill it with a Texture?
I'm trying to wrap my head around:
http://msdn.microsoft.com/en-us/library/bb196409.aspx
I'm trying to create a method in XNA that renders a single Triangle, then later make a method that takes a ...
1
vote
1answer
173 views
How do I draw shape distortion with a Texture2D in XNA?
Say I have a rectangular Texture2D object in XNA, and I draw it on the screen.
How can I animate it so it slowly changes to a trapezoid shape, and then to a pentagon, etc.
I have no idea what this ...
1
vote
1answer
337 views
Intersecting Ray with Extruded 2D Shapes (e.g. Extruded Text)
I'm looking for a way to find intersection between a ray and an extruded 2D shape or text (defied by a Bézier curve). Any ideas?
1
vote
3answers
3k views
Trying to create a sphere in UDK on which I can stand
Trying to build a globe in UDK, but when I do (create a sphere), my player falls straight through it. How do I make a sphere that I can walk on? Every other shape (cube, cone...etc) work just fine.
...
3
votes
3answers
3k views
XNA - Drawing 2D Primitives (Boxes) and Understanding Matrices in Computer Graphics
I have two issues which I wish to solve by creating 2D primitives in XNA.
In my game, I wish to have a "debug mode" which will draw a red box around all hitboxes in the game (Red outline, ...
0
votes
1answer
65 views
Shape editor with custom format?
I'm trying to determine what format the shapes in my 2D game should be stored in and also what software I should use to aid in making the actual shapes.
Up until now I used PhysicsEditor from ...
1
vote
1answer
347 views
Shapes and sprites in SVGs
I understand SGV images are used in 2D games to store shape data for the physics engine of the game. I'm unsure though, should the raster sprite also be stored in the SVG or should it be separate?
...
16
votes
3answers
1k views
Recognizing a hexagonal clickbox
I'm working on a game that is going to involve gasp hexagons.
At present, I have a hexagon image that I am using (all sides are the same length...it fits into a 50px by 50px image).
I am somewhat ...