Coroutines

This week I have managed to get coroutines working properly in Garry’s Mod. I am almost positive that no-one cares about coroutines but maybe that’s because they’ve never worked properly? The problem was that coroutines create a new lua_State. But my main Lua class stores the main Lua state and almost all of the bound … Continue reading Coroutines

Paths

So, part of the NextBot stuff is the idea of Paths. They’re pretty cool. You give it a target position and it will try to create a path to that place. Not just a simple path – but they can include jumping over gaps, and climbing up ladders. They’re stupidly easy to use too. I’m … Continue reading Paths

Noticed you said about open sourcing Botch. Just want to express my interest in that – there’s a few things I’m interested in, mainly your Squirrel implementation. I hate when people ask for source but I just thought I’d show an interest so it’s at least worth the time throwing it up on github or whatever.

I don’t think my squirrel implementation got very far. I remember thinking that the whole engine should have been designed with the scripting language in mind - rather than trying to squeeze it in afterwards.

I remember a long while back you were working on your own game engine. Whatever happened to that?

I keep meaning to release the source to it. Although it was a great learning experience, it was going nowhere. We’ve got enough money to buy a premade engine.. With a bunch of premade tools.. And an established workflow. I don’t think of bother with my own engine unless I was making a 2d game, … Continue reading I remember a long while back you were working on your own game engine. Whatever happened to that?

You said, you would like to make new games. Will you use Source Engine for a 3D game? What would you use for a 2D game? Are you planning to code for Android/iOS?

I don’t think I’d use the Source Engine. If only because the licensing details aren’t exactly crystal clear. It’s great that it works on OSX and Linux though. It really depends on the game I was making. If I was making a 2D game I’d be tempted to make my own engine.. but I would … Continue reading You said, you would like to make new games. Will you use Source Engine for a 3D game? What would you use for a 2D game? Are you planning to code for Android/iOS?

What do you plan to do with Garry’s Mod when the inevitable Source 2 comes out? Maybe make a Garry’s Mod 14 and maintain both projects? Or will it be more of a transition to the new engine and phase out the old one kind of thing? I imagine it probably wouldn’t be backwards compatible with any of the current Source games/assets if rumors are true about Source 2 being a complete rewrite…

I’ll probably make GMod 13 free and make “Garry’s Game” on Source 2.

Hey Garry, I was just wondering, could you do a post about learning to code? I’ve probably wasted so much money on different textbooks, and I end up going through them several times but come out knowing only how to use the basic functions with no application to anything what so ever. Is there a language you recommend picking up first? Thanks for the help!

First of all you need a reason to code. You can’t just say I want to learn to code - and then be able to code. It’s mis-targetted. You need to think about WHAT you want to code. You want to code a game? Cool. What type of game? You want to make a game … Continue reading Hey Garry, I was just wondering, could you do a post about learning to code? I’ve probably wasted so much money on different textbooks, and I end up going through them several times but come out knowing only how to use the basic functions with no application to anything what so ever. Is there a language you recommend picking up first? Thanks for the help!

Dear Garry when do you plan on upgrading the Workshop Uploader tool to hold more memory and less crashes on big files?

Yeah! Valve updated workshop to support files up to 200mb - but I need to add support for it. This will happen some time in January I’m hoping. I plan to make the workshop uploader tools command line tools.. and make a GUI for them. I figure this will give people the best of both … Continue reading Dear Garry when do you plan on upgrading the Workshop Uploader tool to hold more memory and less crashes on big files?

Would you use something like Unity, UDK or CryEngine for a new game or would you code everything from scratch?

Yeah, for sure. We’re already prototyping a game using Unity. As fun as coding an engine from scratch is to me personally.. from a business point of view it makes more sense to pay a few shekels for Unity and have a ready to work with engine. A lot more sense for us than working … Continue reading Would you use something like Unity, UDK or CryEngine for a new game or would you code everything from scratch?

Christmas is comming. How do you celebrate Christmas and could you post a photo of your Christmas tree (if you have one)?

I’ve lived on my own for about 5 christmases now, and I’ve never had a christmas tree before. Not because I hate christmas or anything, I just never saw the point. It’s like buying yourself a birthday cake. But Sarah has been bugging me about it - and really wanted one.. so we got one … Continue reading Christmas is comming. How do you celebrate Christmas and could you post a photo of your Christmas tree (if you have one)?

Have you considered making Garry’s Mod or GMod for xbox 360, PS3, Wii U, Etc.? if so would we have all the same things that the PC version have?

