Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 13 of 16 1 2 11 12 13 14 15 16
Re: TUST or "The community library" [Re: PadMalcom] #425345
07/03/13 12:21
07/03/13 12:21
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Originally Posted By: PadMalcom
Looks nice and can be put into the GUI section. Do you already have access to the Hub?

EDIT: After a 3 days fight I implemented Voronoi Diagrams for the procedural part of TUST (my secret love). It can, for example, be used to generate random road networks for cities.



Really interested to read this! Where can I find the source of this (glanced over the github, couldnt find it easily)?

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: TUST or "The community library" [Re: Helghast] #425354
07/03/13 14:03
07/03/13 14:03
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hey helghast,

the algorithm can be found here:
http://www.skynet.ie/~sos/mapviewer/voronoi.php

Re: TUST or "The community library" [Re: PadMalcom] #425413
07/04/13 11:40
07/04/13 11:40
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
New string member for compact_menu module!

More info into TUST documentation.

Re: TUST or "The community library" [Re: txesmi] #426260
07/18/13 18:44
07/18/13 18:44
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
I added a little function timer module.

Re: TUST or "The community library" [Re: txesmi] #426859
07/30/13 21:10
07/30/13 21:10
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline OP
Expert
MasterQ32  Offline OP
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
I've reworked the usage of the character controller. It is now flexible and customizable. Some values are still hardcoded and docs are missing, but the
core system is stable.
The CCT is now detached from a specific entity and doesn't modify the camera, so it can be used for NPCs as well.

Usage for a simple third person player:
Code:
action player_func()
{
	// Allow only one player!
	if(proc_status(player_func) > 1)
	{
		error("Only one player can be active at a time!");
		return;
	}
	
	my->z += 8; // Lift player up a little to prevent falling through ground
	
	// Setup the camera
	cam_target(me); // Focus the player
	cam_mouse_speed(25); // Set a fast mouse.
	cam_basic_offset(vector(0, 0, 20)); // We want a camera focus a little bit above the player
	cam_3person_offset(vector(-250, -30, 0)); // We want to camera to be behind 
	cam_set_mode(CAMERA_THIRD_PERSON); // Enable third person camera
	
	// Setup the CCT
	CCT *cct = cct_create(my.x, vector(10, 16, 46));
	while(1)
	{
		cam_update(); // Update the camera each frame
		my->pan = camera->pan; // We sync the entity rotation with the camera
		
		// Setup the cct input
		cct_set_input(cct, CCT_FORWARD, key_w - key_s);
		cct_set_input(cct, CCT_SIDEWARD, key_a - key_d);
		cct_set_input(cct, CCT_JUMP, key_space);
		cct_set_input(cct, CCT_CRAWL, key_ctrl);
		cct_set_input(cct, CCT_SPRINT, key_shift);
		cct_set_rotation(cct, my->pan);
		cct_update(cct); // Update the character controller
		
		cct_get_position(cct, &my->x); // Get the position of the character
		
		wait(1);
	}
}


Last edited by MasterQ32; 07/30/13 21:11.

Visit my site: www.masterq32.de
Re: TUST or "The community library" [Re: MasterQ32] #426865
07/30/13 23:45
07/30/13 23:45
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline OP
Expert
MasterQ32  Offline OP
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
Added a simple animation system as well (has no support for blending atm, but i want to add this)


Visit my site: www.masterq32.de
Re: TUST or "The community library" [Re: MasterQ32] #426881
07/31/13 09:41
07/31/13 09:41
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Only one little bug left in the street generation: Intersections are created too close to each other. But that should not be a problem laugh


Re: TUST or "The community library" [Re: PadMalcom] #426884
07/31/13 10:30
07/31/13 10:30
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
it's really awesome, does it work only on flat surface, or on a random terrain too?


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: TUST or "The community library" [Re: sivan] #426889
07/31/13 10:58
07/31/13 10:58
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
The road network (each vertex) can be aligned to the ground so: yes.

Re: TUST or "The community library" [Re: PadMalcom] #426906
07/31/13 12:13
07/31/13 12:13
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
thanks, very cool. this TUST library is becoming a real treasure.

maybe in future some little demos could be made showing how to use it (road network, menu system, player control, effects etc.), demonstrating its power could convince people to use it.


Free world editor for 3D Gamestudio: MapBuilder Editor
Page 13 of 16 1 2 11 12 13 14 15 16

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1