I'm a beginner learning to draw with Autocad 2018. But drawing a house, I can't draw a door, a rectangle going up in Oz dimension. It's only allowed to draw in Oxy.
I tried turn on and off OSNAP (F3) but it did not work out.
Also I can't just draw a rectangle that starts from a line, it needs to be 2 lines.
Any help is appreciated. Thank you for your time.
I figured out:
You have to activate an option named "3d object snap". It's in the menu bar (bottom, farest to the right).
Related
I'm working on a project and I'm currently stuck at the GUI. I'm trying to make a bar like in the picture: a white circle is slowly filled up with beer but the beer image should move up instead of stretching, the image is squared because at every moment it should fill horizontally the white circle, but should not go outside the white circle.
I made the slider fill bottom to top, then assigned the beer image to the Fill area and set Preserv Aspect so it doesn't stretch, but I don't know how to go on. How do I proceed? Thanks in advance for the help.
How can I set a black color to the whole screen, excluding a shaperenderer circle? The circle is basically my game world, anything that leaves it shouldn't be visible. Is there some way to create a reverse circle pixmap (eg..A circle, but inverted) to overlay everything except for the circle game area? Or maybe a way to clear the screen, excluding parts? Thanks!
You could try the approach you mentioned in the comments. Using a black image with a circular hole in it. Then have each assigned to a different camera much in the same way you would set up a HUD in libgdx.
You might want to take a look at shaders, this approach is really flexible and lets you even control how rapid the transition is. Just the basics of GLSL should be sufficient.
https://www.youtube.com/watch?v=caQZKeAYgD8 Here's a decent tutorial.
I'm working on a small iPhone/iPad game with the Cocos2d framework. Basically the idea of the game is very simple, there a ball which is moving at a certain speed. The user can draw a line so that the ball bounces in the opposite direction.
Now I've already have the ball moving and the user can draw a line also. (When he draw a line it becomes a member of an array and dissapears a few seconds later.)
But the question is how to detect a collision between the ball and a line? The line doesn't need to be horizontal or vertical, it can be diagonal also. It all depends on how the user draws this line.
I've the coordinates of the line: see the answer to my previous question: CGRect with an angle
Can you guys point in me right direction?
Thanks in advance!
You can use box2d to detect collisions. Actually, if your ball and these lines will have bodies in b2World, you will be able not to check collisions by yourself. All changes, bounces, etc. physics will done for you. You will only have to synchronize object's view position (also you can synchronize angle) according to the position of it's body in physical world.
You can use the Pixel perfect collision so when ball and line collide it is not check the rect but it check the pixel collision...
in this forum you got that you want..
http://www.cocos2d-iphone.org/forum/topic/18522/page/3
I want to draw the track of mouse when it down and move. I think I can do it by get all NSPoints and draw those points, but I don't know how to draw a point on screen. please help me! Or what other method I can do to implement it?
These are not the droids you're looking for.
err ..
I mean: it is not points you want to draw.
Draw lines, from a point to the next. (and then, of course, from the next to the second next and so forth).
I am looking for simple library for Ruby that could help me drawing things on the screen. I am not developing a game, I just want to display some graphs, so I need to
draw circles on a certain position,
put a label on these circles,
being notified that circle XYZ has been selected (I want to know the circle, not the coords),
draw lines connecting circles' borders,
change the color of the these circles,
(optional) animate moving a circle from position (x1,y1) to (x2,y2) in X seconds,
(even more optional) zoom on part of this scene.
Do you know anything that could help me with this?
Check out the green_shoes gem. Here's an example of some code to get you started, too!