Compare commits

...

5 commits
0.0.3 ... main

Author SHA1 Message Date
7ad5213cd9 fix 2023-12-23 02:38:41 -07:00
d2c91b189b add deprecation notice 2023-11-23 12:17:50 -07:00
a54bbde5cb new release 2023-11-12 10:21:27 -07:00
1b90ead344 update readme 2023-11-09 14:38:36 -07:00
fe2321cdd2 persistence 2023-11-01 09:36:29 -07:00
10 changed files with 77 additions and 283 deletions

View file

@ -2,4 +2,16 @@
The Red Robot Radio game (Compact Disc version)
Humans dissapeared from Earth and machines are looking for a way to bring them back. Humans built a Radio Station at 243 Ida as an attempt to avoid losing their culture. You are a maintenance robot that must keep this radio station in good health while humans from Earth are missing. Travel between Earth and the Asteroid Belt to give supplies to Frank Pi, the radio host that gives the name to its station (and this game). Includes 13 of the best of Keygen Music Themes
Humans dissapeared from Earth and machines are looking for a way to bring them back. Before their extinction, humans built a Radio Station at 243 Ida as an attempt to avoid losing their culture. You are a maintenance robot that must keep this radio station in good health while humans from Earth are missing. Travel between Earth and the Asteroid Belt to give supplies to Frank Pi, the radio host whose colour that gives the name to its station (and this game). Includes 13 of the best of Keygen Music Themes. Dodge space junk, old trashcans, astronauts, even martians (because they hate the Asteroid Belt)
Made with Godot Engine
# Known issues
* PlayStation 4 controller does not recognize some buttons
* Sound issues when Steam emulated controller is active
* Sound issues when playing web version on Firefox
This version was deprecated, because all improvements from this version were ported to standard version
Remember: Godot Does what Unitydn't (if you are from the 1990 decade you will know where it came from)

View file

@ -1,8 +1,16 @@
extends Label
var previoustime
const savegame = preload("res://save.gd")
func _ready():
previoustime = int(Global.levelmax[Global.gamelevel])
if Global.time < previoustime && Global.live == 3:
Global.levelmax[Global.gamelevel] = str(Global.time)
savegame.new()
func _process(delta: float) -> void:
var hour = int(Global.time / 3600000)
var min = int(Global.time / 60000) - (hour * 60)
var sec = int(Global.time / 1000) - (min * 60) - (hour * 3600)
set_text("Your time: " + str(hour) + ":" + str(min) + ":" + str(sec) + ":" + str(Global.time - (sec * 1000) - (min * 60000) - (hour * 3600000)));
var sec = float(Global.time / 1000)
var msec = Global.time - (sec*1000)
var bsec = float(previoustime / 1000)
var bmsec = previoustime - (bsec*1000)
set_text("Your time: " + str(sec) + "." + str(msec) + "\n" + "Your best time: " + str(bsec) + "." + str(bmsec));

View file

@ -2,11 +2,13 @@ extends Node
var title = preload("res://title.tscn").instantiate()
var boot = preload("res://bootclick.tscn").instantiate()
const loadgame = preload("res://load.gd")
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
loadgame.new()
#pass # Replace with function body.
#add_child(title)

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=3 format=3 uid="uid://dyaorf0qpfokg"]
[gd_scene load_steps=3 format=3 uid="uid://cbfrbxj6w5fd1"]
[ext_resource type="Script" path="res://bootclick.gd" id="1_52bti"]
[ext_resource type="Script" path="res://fps.gd" id="2_gnh1w"]

View file

