samgame
Blender Game library
samgame version 0.2
 
1-SamGame Camera Systam:
 
   1-Soft follow         ---> OK
   2-Back player         ---> OK
     Mode 0 -> Around           """ free Around     """
     Mode 1 -> Hit To go Back   """ for Action game """
     Mode 2 -> Always Soft Back """ for car game    """
   3-Cinematograic       ---> Update 1
   4-Collision Detection ---> off
   5-AI Camera Man       ---> off

  mode = Camera(Object,Space,Height,Time,Mode)
  and the out from that = Mode
-------------------------------------------------------------------
2-SamGame Blender Shortcut:
  
  1- OB("Object name")   # get Object "do not but OB in the name"
  2- Sen("Sensor name")  # get Sensor
  3- Act("Actuator name")# get Actuator
  4- Run("Actuator name")# activat Actuator
  5- Mouse()             # show mouse
  6- Pal50()             # set FPS to 50
--------------------------------------------------------------------
3-SamGame Math:

  1- getZAngle(matrix3x3)# get Z angle from matrix --> 0 to 360
  2- getSpace(A,B)       # get space frome A(x,y,z) to B(x,y,z)
  2- TrackTo(am,he)      # matrix = Track XYZ to XYZ
--------------------------------------------------------------------

SamGame version 0.2 Bug:
 - No big bug in this ver
 - The camera system only runs for one camera not more
 - GetZAngle run very good but I think he have a mistake
 - if you find bog tell me ^_^
 
What New in version 0.2:
 - you dont have to add "Edit Object actuator"for camera
  and iam working for remove "move actuator"
 - Camera Cinematograic Update 1
 - new SamGame Math "TrackTo"
 
 

.blend files help

Arrow button to move player

Enter to change camera mode to 1 “hit to back”

1,2 to change camera view “camera , top” 
 
""" This ver develop in blender 4.21 use sumo physics and run good in bullet and blender 2.42 just reversal Arrow button"""

 

samgam and .blend demo files
Download zip file 116 KB
 

enjoy

samran abed alsalam


<<Home