diff --git a/BytesOfLove/game/Fishing_images/Benjy.png b/BytesOfLove/game/Fishing_images/Benjy.png new file mode 100644 index 0000000..aeba569 Binary files /dev/null and b/BytesOfLove/game/Fishing_images/Benjy.png differ diff --git a/BytesOfLove/game/Fishing_images/Fish.jpg b/BytesOfLove/game/Fishing_images/Fish.jpg new file mode 100644 index 0000000..db817c5 Binary files /dev/null and b/BytesOfLove/game/Fishing_images/Fish.jpg differ diff --git a/BytesOfLove/game/Fishing_images/Fish.png b/BytesOfLove/game/Fishing_images/Fish.png new file mode 100644 index 0000000..1986ba8 Binary files /dev/null and b/BytesOfLove/game/Fishing_images/Fish.png differ diff --git a/BytesOfLove/game/Fishing_images/Fishing_background.jpg b/BytesOfLove/game/Fishing_images/Fishing_background.jpg new file mode 100644 index 0000000..6d83b8a Binary files /dev/null and b/BytesOfLove/game/Fishing_images/Fishing_background.jpg differ diff --git a/BytesOfLove/game/Fishing_images/bar.png b/BytesOfLove/game/Fishing_images/bar.png new file mode 100644 index 0000000..e9c1f6f Binary files /dev/null and b/BytesOfLove/game/Fishing_images/bar.png differ diff --git a/BytesOfLove/game/Fishing_images/flopper.jpg b/BytesOfLove/game/Fishing_images/flopper.jpg new file mode 100644 index 0000000..7ad8e51 Binary files /dev/null and b/BytesOfLove/game/Fishing_images/flopper.jpg differ diff --git a/BytesOfLove/game/Fishing_images/midas.jpg b/BytesOfLove/game/Fishing_images/midas.jpg new file mode 100644 index 0000000..0dbc3ad Binary files /dev/null and b/BytesOfLove/game/Fishing_images/midas.jpg differ diff --git a/BytesOfLove/game/Fishing_images/mythic.jpg b/BytesOfLove/game/Fishing_images/mythic.jpg new file mode 100644 index 0000000..d22225c Binary files /dev/null and b/BytesOfLove/game/Fishing_images/mythic.jpg differ diff --git a/BytesOfLove/game/Fishing_images/safe-zone.png b/BytesOfLove/game/Fishing_images/safe-zone.png new file mode 100644 index 0000000..ae5e5c1 Binary files /dev/null and b/BytesOfLove/game/Fishing_images/safe-zone.png differ diff --git a/BytesOfLove/game/Fishing_images/shield_fish.jpg b/BytesOfLove/game/Fishing_images/shield_fish.jpg new file mode 100644 index 0000000..5f0207a Binary files /dev/null and b/BytesOfLove/game/Fishing_images/shield_fish.jpg differ diff --git a/BytesOfLove/game/Fishing_images/slider-bar.png b/BytesOfLove/game/Fishing_images/slider-bar.png new file mode 100644 index 0000000..b5c623e Binary files /dev/null and b/BytesOfLove/game/Fishing_images/slider-bar.png differ diff --git a/BytesOfLove/game/Fishing_images/tiny_bar.png b/BytesOfLove/game/Fishing_images/tiny_bar.png new file mode 100644 index 0000000..82eebfb Binary files /dev/null and b/BytesOfLove/game/Fishing_images/tiny_bar.png differ diff --git a/BytesOfLove/game/gameMap/Fishing_Bytes.rpy b/BytesOfLove/game/gameMap/Fishing_Bytes.rpy new file mode 100644 index 0000000..3f8710f --- /dev/null +++ b/BytesOfLove/game/gameMap/Fishing_Bytes.rpy @@ -0,0 +1,66 @@ +init python: + from renpy.display.image import Image + from renpy.display.motion import Transform + import random + def click_counter(): + global click + global start_time + if click ==0: + start_time = True + click +=1 + + +transform fish_caught: + xalign 0.47 + yalign 1.1 + linear 5.0 yalign 0.3 + +screen fish_Game: + frame: + xsize 1920 + ysize 1080 + background "Fishing_images/Fishing_background.jpg" + key "K_SPACE" action If(count_clicks, Function(click_counter), NullAction()) + text "Clicks: [click] Time left: [countdown]" align(.25,.25) + if not count_clicks: + #Placeholder images not for final product + if 20<=click <=50: + add Transform("Fishing_images/flopper.jpg") at fish_caught + elif 51<=click <=100: + add Transform("Fishing_images/shield_fish.jpg") at fish_caught + elif 101<=click <=150: + add Transform("Fishing_images/midas.jpg", zoom =.5) at fish_caught + elif 151<=click <=250: + add Transform("Fishing_images/mythic.jpg") at fish_caught + elif click>250: + add Transform("Fishing_images/Benjy.png") at fish_caught + else: + text "Noob" align(.5,.5) + if start_time: + timer 1.0 action If(countdown>0, SetVariable("countdown",countdown -1), SetVariable("count_clicks", False)) repeat countdown > 0 +default start_time = False +default click =0 +default count_clicks = True +default countdown =20 + +screen instructions_Fishing: + frame: + xsize 800 + ysize 700 + align (0.5, 0.5) + background "#333333" + padding (20, 20) + vbox: + null height 10 + spacing 20 + text "Welcome to the Fishing Game!" color "#FFFFFF" size 40 + text "Instructions:" color "#FFFFFF" size 30 + for instruction in [ + "1. Use your mouse to control the fishing rod.", + "2. Catch the fish that swim across the screen.", + "3. Avoid catching non-fish", + "4. Try to score as many points as you can." + ]: + text instruction color "#FFFFFF" size 25 + null height 20 + textbutton "Start" action [Show("fish_Game"), Hide("instructions_Fishing")] \ No newline at end of file