Code Monkey

2.7K posts

Code Monkey banner
Code Monkey

Code Monkey

@UnityCodeMonkey

Teaching Game Development and Programming using Unity and C# https://t.co/YvPfuTJmIz

Tham gia Nisan 2018
160 Đang theo dõi25.8K Người theo dõi
Tweet ghim
Code Monkey
Code Monkey@UnityCodeMonkey·
🎮Complete FREE Unity Course! For Beginners and Intermediates Learn to make a Game with high quality clean code! #unity3d #gamedev #indiedev
English
25
78
509
50.8K
Code Monkey
Code Monkey@UnityCodeMonkey·
Differences between RPCs and NetworkVariables in Unitys Netcode for Game Objects
English
0
0
3
17
Code Monkey
Code Monkey@UnityCodeMonkey·
#### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### #### ANSWER #### (C) Time.timeScale does NOT affect Time.realtimeSinceStartup or Time.unscaledDeltaTime If you're animating buttons on a Pause Menu make sure you use Time.unscaledDeltaTime so they still animate when the game is paused. Alternatively you can make your own custom Update(float deltaTime); logic in order to allow your scripts to update at certain rates. For example this is exactly what I've used in all my Tycoon games in order to have control over the time (3x speed)
English
1
0
5
328
Code Monkey
Code Monkey@UnityCodeMonkey·
Which of these are affected when you modify Time.timeScale? A) Time.deltaTime, Time.realtimeSinceStartup, Time.unscaledDeltaTime, Time.timeSinceLevelLoad, Time.fixedTime B) Time.deltaTime, Time.realtimeSinceStartup, Time.timeSinceLevelLoad, Time.fixedTime C) Time.deltaTime, Time.timeSinceLevelLoad, Time.fixedTime (answer in reply below)
English
1
0
13
877
Code Monkey
Code Monkey@UnityCodeMonkey·
A question I see often is "How do I stay motivated to finish my game?" My best advice is to NOT rely on Motivation, and instead rely on Self-Discipline. Motivation is something that you have no control over, it comes and goes, it's random. Whereas Self-Discipline is something you CAN control. If you truly want to make games as a professional (there are no rules if you're just making it for fun) then you need to treat it like a professional task. Meaning you need to do what you NEED to do whether you feel like it or not. There's not magic answer beyond that, it's just how it is. Good thing is how Self-Discipline is a skill that you can learn! I used to be terrible, back when I started making a living from my games and I tried to force myself to work it did not go well. I was only able to force myself to work about 2 hours per day and that was it. But over time I focused on learning that skill and nowadays I can work 8-10 hour days without issues even if the thing I need to do isn't something I particularly feel like doing. If it has to be done then it has to be done.
Code Monkey tweet media
English
5
2
28
1K
Code Monkey
Code Monkey@UnityCodeMonkey·
QUICK 4 Step Process to publish your FIRST GAME!
English
2
7
76
2.5K
Code Monkey
Code Monkey@UnityCodeMonkey·
**The STATE of VR in 2026!** VR is awesome technology! It is amazing to be fully immersed in a world, using your actual hands and body to take actions or just live in that world. GDC was last week, Meta invited me over as part of their Horizon Insiders program so I spent a lot of time watching talks and researching the current state of the VR industry and development which was something I was very unfamiliar with. The quick summary is how VR development is easier than ever before thanks to awesome tools, and the industry (while still being niche) has a lot of potential for growth in the coming years. Check out the full post: gamedevreport.beehiiv.com/p/the-state-of… #MetaGDC #GDC2026 #MetaHorizonPartner
Code Monkey tweet media
English
5
14
93
7.5K
Code Monkey
Code Monkey@UnityCodeMonkey·
@JLR_Games heh it took me a long time and a lot of effort to get to where I am today! It took me 5 years to gain the courage to start using camera in my videos
English
0
0
1
11
JLR Games
JLR Games@JLR_Games·
@UnityCodeMonkey Would never have guess this from your videos, you seem cool as a cucumber in them! 😎 To put ones self out there is a big step and I applaud anyone who is willing to do it.
English
1
0
4
39
Code Monkey
Code Monkey@UnityCodeMonkey·
Honestly if your goal is to overcome social anxiety then conventions are actually great! I am speaking as someone who has suffered from extreme social anxiety and been an extreme introvert all my life. The first convention I went to I was in a permanent state of a panic attack. My first Unite conference I remember going back to my hotel room at night completely exhausted shaking all over, and terrified that the next day I was going to have to go through it all over again. However every single convention that I've been to I've gotten better and better. Now after going to about 8 events I am finally able to fully relax and just enjoy my time there. This time at GDC I spoke to something like 50 people and I really enjoyed it, whereas a few years ago that would have terrified me. I also did a mini-talk in front of 20 people which is also something that a few years ago would have been unthinkable, but now it was challenging but doable. I'm planning to keep doing a few more mini-talks like that until hopefully one day I am confident enough to do a proper normal talk to a normal sized audience. So if that's your goal I would highly encourage you to try it out, to me it has been life-changing! Best of luck in your journey!
Nomad (or JC)@NomadsRespite

