Description

Ever want to create your own dog fight game set in space, but couldn't figure out how? Look no further than SpaceFlight - Basic!

Current Features:

  • Skybox configuration and rendering scripts.
  • Quaternion/Vector based flight, no more gimbal lock!
  • Toggleable viewpoint
  • Automated SmoothCam projection system
  • 3D fully realized ship interior ( VR Compatible )
  • Cross platform compatibility

Future Features:

  • Multiple Weapons
  • Basic particle effects
  • Basic Collisions

WARNING SpaceFlight - Basic requires that you install this asset into a gmk preloaded with Slayer's Upgrade.

You MUST also create a script in your project titled "QROT_scr" containing the following code:

//argument0 = x part of vector to be rotated.
//argument1 = y part of vector to be rotated.
//argument2 = z part of vector to be rotated.
//argument3 = x part of vector to rotate about.
//argument4 = y part of vector to rotate about.
//argument5 = z part of vector to rotate about.
//argument6 = angle (in degrees) to be rotated.
//Code adapted by Jonathan Vathauer (TAB)
//from script by Martin John Baker
ww = cos(degtorad(argument6)/2);
xx = argument3*(sin(degtorad(argument6)/2));
yy = argument4*(sin(degtorad(argument6)/2));
zz = argument5*(sin(degtorad(argument6)/2));
p1x = argument0;
p1y = argument1;
p1z = argument2;
p2x = ww*ww*p1x + 2*yy*ww*p1z - 2*zz*ww*p1y + xx*xx*p1x + 2*yy*xx*p1y + 2*zz*xx*p1z - zz*zz*p1x - yy*yy*p1x;
p2y = 2*xx*yy*p1x + yy*yy*p1y + 2*zz*yy*p1z + 2*ww*zz*p1x - zz*zz*p1y + ww*ww*p1y - 2*xx*ww*p1z - xx*xx*p1y;
p2z = 2*xx*zz*p1x + 2*yy*zz*p1y + zz*zz*p1z - 2*ww*yy*p1x - yy*yy*p1z + 2*ww*xx*p1y - xx*xx*p1z + ww*ww*p1z;

For help getting started, contact me or click the support link above!

End User Licence Agreement (EULA).

Changes in 1.0.4

*Changed D3dTransform call to D3dTransformAdd call

Version 1.0.4. Published July 27, 2014

Created with GameMaker: Studio v1.99.180

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Alexey B 08 November 2016

Not Work! GMS 1.4.1763. Please, correct and help.

Errors:
Error in Object pilot_obj, Event Create, Action 1 at Line 33, Position 2: Unknown function or script: slayersUpgradeInit
Error in Object pilot_obj, Event , Action 1 at Line 13, Position 2: Unknown function or script: vecSetxyz
Error in Object pilot_obj, Event , Action 1 at Line 13, Position 2: Unknown function or script: vecSetxyz
Error in Object pilot_obj, Event , Action 1 at Line 13, Position 2: Unknown function or script: vecSetxyz
Error in Object pilot_obj, Event , Action 1 at Line 13, Position 2: Unknown function or script: vecSetxyz
Error in Object pilot_obj, Event Game End, Action 1 at Line 1, Position 1: Unknown function or script: slayersUpgradeDone
Error in Object pilot_obj, Event Draw, Action 1 at Line 15, Position 6: Unknown function or script: vecSetxyz


Gravatar

Jorge R 25 August 2014

very good

For my to work: after importing the slayer upgrade, the proyect and create the QROT_scr script, have to create a empty object name "oSlayersUpgrade" and add this variables to pilot_obj create event.
camx=0;camy=0;camz=0;camxface=0;camyface=0;camzface=0;camxup=0;camyup=0;camzup=0;camfov=0;
five stars when include slayer upgrade, because some times say you dont have the rigths to use slayer upgrade when tried to create executable.


Gravatar

Jarin R 15 July 2015

Problem

Thank your.

Logo

I-Game-Art (Publisher) 12 August 2014

The instructions on how to get this working are clearly outlined in the details tab of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top