Browse Source

First mobile test

This is the first test. We'll test it out, see how it goes, and modify things along the way.
master
Abheek Dhawan 4 years ago
parent
commit
e9c039d015
  1. 2
      Game Scenes/Game.tscn
  2. BIN
      Images and Anims/Other/icon1024.png
  3. 34
      Images and Anims/Other/icon1024.png.import
  4. BIN
      Images and Anims/Other/icon120.png
  5. 34
      Images and Anims/Other/icon120.png.import
  6. BIN
      Images and Anims/Other/icon76.png
  7. 34
      Images and Anims/Other/icon76.png.import
  8. 4
      Scripts/Rocket.gd
  9. 75
      export_presets.cfg

2
Game Scenes/Game.tscn

@ -34,7 +34,7 @@ __meta__ = {
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.01, 0.01 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
[node name="Background" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
position = Vector2( 89.4544, -100.794 )
scale = Vector2( 5, 5 )
texture = ExtResource( 3 )

BIN
Images and Anims/Other/icon1024.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 KiB

34
Images and Anims/Other/icon1024.png.import

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon1024.png-cf120c09328aed663f64ba96861aa66a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Images and Anims/Other/icon1024.png"
dest_files=[ "res://.import/icon1024.png-cf120c09328aed663f64ba96861aa66a.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

BIN
Images and Anims/Other/icon120.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

34
Images and Anims/Other/icon120.png.import

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon120.png-366ab40d02ec6fafe35245267c6f5205.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Images and Anims/Other/icon120.png"
dest_files=[ "res://.import/icon120.png-366ab40d02ec6fafe35245267c6f5205.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

BIN
Images and Anims/Other/icon76.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

34
Images and Anims/Other/icon76.png.import

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon76.png-5af27ad6ea709b4896a6f29eb57cc49f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Images and Anims/Other/icon76.png"
dest_files=[ "res://.import/icon76.png-5af27ad6ea709b4896a6f29eb57cc49f.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

4
Scripts/Rocket.gd

@ -20,11 +20,11 @@ func _process(delta):
yield(get_tree().create_timer(1.5), "timeout")
queue_free()
get_tree().reload_current_scene()
if (Input.is_action_pressed("turn_left")):
if (InputEventScreenTouch.position <= get_viewport_rect().size.x/2):
if angle > -1.5:
rotate(-0.05)
angle -= 0.05
elif (Input.is_action_pressed("turn_right")):
elif (InputEventScreenTouch.position > get_viewport_rect().size.x/2):
if angle < 1.5:
rotate(0.05)
angle += 0.05

75
export_presets.cfg

@ -127,3 +127,78 @@ binary_format/64_bits=true
binary_format/embed_pck=true
custom_template/release=""
custom_template/debug=""
[preset.4]
name="iOS"
platform="iOS"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="iOS/index.ipa"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""
[preset.4.options]
custom_template/debug=""
custom_template/release=""
application/app_store_team_id="00112233445566"
application/provisioning_profile_uuid_debug=""
application/code_sign_identity_debug="iPhone Developer"
application/export_method_debug=1
application/provisioning_profile_uuid_release=""
application/code_sign_identity_release=""
application/export_method_release=0
application/name="SpacEscape2D"
application/info="Made with Godot Engine"
application/identifier="com.ADAwesomeGames.SpacEscape2D"
application/signature=""
application/short_version="1.0"
application/version="1.0"
application/copyright=""
capabilities/arkit=false
capabilities/camera=false
capabilities/access_wifi=false
capabilities/game_center=false
capabilities/in_app_purchases=false
capabilities/push_notifications=false
user_data/accessible_from_files_app=false
user_data/accessible_from_itunes_sharing=false
privacy/camera_usage_description=""
privacy/microphone_usage_description=""
privacy/photolibrary_usage_description=""
orientation/portrait=true
orientation/landscape_left=true
orientation/landscape_right=true
orientation/portrait_upside_down=true
required_icons/iphone_120x120="res://Images and Anims/Other/icon120.png"
required_icons/ipad_76x76="res://Images and Anims/Other/icon76.png"
required_icons/app_store_1024x1024="res://Images and Anims/Other/icon1024.png"
optional_icons/iphone_180x180=""
optional_icons/ipad_152x152=""
optional_icons/ipad_167x167=""
optional_icons/spotlight_40x40=""
optional_icons/spotlight_80x80=""
storyboard/use_launch_screen_storyboard=false
storyboard/image_scale_mode=0
storyboard/custom_image@2x=""
storyboard/custom_image@3x=""
storyboard/use_custom_bg_color=false
storyboard/custom_bg_color=Color( 0, 0, 0, 1 )
landscape_launch_screens/iphone_2436x1125=""
landscape_launch_screens/iphone_2208x1242=""
landscape_launch_screens/ipad_1024x768=""
landscape_launch_screens/ipad_2048x1536=""
portrait_launch_screens/iphone_640x960=""
portrait_launch_screens/iphone_640x1136=""
portrait_launch_screens/iphone_750x1334=""
portrait_launch_screens/iphone_1125x2436=""
portrait_launch_screens/ipad_768x1024=""
portrait_launch_screens/ipad_1536x2048=""
portrait_launch_screens/iphone_1242x2208=""
architectures/armv7=false
architectures/arm64=true

Loading…
Cancel
Save