Willkommen auf 3D-Game und Grafikdesine ! 100% Kostenlos ->Keine Sternchen , Keine versteckten Kosten ! Trete uns bei !

Das Game!

So , nun fange ich an zu Programmieren , heute am 6. Juli 2010 !

2.tag: Wenn man jetzt das programm startet sieht man das : Klicke Hier um das ganze bild zu sehen


3.Tag: Heute nehme ich die Sichtkamera Seuterung mit der Maus in Angriff!Auch wieder mit DirectInput. Desweiteren werde ich heute noch einen Marktplatz einrichten mit Ständen und Nahrung


# import  <3D_gamebasicdef.h>
using OpenGL //oder DirectX(9.c)

basic_script() {
        new_skybox; {

                in (new1_img:url(skytex.png));
                use (right,left,up,down);
                in (newd_img:url(skydown.png);,newl_img:url(skyleft.png);,newr_img:url(skyr.png););

        analyze == new_skybox; }

        new_terrain; {

                local_tga <! in (new2_img:url(gras.tga));
                terrain_location (terrainwight(10000); terrainhight(10000);)
                use (geometry_files[.obj , .daz3 , .tr7 , .txt /* ... */ ];

                        if (use (geometry_files) )
                                <!==  set (geometry_objectcordinats);

        analyze == new_terrain;}


        new_water; {

                local_tga <! in (new3_img:url(wasserohnematrix.png) );
                local_matrixanim <! in (new4_matrix:url(wassermatrix.anim) ) ;

                        if (use (new_water {script.app:=basic_script()}); ); )
                                <!== set (new_cordinates <!terrain {
                                                                   X(); , Y() ; , Z(-10);  } );

                        else ( use ( $userdef_cordaintes)
                                <! in (new_geometry { X(); , Y() ; , Z();  } );

        analyze == new_water; }




        new_particles; {

                use (pixel shadder 2.0 [inlay_trueparticles ]);
                in ( new4_img:url(grauepartikel.png));

                        if ( use (new4_img); )
                                <! set (global_img[$userdef]):

                        else ( set (global_tgacolor (#FFFFFF); )


        analyze == new_particles;   }


        new_movement; {

                use (global_cameramove);

                        if ( use ( global_cameramove ); )
                                <!== move ( global_camera ); {
                                      set ( movement_cordinats = ( X(0); , Y(0); , Z(0); ); ); }
        analyze == new_movement; }


        new_light; {

use ( new_terrain )
create ( new001_img:url( use "$userdef";) );
overlay ( new002_color #FFFFFF ( transperent:20% ); );

use ( $userdef ( wight="$userdef" hight="$userdef" );
analyze == new_light; }


basic_script ( return ( 5.3Dg ) files );

[ .3Dg ] fileoutput {

                        if (fileoutput)
                                create ( new_[ .3Dg ] { set ( [ 5 .3Dg]
                                         new_$system_basic_script);
                                         analyze_systems <!== .3Dg});

                        else ( create ( windows.app { create
( new_massagebox ~ "Wasn't able to run / Konnte nicht gestartet werden"; ); } ); )


save; { create ( new_file { save_as [ .exe , .3Dg ] } );

                                if ( save_as )
                                        use ( $userdef_option( [.3Dg , .exe ] ); }


open; { use ( $userdef saved_file);
                == in ( [ . 3Dg , .exe | files); }




$default_system  new_Orcus                            
{ 

#define INTERFACE    in ( new003_img:url(.png);   
                     use ( INTERFACE ( overlay ($default_system) ) );



  new_interface   {  use ( INTERFACE );  create ( new003_img:url(.jpg) ( ?place { top:100px; padding-left:1000px; padding-right:0px; } ) );  }              }; 

/*9.Juli 2010 gehts weiter*/

inlay new_terrain;

inlay new_skybox

inlay new_water;

inlay new_light;

inlay new_particles;

inlay new_movement;


new_object'Player' { in ( data_import[ .obj , .anim ] :...3DGameneuerordnerspieler1.obj  );

                     use ( new_movement { create ( new_keys ( "W" ) == go_camera(new cordinats -> camera(X) move (X) #FRONTWART;       if ( use new_keys "W" )
                           
in ( data_import[ .obj , .anim ] :...3DGameneuerordnerspielergreade.anim  );

                      
new_keys ( "A" ) == go_camera(new cordinats -> camera(X) move (X)  if (onclick="A"));  turn_camera #LEFT;
if ( use new_keys "A" )
                           
in ( data_import[ .obj , .anim ] :...3DGameneuerordnerspielerlinks.anim  );
                     

new_keys ( "D" ) == go_camera(new cordinats -> camera(X) move (X)   if ( onclick= "D")

                                                                                            turn_camera #RIGHT;
  if ( use new_keys "D" )
                           
in ( data_import[ .obj , .anim ] :...3DGameneuerordnerspielerrechts.anim );

                                           new_keys ( "S" ) == go_camera(new cordinats -> camera(X) move (X) #BACKWART; 
  if ( use new_keys "S" )
                           
in ( data_import[ .obj , .anim ] :...3DGameneuerordnerspielerzurueck.anim  );

      DirectInput (connect to Hardware)#include <DirectInput.h>;
/* 3.Tag */
        use ( new_movement ( DirectInput (connect to Hardware)#include <DirectInput.h>; ) );
                             use ( Mouse_Accept { if ( rorate ( mouse ) ); 
                                                  create ( new_camera position )
                                                   while ( #include <cameramove.h> ) 
}



 
Sie sind heute der 19561 Besucher auf 3D-Desine.de.tl
Diese Webseite wurde kostenlos mit Homepage-Baukasten.de erstellt. Willst du auch eine eigene Webseite?
Gratis anmelden