@UnityCodeMonkey I’m not looking forward to this. Not because of having to pay for it or anything monetary based, it’s because of social anxiety and the necessity to have some kind of barrier between me and all the people. Of course, I don’t know if ttrpgs have a con to begin with.

English
4
0
43
1.7K
Code Monkey
Code Monkey@UnityCodeMonkey·
Sadly it seems interest in VR is still low, it's an awesome magical industry but I guess still quite niche. I will still do a Getting Started tutorial though
Code Monkey tweet media
English
20
1
59
3.1K
Code Monkey
Code Monkey@UnityCodeMonkey·
@bozoid What? You genuinely cannot find quality in VR nowadays? Beat Saber? SUPER HOT? Batman? Gorilla Tag? UG? I guess everyone has their own taste but it's pretty surprising that literally nothing interests you
English
1
0
1
312
Code Monkey
Code Monkey@UnityCodeMonkey·
@BeezyManzell Great use case! Just make sure you also ask it WHY the specific architecture it came up with is good.
English
1
0
1
149
Beezy
Beezy@BeezyManzell·
@UnityCodeMonkey As a still newbie, I need help with architecture, and AI is good here because it will make decisions while I weigh options.
English
1
0
4
174
Code Monkey
Code Monkey@UnityCodeMonkey·
Is NOT using AI a disadvantage? On this question I would say the answer is it really depends on how you use it and whether or not it fits into your workflow. Personally I don't use AI for writing code because I find it's faster for me to write it myself rather than ask the AI to write and then have to validate it. However I only reached that conclusion after I tried including it in my workflow and realized that nope I am faster and better just by myself. If you try it and it helps you and if you intentionally NOT use it then technically you are putting yourself at a disadvantage. When it comes to AI generated sprites, they can be quite useful during the prototyping stage to make it more visually interesting than a grey cube, so for that task it's probably a good thing, although getting sprites from the asset store would also work. For me if I were unable to use AI for game dev it wouldn't change too much in my current game dev workflow. I would still be writing all the code myself and my prototypes would be grey boxes. On the content creation side, I use AI to help me make thumbnails, I use it to help me make shorts, for idea generation, generating tags and short descriptions for videos as well as timestamps and brainstorming titles. If I was forced to NOT use AI and had to do all those things manually I would indeed be at a disadvantage. So always remember how AI is just another tool in your toolbox, that's it, and as with any tool you should analyze your own workflow to see if it's a tool that helps you or not. If it helps you then use it, if not then don't use it, simple!
Code Monkey tweet media
English
13
1
48
2.4K
Code Monkey
Code Monkey@UnityCodeMonkey·
Is going to industry events or game dev conventions worth it? This is a very important question and there is some debate on what is the best answer. Networking is objectively awesome, I think finding like-minded people can help you a ton in your journey. In those events you can find people to help fund or publish your game, you can find mentors or people that just give you one super important tip, or you can find other people on a similar path to you that might end up becoming your co-founders. Those are all great outcomes. However those events are not free, some of them can be really expensive, so it really depends on the cost. For example a trip to GDC might cost you something like $5000 (if you're in Europe). At that cost I would say it's likely not worth it for small indie devs. If you can attend one of those events free or for cheap then I would say go for it. If it's just one uber away then definitely attend since the pros likely greatly outweigh the cons. Same things applies for actually exhibiting your game in some of these conventions. In terms of gathering wishlists it is likely not worth it, but in terms of networking it might. If it's near you and cheap it then the tradeoff might be worthwhile. But for every other case it is likely too expensive to be worth it.
Code Monkey tweet media
English
8
2
34
1.8K
Code Monkey
Code Monkey@UnityCodeMonkey·
@STC267 That's interesting! I wonder if the next Quest will have eye tracking
English
0
0
0
82
Code Monkey đã retweet
samyam ☆ Bust Buddies → on Steam ☆
my latest indie game release completely flopped with less than 100 copies sold. we spent around 7 months working on it and while there was a lot of stuff i could have done better i learned a lot from my mistakes and will keep on improving!
English
47
15
579
34.5K
Code Monkey
Code Monkey@UnityCodeMonkey·
@heftypuma What? What part of that isn't understandable? How is that a non sequitur? Coupled code equals tons of technical debt, decoupled code equals less technical debt. Are you saying there's no technical debt if you write 100 classes that each calls upon 100 other classes?
English
1
0
0
25
Hefty Puma
Hefty Puma@heftypuma·
@UnityCodeMonkey Your code should be as decoupled as possible so you don't end up in a mess of technical debt. - non sequitur
English
1
0
0
18
Code Monkey
Code Monkey@UnityCodeMonkey·
What is the correct way to show a variable in the Editor? A) public int health; B) public static int health; C) [SerializeField] private int health; D) private int health; (answer in reply below)
English
11
2
19
6.8K
Code Monkey
Code Monkey@UnityCodeMonkey·
I guess I'm just too used to hearing people say "the only way to make it in game dev is if you have no life" and I always heavily disagree with that. Game Dev is indeed very time consuming but it doesn't have to be ALL consuming. I'm not sure what you mean on the "disagree with make small games", I guess you're saying you disagreed with one of my previous posts and I said something? Sorry I reply to hundreds of comments every day so I don't remember what each person does or says, so my reply was really just to your comment "Step away from electronics" and not really related to any other conversation we might have had previously.
English
0
0
0
9
Proper Duck 🎮
Proper Duck 🎮@ProperDuckGames·
@UnityCodeMonkey I feel like you went on the defensive here. Just because I disagree with "make small games" doesn't mean I'm out to get you at every corner. You asked for tips, as a 9-5 dev, I felt qualified to provide some. PS. As a gym goer, I've defended your right to show off your abs.
English
1
0
0
18
Code Monkey
Code Monkey@UnityCodeMonkey·
Any tips on how to manage mental energy to be able to work on projects / study gamedev after a 9 to 5 job? This is a really tough task! So I think the first thing is just to acknowledge that if you're doing game dev after a 9-5 then you're doing it in hard mode. Therefore if you're doing this and it feels hard then that's normal, you're not "weak" or anything, it's just a very tough challenge to do game dev this way. In practical terms I would say focus on doing one thing, no matter how small, every single day. Even if it's just 10 minutes per day, if you do that consistently then over the course of 6 months you will have built a ton of stuff. I always recommend consistent daily practice, over not learning or doing anything for 5 days, and trying to cram it all in the weekends. Daily practice is always a lot more effective. And even more practically, to-do lists! I'm a huge believer in to-do lists, that's the very first thing I do when I wake up, I drink my tea and write my to-do list for that day. Then when I don't know what to work on next, I just look at the to-do list and pick the next task. That way I don't waste time thinking "what do I work on next?" I just pick something from the list. But yup it is a challenging path, best of luck!
Code Monkey tweet media
English
13
3
61
2.3K