MachManager is a Simulator, where you can build your own machining company

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles

Indev 1.2

News

In this version I added some new core features.

GUI:
It looks horrible but it works for now.
You can already use the buttons on the top to change the playspeed

UI


Object-placer:
With that you can place things on the floor. It works with a ray that is cast from the mouse position on the camera wich get checked if it hits the floor.

Objectplacer


Raytrack


Object-selecter:
Works with someting called AABB collistion detection. Wich uses the same ray as above to check if the ray is inside a defined box

Object Selecting


There is the code for it:

public static boolean calcselect(Vector3f lb, Vector3f rt){
	float t1 = (lb.x - camera.getPosition().x)*inverseRay.x;
	float t2 = (rt.x - camera.getPosition().x)*inverseRay.x;
	float t3 = (lb.y - camera.getPosition().y)*inverseRay.y;
	float t4 = (rt.y - camera.getPosition().y)*inverseRay.y;
	float t5 = (lb.z - camera.getPosition().z)*inverseRay.z;
	float t6 = (rt.z - camera.getPosition().z)*inverseRay.z;
		
	float tmin = Math.max(Math.max(Math.min(t1, t2), Math.min(t3, t4)), Math.min(t5, t6));
	float tmax = Math.min(Math.min(Math.max(t1, t2), Math.max(t3, t4)), Math.max(t5, t6));
		
	if(tmax < 0)return false;
	if(tmin > tmax)return false;
	return true;
}

Animation:
Animation was the biggest and hardest topic in this version.
I used the code from ThinMatrix as a base wich was already pretty complicated.

Animation


Ohers:
There are some other things going on.
- Logistic network has been rewritten and works now bugfree.
- Some redoing in the Entity-loader system.
- Workers are now rotating in the direction in wich they move.
- Some minor bugfixing

New Model:

CTX410 fin


Indev 1.3 Topics:
- Rooms
- AStar pathfinder
- Welding and sawing machines
- Machines spare jobs
- frustum culling
- some bugfixing and refactoring

Indev 1.1

Indev 1.1

News 2 comments

Biggest updates: Menu, Entity Loader, Jobcreator, Workers.

Indev 1.0

Indev 1.0

News

I just finished Indev 1.0, which contains the Production System.

Development States

Development States

News

I I thought about the development states of my game(inspired my minecraft)

Comments
hatsune-fan
hatsune-fan

cool game can i try it?

Reply Good karma Bad karma+2 votes
Thunderwork_Studio Creator
Thunderwork_Studio

Thank you, but no. Currently there just core mechanics implemented. You can't do anything at the moment.

Reply Good karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Twitter

Latest tweets from @alexkopf6

RT @tessamonash: The best part of the rigging process: T.co

Sep 13 2021

RT @NASASpaceflight: NASASpaceflight.com is 16 years old. 🥳 I'm extremely grateful for our amazing team involved with the site and… T.co

Mar 28 2021

RT @jasonrdavis: T.co

Mar 19 2021

RT @SheepItRF: We have enabled a new Shepherd in Spain, european artists will have 3TB more to play with. If you have a spare serv… T.co

Nov 19 2020

RT @ThinMatrix: Sorry I've been gone so long without any updates; health worries and other personal issues took over my life for a… T.co

Nov 11 2020

RT @_AncientCities: Crowdfunding is over! Now we will start the release of the first batch of Steam keys for the highest pledge tiers.

Jul 17 2020