@ -1,207 +1,5 @@
[preset.0]
name="Android"
platform="Android"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="./The Red Robot Radio.apk"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
[preset.0.options]
custom_template/debug=""
custom_template/release=""
gradle_build/use_gradle_build=false
gradle_build/export_format=0
gradle_build/min_sdk=""
gradle_build/target_sdk=""
architectures/armeabi-v7a=true
architectures/arm64-v8a=true
architectures/x86=false
architectures/x86_64=false
version/code=2
version/name="0.0.1"
package/unique_name="asgardius.page.r3game"
package/name=""
package/signed=true
package/app_category=2
package/retain_data_on_uninstall=false
package/exclude_from_recents=false
launcher_icons/main_192x192=""
launcher_icons/adaptive_foreground_432x432=""
launcher_icons/adaptive_background_432x432=""
graphics/opengl_debug=false
xr_features/xr_mode=0
xr_features/hand_tracking=0
xr_features/hand_tracking_frequency=0
xr_features/passthrough=0
screen/immersive_mode=true
screen/support_small=true
screen/support_normal=true
screen/support_large=true
screen/support_xlarge=true
user_data_backup/allow=false
command_line/extra_args=""
apk_expansion/enable=false
apk_expansion/SALT=""
apk_expansion/public_key=""
permissions/custom_permissions=PackedStringArray()
permissions/access_checkin_properties=false
permissions/access_coarse_location=false
permissions/access_fine_location=false
permissions/access_location_extra_commands=false
permissions/access_mock_location=false
permissions/access_network_state=false
permissions/access_surface_flinger=false
permissions/access_wifi_state=false
permissions/account_manager=false
permissions/add_voicemail=false
permissions/authenticate_accounts=false
permissions/battery_stats=false
permissions/bind_accessibility_service=false
permissions/bind_appwidget=false
permissions/bind_device_admin=false
permissions/bind_input_method=false
permissions/bind_nfc_service=false
permissions/bind_notification_listener_service=false
permissions/bind_print_service=false
permissions/bind_remoteviews=false
permissions/bind_text_service=false
permissions/bind_vpn_service=false
permissions/bind_wallpaper=false
permissions/bluetooth=false
permissions/bluetooth_admin=false
permissions/bluetooth_privileged=false
permissions/brick=false
permissions/broadcast_package_removed=false
permissions/broadcast_sms=false
permissions/broadcast_sticky=false
permissions/broadcast_wap_push=false
permissions/call_phone=false
permissions/call_privileged=false
permissions/camera=false
permissions/capture_audio_output=false
permissions/capture_secure_video_output=false
permissions/capture_video_output=false
permissions/change_component_enabled_state=false
permissions/change_configuration=false
permissions/change_network_state=false
permissions/change_wifi_multicast_state=false
permissions/change_wifi_state=false
permissions/clear_app_cache=false
permissions/clear_app_user_data=false
permissions/control_location_updates=false
permissions/delete_cache_files=false
permissions/delete_packages=false
permissions/device_power=false
permissions/diagnostic=false
permissions/disable_keyguard=false
permissions/dump=false
permissions/expand_status_bar=false
permissions/factory_test=false
permissions/flashlight=false
permissions/force_back=false
permissions/get_accounts=false
permissions/get_package_size=false
permissions/get_tasks=false
permissions/get_top_activity_info=false
permissions/global_search=false
permissions/hardware_test=false
permissions/inject_events=false
permissions/install_location_provider=false
permissions/install_packages=false
permissions/install_shortcut=false
permissions/internal_system_window=false
permissions/internet=false
permissions/kill_background_processes=false
permissions/location_hardware=false
permissions/manage_accounts=false
permissions/manage_app_tokens=false
permissions/manage_documents=false
permissions/manage_external_storage=false
permissions/master_clear=false
permissions/media_content_control=false
permissions/modify_audio_settings=false
permissions/modify_phone_state=false
permissions/mount_format_filesystems=false
permissions/mount_unmount_filesystems=false
permissions/nfc=false
permissions/persistent_activity=false
permissions/process_outgoing_calls=false
permissions/read_calendar=false
permissions/read_call_log=false
permissions/read_contacts=false
permissions/read_external_storage=false
permissions/read_frame_buffer=false
permissions/read_history_bookmarks=false
permissions/read_input_state=false
permissions/read_logs=false
permissions/read_phone_state=false
permissions/read_profile=false
permissions/read_sms=false
permissions/read_social_stream=false
permissions/read_sync_settings=false
permissions/read_sync_stats=false
permissions/read_user_dictionary=false
permissions/reboot=false
permissions/receive_boot_completed=false
permissions/receive_mms=false
permissions/receive_sms=false
permissions/receive_wap_push=false
permissions/record_audio=false
permissions/reorder_tasks=false
permissions/restart_packages=false
permissions/send_respond_via_message=false
permissions/send_sms=false
permissions/set_activity_watcher=false
permissions/set_alarm=false
permissions/set_always_finish=false
permissions/set_animation_scale=false
permissions/set_debug_app=false
permissions/set_orientation=false
permissions/set_pointer_speed=false
permissions/set_preferred_applications=false
permissions/set_process_limit=false
permissions/set_time=false
permissions/set_time_zone=false
permissions/set_wallpaper=false
permissions/set_wallpaper_hints=false
permissions/signal_persistent_processes=false
permissions/status_bar=false
permissions/subscribed_feeds_read=false
permissions/subscribed_feeds_write=false
permissions/system_alert_window=false
permissions/transmit_ir=false
permissions/uninstall_shortcut=false
permissions/update_device_stats=false
permissions/use_credentials=false
permissions/use_sip=false
permissions/vibrate=false
permissions/wake_lock=false
permissions/write_apn_settings=false
permissions/write_calendar=false
permissions/write_call_log=false
permissions/write_contacts=false
permissions/write_external_storage=false
permissions/write_gservices=false
permissions/write_history_bookmarks=false
permissions/write_profile=false
permissions/write_secure_settings=false
permissions/write_settings=false
permissions/write_sms=false
permissions/write_social_stream=false
permissions/write_sync_settings=false
permissions/write_user_dictionary=false
[preset.1]
name="Linux/X11"
platform="Linux/X11"
runnable=true
@ -216,12 +14,12 @@ encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
[preset.1.options]
[preset.0.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
binary_format/embed_pck=true
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
@ -239,65 +37,3 @@ unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
rm -rf \"{temp_dir}\""
[preset.2]
name="Windows Desktop"
platform="Windows Desktop"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="./The Red Robot Radio CD.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
[preset.2.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
binary_format/architecture="x86_64"
codesign/enable=false
codesign/timestamp=true
codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PackedStringArray()
application/modify_resources=true
application/icon=""
application/console_wrapper_icon=""
application/icon_interpolation=4
application/file_version=""
application/product_version=""
application/company_name=""
application/product_name=""
application/file_description=""
application/copyright=""
application/trademarks=""
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
$trigger = New-ScheduledTaskTrigger -Once -At 00:00
$settings = New-ScheduledTaskSettingsSet
$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
Start-ScheduledTask -TaskName godot_remote_debug
while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
Remove-Item -Recurse -Force '{temp_dir}'"

View file

@ -6,6 +6,9 @@ var origmpos
var mousepos
var timelimit = 15000
var wait
var hiscoresfile = "user://hiscores.save"
var gamelevel
var levelmax
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.

View file

@ -39,11 +39,10 @@ Made with Godot Engine
Original game made with PyGame
Pygame version testing
Astroboy
Beachkid
Zencifer
Natasha
Sakura Nakayama
Bicycle Man
BMX Man
Godot version testing
@ -68,9 +67,9 @@ Arch Linux Rolling
Godot Port started with this device
Provided as a replacement for a HP 14 laptop that died while running Genshin Impact
???
???
???
Steam Deck
Arch Linux
Provided by Evelyn Freeman
Feedback
El Suavecito
@ -455,7 +454,11 @@ Source code hosted at https://git.asgardius.company/asgardius/r3-cd
You can listen the oficial radio station at https://asteroid.asgardius.company/public/r3
Special Thanks for Unity Technologies for make me choosing Godot"
Special Thanks for Unity Technologies for make me choosing Godot
Godot does what Unitydnt
I'm looking for developers, artists and japanese voice actors who want to help on my next videogame from Asgardius Virtualx series"
horizontal_alignment = 1
script = ExtResource("6_3q8sp")

23
load.gd Normal file
View file

@ -0,0 +1,23 @@
extends Node
var file
func _init():
if FileAccess.file_exists(Global.hiscoresfile):
file = FileAccess.open(Global.hiscoresfile, FileAccess.READ)
Global.levelmax = file.get_as_text().rsplit(",", true, 7)
file.close()
# We need to revert the game state so we're not cloning objects
# during loading. This will vary wildly depending on the needs of a
# project, so take care with this step.
# For our example, we will accomplish this by deleting saveable objects.
#var save_nodes = get_tree().get_nodes_in_group("Persist")
#for i in save_nodes:
# i.queue_free()
# Load the file line by line and process that dictionary to restore
# the object it represents.
else:
var saveinit = "9999999,9999999,9999999,9999999,9999999,9999999,9999999"
var file = FileAccess.open(Global.hiscoresfile, FileAccess.WRITE)
file.store_string(saveinit)
Global.levelmax = saveinit.rsplit(",", true, 7)
file.close()

6
save.gd Normal file
View file

@ -0,0 +1,6 @@
extends Node
func _init():
var saveinit = Global.levelmax[0]+","+Global.levelmax[1]+","+Global.levelmax[2]+","+Global.levelmax[3]+","+Global.levelmax[4]+","+Global.levelmax[5]+","+Global.levelmax[6]
var file = FileAccess.open(Global.hiscoresfile, FileAccess.WRITE)
file.store_string(saveinit)
file.close()

View file

@ -8,6 +8,7 @@ var wait
#var wormhole = preload("res://backgounds/wormhole.tscn").instantiate()
func _ready():
Global.gamelevel = null
add_child(bgsound)
var titlemusic = load("res://music/x-force.wav")
bgsound.stream = titlemusic
@ -32,10 +33,10 @@ func _level():
# This is like autoloading the scene, only
# it happens after already loading the main scene.
Global.live = 1
var level = randi() % 3
if level == 0:
Global.gamelevel = randi() % 3
if Global.gamelevel == 0:
get_tree().change_scene_to_file("res://backgounds/galaxy.tscn")
elif level == 1:
elif Global.gamelevel == 1:
get_tree().change_scene_to_file("res://backgounds/wormhole.tscn")
else:
get_tree().change_scene_to_file("res://backgounds/abstract.tscn")