There’s a bunch of reasons why this won’t ever happen I hate playing first person games on consoles Consoles lack community modding capabilities - which is one of GMod’s main strengths Menu system would have to be severely dumbed down Super low FPS would be pretty much guarenteed I would hate to go through a … Continue reading Have you considered making Garry’s Mod or GMod for xbox 360, PS3, Wii U, Etc.? if so would we have all the same things that the PC version have?

Two questions. First, which kinect do you use currently? the xbox360 or windows one? and secondly, are we ever going to see SFM integrated with GMOD? i could really find being able to use the SFM jump-in-game-engine thing would be extremely helpful in almost everything. Plus it would be awesome. I love everything you are doing with gmod now and i hope you keep it up! i just thought i would ask and see if you had any plans with SFM.

I use the 360 kinect. I’d love to integrate SFM into GMod.. I don’t know how possible that is - or whether letting us use it is included in Valve’s plans.

It’s amazing to me that you still work on Garry’s Mod regularly after all these years. Does it continue to support you financially in a notable way? Have sales gone up or down over time? I remember reading that the developers of Amnesia were worried they were going to go out of business and sales just increased slowly over time due to modding and new players until they were making so much from late sales they were comfortable with making two new games.

Sales have gone up by about a third every year since release!

What inspired you to use the Kinect? Do you have an interest in VR, or is it just something you’ve seen others do?

Like most people I had a kinect in a drawer. I’ve wanted to implement it into GMod for the longest time. I saw the lead to connect it to the PC on amazon - and I added it to my cart. I guess I never did it before because using the open source drivers, and … Continue reading What inspired you to use the Kinect? Do you have an interest in VR, or is it just something you’ve seen others do?

CoD or Battlefield?

Right now.. Battlefield. I used to like COD a lot, but battlefield’s engine just seems years ahead. I hate the fact that it matters - because it should be about the gameplay - not the engine. It just feels like I’m playing a 10 year old game when I play COD now.

So we’ve seen what we CAN do with this new Kinect input, which is amazing by the way, but HOW are we going to do it? Will it be a tool like the balloon or weld tool? Or will it require console commands?

I’m not a fan of forcing people to use console commands. Here’s how it works.. Spawn a ragdoll: Hold ‘C’ and right click on it: Choose ‘Control with Motion Sensor’.. and it spawns a kinect model. The ragdoll will be orientated according to this model. You can drag it around with the physics gun, or … Continue reading So we’ve seen what we CAN do with this new Kinect input, which is amazing by the way, but HOW are we going to do it? Will it be a tool like the balloon or weld tool? Or will it require console commands?

Why Javascript? Why not, say, python? Javascript’s always struck me as uh.. I’unno, a language we use because it’s accessible and easily interpreted, not because it’s “good” in any way.

I have a web programmer background, so it’s something that I’m used to. I like javascript, I like how close it is to c. It’s also got a lot of investment behind it - because it’s used everywhere.. so you’re not going to struggle to find super fast implementation.. like Google’s V8. It’s safe to … Continue reading Why Javascript? Why not, say, python? Javascript’s always struck me as uh.. I’unno, a language we use because it’s accessible and easily interpreted, not because it’s “good” in any way.

Have you looked at the indie game Natural Selection 2 by Unknown Worlds? It seems to have a similar modding structure to Garry’s Mod whereas (Correct me if I’m wrong) the C++ engine is manipulated via various lua scripts. Do you find this practice more appealing only to indie developers? In a technical sense how would you change Garry’s Mod if you had the time/money etc.?

Having a scripting language makes everything easier.. and more moddable. If I could do it again I’d use javascript instead of Lua.

Re: releasing commercial Kinect software. I’m working on a Kinect project that I planned to sell over Steam when finished. I was initially using the Microsoft Kinect SDK. However, while you can develop for the Xbox Kinect (which everyone owns), you can only release software for the Windows Kinect (which, like, no one owns). I even verified this by email with the MS SDK team. So, I made the switch to the OpenNI SDK. What are you using for GMod?

It’s a good point. I don’t really understand how that’s meant to work though. Are you meant to detect the 360 Kinect and not allow it? Is that even possible? Or are you meant to just pretend like the 360 Kinect doesn’t work? Switching to one of the open source solutions does make a lot … Continue reading Re: releasing commercial Kinect software. I’m working on a Kinect project that I planned to sell over Steam when finished. I was initially using the Microsoft Kinect SDK. However, while you can develop for the Xbox Kinect (which everyone owns), you can only release software for the Windows Kinect (which, like, no one owns). I even verified this by email with the MS SDK team. So, I made the switch to the OpenNI SDK. What are you using for GMod?