Тёмный
No video :(

Technologies I used to Code My Backendless App 

Ben Awad
Подписаться 498 тыс.
Просмотров 147 тыс.
50% 1

voidpet.com/
I'm reviving my Discord and will be talking in it: / discord
#benawad #voidpet #VoidLog
----
Follow me online: voidpet.com/be...

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 328   
@CwithinC
@CwithinC 5 месяцев назад
Hi Ben, thank you for sharing this. I am an ex-product manager aspiring to break into software engineering / web dev. I've spent my first year full time learning how to code with Harvard CS50 and The Odin Project. Thank you for sharing this project and how you are going about building it. I want to build a similar app, so this video gave me a lot of direction on how and where to start. Wishing you continued success!
@Blazing_Hotmagma
@Blazing_Hotmagma 2 месяца назад
Did you do it?
@jrtm9632
@jrtm9632 Год назад
Backendles???? Okay let’s start throwing books out the window
@theairaccumulator7144
@theairaccumulator7144 Год назад
I give it 1 day before a hack comes out
@simplyzetax
@simplyzetax Год назад
@@theairaccumulator7144 I think its been online for a couple months now
@jrtm9632
@jrtm9632 Год назад
@@simplyzetax I’m guessing he meant local hacks, but unlike GTA I don’t think this will get the attention of giga chad developers to figure out hacks. Although I admit, a change in the svgs to a giga chad path would be kinda funny to see.
@OM-bs7of
@OM-bs7of Год назад
It's not literal, backendless / serverless is a misnomer
@Github_tech_with_ty
@Github_tech_with_ty Год назад
You've never heard of cache?
@abrahamjones3635
@abrahamjones3635 Год назад
I have had void pet for a month now and have enjoyed it so far, however I have a few suggestions. 1. Don't force the player to name aver pet they find, it gets annoying fast and players will eventually run out of good names. Naming your pet should be an optional thing instead. 2. Display the users void matter somewhere on the screen.
@turklerburada
@turklerburada Год назад
There is a random name generator on top right corner on name screen. I agree with the second one.
@Sprinkledsprinkles
@Sprinkledsprinkles Год назад
Yeah im tired of calling them things like "hydrogen monoxide poisoning"
@ayodeleabayomi3024
@ayodeleabayomi3024 Год назад
i think the idea is make it more deliberate..
@anshnanda
@anshnanda Год назад
random name generator for sure
@Uchiha-_-_-
@Uchiha-_-_- Год назад
I just name them whatever the emotion is
@LorenzoLeonardini
@LorenzoLeonardini Год назад
For the pet svg problem and the issue with having too many color combinations: you could export different-colored elements in a separate image, rendering them in layers. There should be some way to tint them. So you only have a handful of images in your app package, the only issue is that when you render a sprite you are actually rendering 4/5 images one on top of the others, but that might bet not that big of a problem
@hipno3477
@hipno3477 Год назад
I came across this problem as well in a unity project recently. The way i solved it was to use a single image/sprite and put every element i wanted to adjust in realtime either in the red, green, blue or alpha channel of the image. That way i could just tint each channel to a different color in a simple shader. Don't know if that approach would work in react but it's a pretty clean solution!
@traniel123456789
@traniel123456789 Год назад
CSS allows you to hue rotate the images very easily.
@JEsterCW
@JEsterCW Год назад
@@traniel123456789 but react native doesnt uses css and thats the problem
@wadecodez
@wadecodez Год назад
The problem is probably happening because he’s trying to persist too much data at once. He should remove objects and dom elements when they are not visible. Baking images would not only make it harder to update the layout but it adds a whole layer of complexity because images make separate network requests.
@deecewan
@deecewan Год назад
Yep react native does have tint - doing it in layers would also mean you still have individual pieces to animate too.
@JayPoncedeLeon
@JayPoncedeLeon Год назад
Really great Ben! I've thought about using React Native for a project before, and it's great to see your experience and get a peak at some of the underlying code with your thoughts!
@zachsanchez1644
@zachsanchez1644 Год назад
I love how half of these comments are legitimate suggestions / improvements. Building in public can attract so many helpful people! Great video covering your development/process regarding your app!
@mugen153
@mugen153 Год назад
@bawad, two optimizations on concurrent display of SVG-s on screen: 1. Render blank components in place of SVG when it is outside of viewport. With grid item lists you don't have to check every item, using math should do the trick. 2. If you would still need to convert to images, I am sure you could generate PNG assets from SVG-s at runtime with some library when you know the device screen dimensions (so that PNG-s are of an appropriate resolution for every device). You could do this on first load and cache the images to the device storage.
@wadecodez
@wadecodez Год назад
I would save the PNG rendering for absolute worst case scenario. Caching images is a huge pain because it makes separate network requests and he looses flexibility to manipulate svg paths. Selectively rendering content and manual garbage collection is the way to go.
@mugen153
@mugen153 Год назад
@@wadecodez Why should caching (storing) the images to the device (local) storage make any network requests at all? I agree with you on SVG paths manipulation though.
@addcoding8150
@addcoding8150 Год назад
Funfact: "zustand" is just german for "state". Same for "werkzeug" which is "tool-box". Idk why it is a thing but I'm always impressed how many names are just german in the end
@kilianendres7976
@kilianendres7976 Год назад
War halt wieder einer super kreativ haha.
@freedomextremist7921
@freedomextremist7921 Год назад
If encryption is done client side it sounds like every state can be edited if you just locate the private key.
@bawad
@bawad Год назад
🤫
@geeshta
@geeshta Год назад
API called datetime can also be cheated with a proxy
@bawad
@bawad Год назад
@@geeshta 🤫
@AdisonCavani
@AdisonCavani Год назад
Hello from my rooted android :)
@traniel123456789
@traniel123456789 Год назад
SVGs are great. I have recently been working on an industrial scada system and ended up using SVGs to render live LIDAR data in the HMI for sensor calibration. It works surprisingly well.
@KevinNaughtonJr
@KevinNaughtonJr Год назад
really love hearing about the behind the scenes of development of VoidPet Ben can't wait to hear more in future vids :)
@CardinalHijack
@CardinalHijack Год назад
Thanks for sharing. Inspiring me to get back to my side projects
@bagusamrullah4371
@bagusamrullah4371 Год назад
So Impressed by how React Native can be used to build project like this
@lolnein7216
@lolnein7216 Год назад
I think discord on phone is react native too
@feuerherz007
@feuerherz007 Год назад
​@@lolnein7216 and it sucks ... maybe i just hate the ui and how not smooth it is
@SogMosee
@SogMosee Год назад
and tesla app
@pastenml
@pastenml Год назад
Thanks you for this Angular/Ionic tutorial. I had no idea you could write Angular apps in this way.
@Menta_
@Menta_ Год назад
"zustand" is a german word and my brain had to double check when you pronounced it - thanks for the insight into your stack btw :)
@alexandrepereira6522
@alexandrepereira6522 Год назад
Hey Ben, at a first glance your SVGs looks quite compact but I'm pretty sure you can shrink the file size even more, I personally recommend the svgo library. You can also think about doing some SVG sprite strategies if needed. I noticed that the background/garden have most elements repeated, you can also think about something to optimize down this path.
@damionmurray8244
@damionmurray8244 Год назад
There are a few strategies you can use optimize your SVGs. For example, plotting the vertices that define the paths of your keyframes on a grid so that their coordinate values fall on whole numbers actually speeds up rendering. You could probably reduce the number of points your SVGs use as well. There are programs that do a good job of optimization, but if you can get a vector artist that knows how to do that manually they are likely to do a better job (for example, vector tools typically create circles using a cubic bezier curve with 12 control points, a vector artist with an eye for optimization can create near perfect circles using 9 control points). If you ultimately opt to migrate from vector to raster graphics go with PNGs. If you're clever about it, you don't have to generate thousands of variants of a Void pet. Break each Void pet design into component sprites that group/isolate shapes with the same color (think layers in Photoshop), then whip up some logic to apply palette swaps to each grouping (pretty easy to do, just change the R,G,B color channels and leave the Alpha channel alone) and then make a composite for a given variant.
@aseemlalfakawma5084
@aseemlalfakawma5084 Год назад
Great work Ben! Love the insight you provided, really inspirational. ❤
@kartikgarasia5685
@kartikgarasia5685 Год назад
Projet looks great ben! Why you choose not to use react-lottie for all the SVG animations? With help of after effects you can create even complicated animations for the pets. Also you can manipulate pet colors at runtime so that you can create even more variations by just looping them with different color values.
@bawad
@bawad Год назад
I like this idea
@theairaccumulator7144
@theairaccumulator7144 Год назад
Yup you can just have a base PNG and then overlay colors on it. Also unity would've handled this super basic game extremely easily while running on even the shittiest phone, classic web dev trying to make everything web moment.
@ShighetariVlogs
@ShighetariVlogs Год назад
@@theairaccumulator7144 I enjoy the concept of re-inventing the wheel! Your comment is reminiscent of soviet era logic *slips off sassy pants*
@rake1840
@rake1840 Год назад
@@ShighetariVlogs you single?
@ShighetariVlogs
@ShighetariVlogs Год назад
@@rake1840 nope, dating a data science queen 💜 I am lucky & blessed 🥹 maybe if she sees my RU-vid comment history I’ll become single tho 😂
@JEM_GG
@JEM_GG Год назад
Loved following this process Ben! Looking forward to trying the game out
@rog0079
@rog0079 Год назад
Great project ben! A request, could you please create a react native playlist with advance topics like RecyclerListView, Reanimated, Skia and other advance stuff, it would really help us out here! Anyway great job!!!
@drewbird87
@drewbird87 Год назад
Ben! Thank you for sharing the process and the tech. 🙏
@TMinusRecords
@TMinusRecords Год назад
The let go button looks like a positive action rather than a negative one with the star ball icon, to the point where I misread it as "let's go" and took it to mean they spend a while at a park or something and then come back. Permanently releasing pets should require more of a deliberate action, and be framed negatively
@FoodElitist
@FoodElitist Год назад
Pls more insight videos Ben 😊 I really like that you show production code. You should be proud! What about the business behind voidpet?
Год назад
Nice, coding an app with Expo and React right now, glad to see you recommend the same things I'm using 👍
@adivmt
@adivmt Год назад
Can we have a firebase notification with expo cli app ?
@TheATOMICGOBLIN
@TheATOMICGOBLIN Год назад
Thanks for the video Ben, I recently fiddled with expo and had the same conclusion. Much better than it was in 2019!
@gosnooky
@gosnooky Год назад
Damn... that node_modules directory must have its own gravity well.
@johndorian473
@johndorian473 Год назад
I love watching these log videos even though I don't understand the techy stuff
@jakescript_
@jakescript_ Год назад
Hey Ben, just wanted to say however data is being stored locally, if the app data is transferred to a new device. All user data is transferred as well. My girlfriend got a new phone and was happily surprised when she saw that all her pets saved transferring her data to her new device.
@bawad
@bawad Год назад
Oh sweet, didn't realize this
@IvyCatholic
@IvyCatholic Год назад
Ben, thanks for this video and all your great content. I made an app also with RN and expo called "TriviaLinked" and your discussion of animations/sounds is going to be really helpful as I try to improve the game! Thank you thank you thank you!
@TeddyBearItsMe
@TeddyBearItsMe Год назад
You could use the api call to tell the UTC time on game launch so you cant cheat and go to the future in any part of the app, not only the battle pass
@krishgarg2806
@krishgarg2806 Год назад
i was thinking similarly, like on launch just check if the device time is around the API time, if it is, then Date.now() can be trusted, otherwise use the api.
@Michko_
@Michko_ Год назад
but he said that he does not care if people cheat, he only cares about the battle pass
@JoshuaMcFarland
@JoshuaMcFarland Год назад
This works if progressing while offline isn't a feature. It kind of sounded like from the video that offline was though.
@saeedfarhadi1773
@saeedfarhadi1773 Год назад
This is just great. One small issue I had with the app is when I wanna close a menu (like the main menu or the one for nourishing the plants) I instinctively tap outside the menu (on the dark overlay behind it) but that doesn't close it.
@bawad
@bawad Год назад
Adding this now
@ascourter
@ascourter Год назад
Looks great! The SVGs definitely look crisp. Downloaded the app and works well on a Pixel 6!
@rickharold7884
@rickharold7884 Год назад
Super cool. Thanks for sharing ,love it
@fnfal113
@fnfal113 Год назад
Damn, great to see React Native has been utilized for this project which I wasn't expecting since its a game, huge fan of react native and this inspires me soon to make more apps using react native
@captainnoyaux
@captainnoyaux Год назад
yup I took the same choices regarding cheating some aspects of my game, if it becomes a massive hit you can still correct the weak parts (if you keep track of them, or just know which part is weak). Most of the users won't try to cheat the system
@user-bg9fg3ug6z
@user-bg9fg3ug6z Год назад
That's amazing work!
@SuperEssenceOfficial
@SuperEssenceOfficial Год назад
lol the steam effect is like a default particle system in unity. would take 5 minutes and no code
@seaweedglob
@seaweedglob Год назад
"They're lookin like Silicon Valley Bank" 😂 Too soon dude
@bripbrap
@bripbrap Год назад
stupid idea... could you not have a local build step on first launch that exports all the svg's at the correct scale to a texture atlas or something?
@wlockuz4467
@wlockuz4467 Год назад
I got a couple of questions, Did you look into Flutter before you decided on the framework? Have you tried Rive for animations?
@rakebullet5200
@rakebullet5200 Год назад
Yes, it would be interesting to know if you looked at Flutter at all.
@chabonrandom
@chabonrandom Год назад
Hey Ben, awesome as ever! Can you post a video with your though proccess of your design ideas and implementations? That would be super cool! Liked as always, keep it up!
@nikbivation
@nikbivation Год назад
thank you for sharing this!
@damionmurray8244
@damionmurray8244 Год назад
7:10 The SVB joke about SVGs is gold.
@rakeshpk4991
@rakeshpk4991 Год назад
Ver Helpful. Thanks 🎉
@quickmaths4762
@quickmaths4762 Год назад
You said the app is an offline-app. But in the end you said you make an API call to the time API. So it‘s like 95% offline?
@StephaneModesta
@StephaneModesta Год назад
I guess you have to be online to purchase stuffs in the store
@quickmaths4762
@quickmaths4762 Год назад
@@StephaneModesta Yeah true. Probably requires some extra code to check whether the connection succeeded and react accordingly if not (don't keep trying to send requests, just display "no internet connection")
@maggitrymbill
@maggitrymbill Год назад
Highly recommend react-native-skia instead of svg's for animations and vectors in general. Sure, it's not officially production ready but it's damn stable, stays away from the js thread and it's relatively easy to convert svg's to it.
@yerneroneroipas8668
@yerneroneroipas8668 Год назад
not the silicon valley bank dis at 7:10 lmao
@BitCloud047
@BitCloud047 Год назад
Very cool man! Just downloaded it!!
@vezquex
@vezquex Год назад
The radial menu is a nice touch.
@jatinhemnani1029
@jatinhemnani1029 Год назад
Really great Ben
@MyzIcyBeatz
@MyzIcyBeatz Год назад
Thank you Ben
@kymzTech
@kymzTech Год назад
You could make use of Lottie files for the smoking animation
@tabah9028
@tabah9028 Год назад
As a German it is always funny how "Zustand" gets pronounced
@OverAndOverAndOver
@OverAndOverAndOver Год назад
1:29 "well, I take a sensible approach and *dont* harvest your data"
@javierpizarroortega1891
@javierpizarroortega1891 Год назад
Congratz on the project ! Looks pretty dope ! Think you will be making tutorial in the future, or no time? hahah Greetings from Chile!
@Liam.Stevens
@Liam.Stevens Год назад
Thanks for info. What tool did you use to draw the SVGs (output in svg format)
@alvapazz
@alvapazz Год назад
Love it thanks
@benrobo8
@benrobo8 Год назад
Great video Ben.. I saw you made used of the `tw` package. What the difference between using that and the default tailwind setup a d config for react-natjve app? Isn't it the same, or is there any difference towards using that package?
@nils7285
@nils7285 Год назад
„crappy mobile phones.. they dont look good like silicon valley bank“🤣
@SonAyoD
@SonAyoD Год назад
Amazing content!
@akaTelo
@akaTelo Год назад
"They're looking like silicon valley bank" loll 😆
@joja2174
@joja2174 Год назад
successful people want others to succeed thank you for sharing your code with us
@windmaomao
@windmaomao Год назад
Thanks for the video, I enjoy watching it Ben. Just a quick question, why you say backendless, which part I need to store information? I don't think I got this part. You mean registration?
@shinodinhaa
@shinodinhaa Год назад
nice to see a project from the great Ben Awad built so similar I built my projects. The only difference is that I alias my root hahaha
@juangutierrezgutierrez4711
@juangutierrezgutierrez4711 Год назад
Is that the default vs code theme? Or what is that?
@itsanishjain
@itsanishjain Год назад
Best dev of our time
@mrthinger
@mrthinger Год назад
For the trusted time source, someone could still cheat by having their own DNS server point to an IP they own. So you could make the time return whatever you want still.
@ndukachukz8067
@ndukachukz8067 Год назад
please make a video on how you build measurable optimized mobile applications and how you would improve or apply measures/logging and optimizations to existing applications
@MrErdkamp
@MrErdkamp Год назад
Can't you store some data in the Google Play / Game Center account? I Never used it but seems that some games use it to store state between devices. App is looking great!
@lolotronop
@lolotronop Год назад
It sounds like you are using the Adobe voice enhance ai thingy. Nice! Much better then being stuck with a roomy recording
@felixinfinita3777
@felixinfinita3777 Год назад
You can make 1 png that supports as many colors as you want. Instead of drawing with visible colors you draw color id for specific region and then you can have a separate color palette that reassigns each color id with a particular color. Also the whole svg thing seems like a mess, of course that's the tool that you or your team is most familiar with, or more suitable for web. But giving an example that the device cannot render/animate more than 3 at once is like a joke, the average phone has capabilities to render hundreds of thousands of animated sprites at acceptable framerate (even inside a web browser when using something like WebGL).
@Reatret
@Reatret Год назад
Am I correct in assuming the graphics are all done with UI elements? If so, why did you opt for this instead of using a graphics library?
@Mithrandido
@Mithrandido Год назад
Amazing work Ben. I am doing closed testing on my startup app with React Native. Just curious, what did you use for the notifications?
@tom-moroney
@tom-moroney Год назад
Can you make the haptic feedback less aggressive. My phone practically jumps out of my hand every time I click a button. If you could just make the strength of the vibrations weaker on Android, that would be great.
@while-loop
@while-loop Год назад
Revenuecat is a godsend
@olegsilkin8507
@olegsilkin8507 Год назад
Expo is like the Vercel of the React Native world.
@Soulis98
@Soulis98 Год назад
Is good?
@olegsilkin8507
@olegsilkin8507 Год назад
@@Soulis98 Is very good, they have a CI/CD pipeline already configured so that your project can be uploaded to their cloud and automatically built as an Android APK or an iOS App. Publishing the apps can be done directly through the CLI, and then you will just need to perform some extra effort on Apple side of things to actually publish the app.
@Soulis98
@Soulis98 Год назад
@@olegsilkin8507 I see all over the Internet that RN is absolute trash. Is this a huge exaggeration?
@olegsilkin8507
@olegsilkin8507 Год назад
@@Soulis98 I've never seen anybody saying that but I definitely wouldn't consider it trash. If you have a web development background, it will be far easier to put something together using React Native than natively coding everything together or using Flutter. React Native used to not be so great, but the Expo ecosystem has largely changed that. Not to mention, many of the packages you are used to in React exist within React Native, so it benefits from the greater React ecosystem as well.
@olegsilkin8507
@olegsilkin8507 Год назад
@@Soulis98 In this video, Ben also mentions that he's making use of Zustand, which is a state management library developed that has learned from the mistakes of a certain previous state management library in the React world. I'm not sure what the situation is like for native development or Flutter, but it helps a lot to have these developed tools that are being used and maintained by many other large projects.
@RealEngineer
@RealEngineer Год назад
Man.. And me that was naming my pets in SQL statements hoping they would align up in the void somewhere to drop your table.
@NithinJune
@NithinJune Год назад
I missed watching your devlogs
@NithinJune
@NithinJune Год назад
10:09 Couldn’t you bypass this by spoofing this API server? like you could install a custom DNS server on your phone that redirects the API traffic to a server you control. Then you could issue a certificate for it and then manually install that Certificate on your phone as well.
@_chappie_
@_chappie_ Год назад
Wouldn't decompiling the app reveal your encryption key though?
@quachhengtony7651
@quachhengtony7651 Год назад
You considered Unity. Does that mean you know C#?
@henriquematias1986
@henriquematias1986 Год назад
Thanks for the video, really cool stuff... How did you / expoert the animations for the SVGS?
@pokefreak2112
@pokefreak2112 Год назад
"yeah our framework can handle about 3 wiggle animations before lagging hard" modern software is a joke
@Colstonewall
@Colstonewall Год назад
"ENTER THE VOID!!!"
@riolly
@riolly Год назад
There is no framer-motion equivalent for react native. So yeah, I guess reanimated is the go-to for react native.
@AdisonCavani
@AdisonCavani Год назад
Why aren't you using import aliases? It will simplify your imports: - import { ... } from "../../../../ui/myComponent" - import { ... } from "@/ui/myComponent"
@chefk5
@chefk5 Год назад
You could use flashlist instead of recycler list view
@barry_allen
@barry_allen Год назад
BEN.....please give the "Are you confirm" alert popup after the "let go" button , I accidentally pressed and my pets just gone...and also the feeling that one day I'll press that button accidentally giving me PTSD
@bawad
@bawad Год назад
There’s an undo button at the top
@Narc0YT
@Narc0YT Год назад
For the colours and pets, what about using a PNG and then creating a layering algorithm to apply the separate colours to specific areas? Idk, maybe it's less efficient, I guess you lose the possibility to scale the image
@msolano00
@msolano00 Год назад
This guy should use Angular for his game
@FunctionGermany
@FunctionGermany Год назад
couldn't the time API thing be easily circumvented by using a local DNS and installing self-signed TLS certs on the device?
@mostafaelkaramany1363
@mostafaelkaramany1363 Год назад
A piece of advice that helped me in my React Native projects: use a module resolver.
@MirkoSaugo
@MirkoSaugo Год назад
I suggest u to set the paths and baseUrl options in the tsconfig file in order to have a clean import inside the component
@maskman4821
@maskman4821 Год назад
Pretty awesome, this is a professional game, you did a great job 👍😘😀😍
@WolfrostWasTaken
@WolfrostWasTaken Год назад
"Backendless App" What a nice way to call a singleplayer game 🤔
@gaborkrisko
@gaborkrisko Год назад
I love zustand
@Cappell7
@Cappell7 Год назад
What did you use to style the UI? I starting a new large React native project and was wondering what is the best way to style in react native expo. I've seen people use tailwind with native wind?
@KevinKvnk
@KevinKvnk Год назад
Yes. We need more games not needing an online connection 👍
@rlBrave
@rlBrave Год назад
"zustand" is actually the german word for "state". And is pronounced "tsoostand". 🙃
Далее
Serverless Doesn't Make Sense
10:13
Просмотров 365 тыс.
Chelsea gym be like.. 😅⚽️
00:20
Просмотров 14 млн
Кого из блогеров узнали?
00:10
Просмотров 634 тыс.
My App has More Complicated Animations Than Yours
9:35
Why I don't work for FAANG
8:26
Просмотров 794 тыс.
How principled coders outperform the competition
11:11
Why You Shouldn't Nest Your Code
8:30
Просмотров 2,7 млн
How to Roll Your Own Auth
13:05
Просмотров 98 тыс.
Mobile Devs Hate Servers. Expo Wants To Fix That.
16:05
Why React Native is NOT garbage.
10:31
Просмотров 511 тыс.
world's shortest UI/UX design course
6:53
Просмотров 1,2 млн
Chelsea gym be like.. 😅⚽️
00:20
Просмотров 14 млн