Jump to content

Raul

Members
  • Posts

    253
  • Joined

  • Last visited

Posts posted by Raul

  1. I have a file on desktop with 0 kb length.

    If I want to delete it I receive the "Could not find this item" error.

     

    I made on my hdd another file with the same name and extension and copy on desktop. Another file appear. So I have two with the same name :).. Anyway do you have a solution for this? I really want to delete the first one from my desk..

     

    Thanks

  2. My "experience" about STEAM and other portals/digital distribution sites:

     

    After I finished RVL Hacker, I mailed them to present my game. No email. I waited like 30 days then another mail. Same result.

    Talking with other indies I understand that they receive like 1400 mail per day from indies. Not all the games sent to them are even finished so its very hard to send replys.

     

    What I want to say is that is very hard to be observed. You MUST make something NEW and innovator (as indie) to have success.

  3. Also here is the code for the "player":

     

    It's nothing special. :)

     

    CreatePlayer + UpdatePlayer:

    void cPlayer::CreatePlayer()
    {
    //controller
    PlayerController=CreateController(1.8,0.45,0.3,46);
    EntityType(PlayerController,1);
    SetBodyMass(PlayerController,100);
    }
    
    void cPlayer::UpdatePlayer()
    {
    //rotation
    gx = GraphicsWidth()/2;
    gy = GraphicsHeight()/2;
    dx = Curve((MouseX()-gx)/4.0,dx,3.0/AppSpeed());
    dy = Curve((MouseY()-gy)/4.0,dy,3.0/AppSpeed());
    MoveMouse(gx,gy);
    CameraPitch = CameraPitch + dy;
    CameraYaw = CameraYaw - dx;
    CameraPitch=Clamp(CameraPitch,-89,89);
    PlayerRotation.X  = CameraPitch;
    PlayerRotation.Y  = CameraYaw;
    
    //movement
    PlayerMove=KeyDown(KEY_W)-KeyDown(KEY_S);
    PlayerStrafe=KeyDown(KEY_D)-KeyDown(KEY_A);
    
    if (KeyDown(KEY_LSHIFT)||KeyDown(KEY_RSHIFT)) {
    	if (!ControllerAirborne(PlayerController)) {
    		PlayerMove*=2.0;
    		PlayerStrafe*=2.0;
    	}
    }
    
    float PlayerJump=0.0;
    if (KeyHit(KEY_SPACE)) {
    	if (!ControllerAirborne(PlayerController)) {
    		PlayerJump=6.0;
    	}
    }
    
    //controller input
    UpdateController(PlayerController,PlayerRotation.Y,PlayerMove*3,PlayerStrafe*3,PlayerJump,500);
    
    PlayerPosition=EntityPosition(PlayerController);
    PlayerHeadPosition=PlayerPosition;
    
    PlayerHeadPosition.Y =PlayerPosition.Y + 1.8;
    
    
    double walkadd=AppSpeed()*Length(GetBodyVelocity(PlayerController));
    walktimer+=walkadd;
    PlayerHeadPosition.Y=Curve(1.0-0.4*sin(walktimer/500.0),PlayerHeadPosition.Y,16);
    }
    
    void cPlayer::SetPlayerPosition(TVec3 NewPlayerPosition)
    {
    MoveEntity(PlayerController,NewPlayerPosition);
    }

     

    Main Loop:

    	myPlayer.UpdatePlayer();
           RotateEntity(frameworkCam,myPlayer.PlayerRotation);
    PositionEntity(frameworkCam,myPlayer.PlayerHeadPosition);

  4. I do not know what else to say. There are no problems using the FPSShooter lua scrip in the editor. But when loading in my program...

     

    Now I made a terrain from scratch in the editor and is running good. :)

     

    No one had a similar problem until now?

  5. I made a RAW file with L3DT and imported in the Editor.

     

    I put some trees and a few rocks and wanted to try in my "game". The problem is that my camera is stick to my feet. (see the pic) THis is happening only when I use terrains made by importing RAW files from L3DT.

  6. Something like old Resident Evil games right? Anyway from what I saw in the little movie this is what I understand.

     

    Placing the camera in some position helps a lot to create some kind of atmosphere depending of your game type. I saw this on TV in some kind of "Movie Maker" show.

×
×
  • Create New...