switched to visual studio. Contribute to andresfelipemendez/C-D3D11-Engine development by creating an account on GitHub.
First attempto at a ECS/DOD game engine developed with C and DirectX
Xuebing Du
Mike Driver
Cosimo Galluzzi

pixel skylines
he wasn't even looking at me and he found me

@theartofmadeline

shark vs the universe

JBB: An Artblog!

JVL

ellievsbear
Cosmic Funnies
Peter Solarz
art blog(derogatory)
Show & Tell
Sade Olutola
Acquired Stardust

roma★
Keni
Misplaced Lens Cap

Kiana Khansmith
seen from United States
seen from United States

seen from Belgium

seen from United States
seen from United States
seen from United States
seen from United States

seen from Egypt

seen from Netherlands
seen from Uzbekistan

seen from Mexico
seen from Uzbekistan

seen from Uzbekistan
seen from United States
seen from United States
seen from United States

seen from United States

seen from French Polynesia
seen from United States
seen from United States
@cleavergames
switched to visual studio. Contribute to andresfelipemendez/C-D3D11-Engine development by creating an account on GitHub.
First attempto at a ECS/DOD game engine developed with C and DirectX
how to add physics component to an entity programmatically
Because the physics collider of the dots physics package don’t implement IComponentData they can’t be added with the standard AdComponentData from the entity manager so this snippet demonstrates how to cimcumbert this by using a ComponentType array as some sort of archetype declaration.
EntityManager entityManager = World.DefaultGameObjectInjectionWorld.EntityManager; ComponentType[] componentTypes = new ComponentType[3]; componentTypes[0] = typeof(PhysicsCollider); componentTypes[1] = typeof(TranslationProxy); componentTypes[2] = typeof(RotationProxy); Entity entity = entityManager.CreateEntity(componentTypes); BlobAssetReference<Unity.Physics.Collider> spCollider = Unity.Physics.SphereCollider.Create(float3.zero, 2f); entityManager.AddComponentData(entity, new Translation { Value = float3.zero }); entityManager.AddComponentData(entity, new Rotation { Value = quaternion.identity }); entityManager.SetComponentData(entity, new PhysicsCollider { Value = spCollider });
Update a "code of vision" mesh in runtime
Coding Challenge #1: Open Frameworks
i remade the coding challenge from this video using OpenFrameworks https://www.youtube.com/watch?v=17WoOqgXsRM
now with procedural mesh generation too! i still don't know why it jumps when it have too many sides.
Here is the gist for the code, right now its using debug line, im working on the mesh generation gist here
Atlassian Bamboo and Unity Editor Tests
Here its how i configure bamboo to run unity through the command line and read the NUnit test results as valid input for the bamboo job
We run bamboo cloud and a dedicated computer as the agent with unity 5.3.3f1 installed.
First inside bamboo we need to specify what agent have unity, choose the agent that have unity installed and add a capability with the path where unity is installed.
Then inside a plan add a command task.
As the argument pass the unity command line options in my case it was
-batchmode -runEditorTests -projectPath ${bamboo.build.working.directory} -editorTestsResultFile ${bamboo.build.working.directory}
Note the bamboo variable ${bamboo.build.working.directory}, this is where bamboo checks out the code, we have the unity project at the root of the git repo.
I also output the NUnit test results file in the same folder for easy access in the next step, the NUnit Parser.
The file matcher with the wildcard automatically detect the test result file output in the same directory.
This is a preview with the current test.
And this are the same test inside unity in my development machine.
custom Assert
public class Assert : NUnit.Framework.Assert { public static void VertexAreVertical(Vector3[] vertices){ MeshInspector inspector = new MeshInspector (); Assert.IsTrue (inspector.VertexAreVertical (vertices)); } }
usage
[Test] public void VertexVerticalLinePass() { Vector3[] verticalVertex = { new Vector3 (0, 0, 0), new Vector3 (0, 1, 0) }; Assert.VertexAreVertical(verticalVertex); Vector3[] verticalVertexReverseOrder = { new Vector3 (0, 1, 0), new Vector3 (0, 0, 0) }; Assert.VertexAreVertical(verticalVertexReverseOrder); }
I created this video with the YouTube Video Editor (http://www.youtube.com/editor)
intuos 4 medium new into the workspace :D
a drone racing game am developing prototype, any feedback its welcome
scrolling normal map