smallg2022 commited on
Commit
aa50699
·
1 Parent(s): a4fb740

init commit

Browse files
Files changed (2) hide show
  1. main.py +218 -0
  2. requirements.txt +3 -0
main.py ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import requests
3
+ from streamlit_lottie import st_lottie
4
+
5
+ st.set_page_config(page_title="Smallg - Indie Game Dev", page_icon=":tada:", layout="wide")
6
+
7
+ def LoadLottieURL(url):
8
+ r = requests.get(url)
9
+ if r.status_code != 200:
10
+ return None
11
+ return r.json()
12
+
13
+ # Gaming section
14
+ gaming_lottie = LoadLottieURL("https://assets6.lottiefiles.com/packages/lf20_znokougu.json")
15
+ with st.container():
16
+ left_column, right_column = st.columns(2)
17
+ with left_column:
18
+ st.title("Hello World - Smallg")
19
+ st.subheader("Indie Dev Game Projects")
20
+ st.write("I am a solo indie game developer mainly using Unity (and a little GG Max)")
21
+ st.write("I mostly just release small demos and WIPs as well as scripts for other to use in their own games")
22
+ st.write("I enjoy VR and have made some cool demos for the quest and steam VR")
23
+ with right_column:
24
+ st_lottie(gaming_lottie, width=600, height=400, key="gaming")
25
+
26
+ # VR section
27
+ vr_lottie = LoadLottieURL("https://assets3.lottiefiles.com/packages/lf20_p8xzlbof.json")
28
+ with st.container():
29
+ left, mid, right = st.columns(3)
30
+ with mid:
31
+ st.markdown("<h1 style='text-align: center; color: white;'>VR Demos</h1>", unsafe_allow_html=True)
32
+ st_lottie(vr_lottie, key="VR", height=430)
33
+ st.write("Despite easily getting motion sick I do love VR and especially wireless VR with the Quest")
34
+
35
+ with st.expander("VR Demos (Click me)", expanded=False):
36
+ left_column, middle_column, right_column = st.columns(3)
37
+ with left_column:
38
+ st.subheader("Fruit Ninja style clone")
39
+ st.video("https://www.youtube.com/watch?v=GsjLUNkzZt0")
40
+ st.write("A game I made based on fruit ninja which started life as an experiment into how to dynamically"
41
+ "chop object meshes at runtime")
42
+
43
+ with middle_column:
44
+ st.subheader("VR Shooting Range Demo")
45
+ st.video("https://www.youtube.com/watch?v=bUbnJcIZQnU")
46
+ st.write("This is a tech demo I made to explore gun interactions in VR such as using physical joints to"
47
+ "simulate cocking your gun and slotting in the ammo clips")
48
+
49
+ with right_column:
50
+ st.subheader("VR Boxing")
51
+ st.video("https://www.youtube.com/watch?v=jCrz704fjdw")
52
+ st.write("I wanted to explore a game that felt more impactful than animation based boxing games")
53
+
54
+ with st.expander("More VR Demos (Click me)", expanded=False):
55
+ left_column, middle_column, right_column = st.columns(3)
56
+ with left_column:
57
+ st.subheader("Magical powers gesture system")
58
+ st.video("https://www.youtube.com/watch?v=jL9wNCUL1QE")
59
+ st.write("I did a lot of similar experiments using the gesture system in VR, this one uses more basic"
60
+ "movements to register a spell cast")
61
+
62
+ with middle_column:
63
+ st.subheader("Physical VR IK")
64
+ st.video("https://www.youtube.com/watch?v=9mpn6Av8-SQ")
65
+ st.write("VR physics was always a difficult task to get right as too much physics can often make the "
66
+ "movement feel restricted or sluggish")
67
+
68
+ with right_column:
69
+ st.subheader("Hangman in VR")
70
+ st.video("https://www.youtube.com/watch?v=afOzThtDKsU")
71
+ st.write("more VR gesture based gameplay, this one involved themed locations and words and even had the "
72
+ "beginnings of multiplayer (1 vs 1 at least)")
73
+
74
+ with st.expander("Even More VR Demos (Click me)", expanded=False):
75
+ left_column, middle_column, right_column = st.columns(3)
76
+ with left_column:
77
+ st.subheader("VR Gesture based inventory system")
78
+ st.video("https://www.youtube.com/watch?v=jZ7kV5H1QPg")
79
+ st.write("Experimenting with a way to summon or magic items into your possession rather than a "
80
+ "traditional click based inventory for VR")
81
+
82
+ with middle_column:
83
+ st.subheader("Energy Sword style firefight")
84
+ st.video("https://www.youtube.com/watch?v=x5IutjcK4TM")
85
+ st.write("Everybody loves Starwars and it feels great in VR to fight with scifi swords :smile:")
86
+
87
+ # unity demos
88
+ unity_gaming_lottie = LoadLottieURL("https://assets3.lottiefiles.com/packages/lf20_5josuovc.json")
89
+ with st.container():
90
+ left, mid, right = st.columns(3)
91
+ with mid:
92
+ st.markdown("<h1 style='text-align: center; color: white;'>Unity Game Demos</h1>", unsafe_allow_html=True)
93
+ st_lottie(unity_gaming_lottie, key="Unity", height=430)
94
+ st.write("Unity is my go-to engine for more serious or complex game creation, it has a great mix of ease-of-use"
95
+ "and control over every aspect of your game")
96
+
97
+ with st.expander("Unity Game Demos (Click me)", expanded=False):
98
+ left_column, middle_column, right_column = st.columns(3)
99
+ with left_column:
100
+ st.subheader("Boxing with Rigidbody physics")
101
+ st.video("https://www.youtube.com/watch?v=WZUXDR3rtX8")
102
+ st.write("More fun with physical combat, I just love ragdolls")
103
+
104
+ with middle_column:
105
+ st.subheader("AI Soccer Game")
106
+ st.video("https://www.youtube.com/watch?v=QdvqKMpEiXg")
107
+ st.write("I spent way too long watching the AI battle it out in this dumb but fun soccer game")
108
+
109
+ with right_column:
110
+ st.subheader("Demon Monster - Low Poly Horror")
111
+ st.video("https://www.youtube.com/watch?v=_HO3HQa2Ea4")
112
+ st.write("Synty Studios have the coolest style and always at a great price for a world of assets and I have"
113
+ "always had a soft spot for horror games")
114
+
115
+ with st.expander("see more Unity games (Click me)", expanded=False):
116
+ left_column, middle_column, right_column = st.columns(3)
117
+ with left_column:
118
+ st.subheader("SCIFI air suction")
119
+ st.video("https://www.youtube.com/watch?v=pBwwjrglvtI")
120
+ st.write("Making combat feel more dynamic with some destructible assets and breaking the windows to "
121
+ "literally help (or hinder) your chances was a fun idea for a space themed game")
122
+ with middle_column:
123
+ st.subheader("SCIFI Shooter AI Test")
124
+ st.video("https://www.youtube.com/watch?v=5vCgnuGfwhI")
125
+ st.write("Complex AI with smart logic is always a challenge, in this I was mostly trying to get the AI to"
126
+ "use cover in a reasonably believable and smart way")
127
+ with right_column:
128
+ st.subheader("SCIFI Shooter - RayFire destruction fun")
129
+ st.video("https://www.youtube.com/watch?v=gI90FJ_uKDo")
130
+ st.write("RayFire is a great asset for allowing you to completely destroy your game world in the most fun"
131
+ "way possible")
132
+
133
+ with st.expander("see even more Unity games (Click me)", expanded=False):
134
+ left_column, middle_column, right_column = st.columns(3)
135
+ with left_column:
136
+ st.subheader("Mud tracks for Squad based AI")
137
+ st.video("https://www.youtube.com/watch?v=qxtiQiA6Dh8")
138
+ st.write("We all love snow shaders and such, this one was very much inspired by "
139
+ "the return of the Tomb Raider games which made some great use of mud and water")
140
+ with middle_column:
141
+ st.subheader("Soccer Game - Transfer Market player cards")
142
+ st.video("https://www.youtube.com/watch?v=PYjYvmFS6X4")
143
+ st.write("player stat sheets are a staple in most games - this one was to go with my AI Soccer game")
144
+ with right_column:
145
+ st.subheader("Asynchronous scene swapping for seamless gameplay")
146
+ st.video("https://www.youtube.com/watch?v=5mxyi9CvJoM")
147
+ st.write("A demo showing the potential for seamless gameplay even with some complex destruction physics,"
148
+ "this was using real-time RayFire destruction so couldn't handle many objects at once")
149
+
150
+ # GG Max
151
+ max_gaming_lottie = LoadLottieURL("https://assets3.lottiefiles.com/packages/lf20_i9arxzcg.json")
152
+ with st.container():
153
+ left, mid, right = st.columns(3)
154
+ with mid:
155
+ st.markdown("<h1 style='text-align: center; color: white;'>GameGuru Max Script Demos</h1>", unsafe_allow_html=True)
156
+ st_lottie(max_gaming_lottie, key="GGMax", height=430)
157
+ st.write("GameGuru Max (formerly Classic) was a great starting point as I learned game dev and coding,"
158
+ "home to a great community and a great development team")
159
+ st.write("Below are some examples of videos I made to showcase my freely shared scripts for the GG community")
160
+
161
+ with st.expander("GG Max Script Demos (Click me)", expanded=False):
162
+ left_column, middle_column, right_column = st.columns(3)
163
+ with left_column:
164
+ st.subheader("Quest system")
165
+ st.video("https://www.youtube.com/watch?v=c8Z5h51_KrU")
166
+ st.write("A completely custom and self-contained quest system which can be used to make your Max games "
167
+ "much more engaging")
168
+ with middle_column:
169
+ st.subheader("Loot drop system")
170
+ st.video("https://www.youtube.com/watch?v=mw6kazlZpZE")
171
+ st.write("Real-time spawning is not really a thing in GG so loot systems have always been a bit more "
172
+ "difficult / tricky to set-up so this is a more logical pool-based loot system with variable "
173
+ "loot and rates")
174
+ with right_column:
175
+ st.subheader("Skyrim inspired Text Radar")
176
+ st.video("https://www.youtube.com/watch?v=Y6JFzr_8FFI")
177
+ st.write("A clean and simple Radar like the one found in Skyrim - images and landmarks are fully "
178
+ "customisable by the end user")
179
+
180
+ with st.expander("More GG Max Script Demos (Click me)", expanded=False):
181
+ left_column, middle_column, right_column = st.columns(3)
182
+ with left_column:
183
+ st.subheader("Object inspect")
184
+ st.video("https://www.youtube.com/watch?v=TrjRyfmW25U")
185
+ st.write("A simple but important object inspect/interact script which lets the player pick up and look at "
186
+ "an object - similar to the classic resident evil games")
187
+ with middle_column:
188
+ st.subheader("Simple move and rotate")
189
+ st.video("https://www.youtube.com/watch?v=WM0AFrDi31g")
190
+ st.write("This is more for a repeated movement which allows many objects to have their own values but all "
191
+ "from one simple script")
192
+ with right_column:
193
+ st.subheader("Resident Evil inspired zombie AI")
194
+ st.video("https://www.youtube.com/watch?v=DlrLfwI2g9s")
195
+ st.write("We all love a good shambling zombie")
196
+
197
+ with st.expander("Yet more GG Max Script Demos (Click me)", expanded=False):
198
+ left_column, middle_column, right_column = st.columns(3)
199
+ with left_column:
200
+ st.subheader("Alien Isolation style motion tracker")
201
+ st.video("https://www.youtube.com/watch?v=bczxTj8KDeU")
202
+ st.write("Alien Isolation was one of my favourite games of all time, the atmosphere, the tension,"
203
+ "the perfect recreation of the original alien setting.. it's amazing how long I spent hiding"
204
+ "inside lockers the first time I played through it :laughing:")
205
+ with middle_column:
206
+ st.subheader("Squash the bugs mini game")
207
+ st.video("https://www.youtube.com/watch?v=9lC7SyCJxug")
208
+ st.write("I made a bunch of these mini games type scripts which were mainly used as ways to unlock doors"
209
+ "in a more engaging way that simply finding a key")
210
+ with right_column:
211
+ st.subheader("Radial Inventory")
212
+ st.video("https://www.youtube.com/watch?v=Ti0YCOCK14I")
213
+ st.write("Yet another one inspired by Alien Isolation, a good inventory system can be hard to find")
214
+
215
+ with st.container():
216
+ st.write("###")
217
+ st.write("Check out all my project videos on youtube -> (https://www.youtube.com/channel/UCiQ9gT4d8wiPtqy7P05mGwA/videos)")
218
+
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ requests==2.28.1
2
+ streamlit==1.13.0
3
+ streamlit_lottie==0.0.3