# See the License for the specific language governing permissions and
# limitations under the License.
-module action_nitro
+module action_nitro is
+ app_name "Action Nitro"
+ app_namespace "net.xymus.action_nitro"
+ app_version(1, 0, git_revision)
+
+ android_manifest_activity """android:screenOrientation="sensorLandscape""""
+ android_api_target 10
+end
import gamnit::depth
import gamnit::keys
# Game world assets
# Textures of the biplane, jet, helicopter, parachute and powerups
- private var planes_sheet = new PlanesImages
+ var planes_sheet = new PlanesImages
# Animation for the player movement
private var player_textures: Array[Texture] =
redef class Boss
redef var actor is lazy do
var actor = new Actor(app.iss_model, center)
- actor.rotation = pi/2.0
+ actor.yaw = pi/2.0
return actor
end
var splatter = new Actor(app.splatter_model,
new Point3d[Float](center.x, 0.05 & 0.04, center.y))
splatter.scale = 32.0
- splatter.rotation = 2.0 * pi.rand
+ splatter.yaw = 2.0*pi.rand
app.actors.add splatter
end