Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

  • Days Won


samoan62 last won the day on October 7

samoan62 had the most liked content!

Community Reputation

138 Neutral

About samoan62

  • Rank

Personal Information

  • Role
    Amateur / Hobbyist
  • Interests


  • Github

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. samoan62

    Racing on a Pipe Through the City

    It is actually. If you go too fast over parts that curve too much you can fall off. Most of the track you won't though. On the part where you travel upwards and then downwards boosting will make you fly off every time. The physics work by simply looking at what section of the track the player is above and rotating the ship toward where it "should" be. However the player can move faster than the physics can correct for. It may sound like an accident, but I intended on this. If the player is always perfectly oriented the game feels a little too stiff. Having slightly imperfect physics makes racing feel a little wilder and more engaging I think.
  2. samoan62

    Racing on a Pipe Through the City

    The next track I've been working on really tests the game's physics and has the player racing on the outside of a pipe. I have another track that is curved upward like a halfpipe, so I wanted to try the reverse. I decided to go with a dark, futuristic, city setting with a yellow/black color pallete. For the scenery I made a 3 different towers with modular parts, although it's hard to tell there are only 3. I changed the finish line to a rotating disc since this track is not normal and flat like the others. In climax of track the player climbs the tube up into the sky, reaching a point above the buildings. The whole while the player must choose between driving over a healing strip (which will heal the player and allow them to boost more) or drive through the boost rings. In addition the healing strip snakes back and forth, making it difficult for the player to even use it. After getting to the top, the player is facing downwards toward the ground (around 0:34) and makes their descent back toward the finish line. I think this view is the coolest lol.
  3. samoan62

    Snow/Fantasy Themed Track

    Here I reached into my more artistic side and thought a snowy/fantasy themed track would be fun to include in Death Race. The concept behind this track started as an industrial snowy planet. However one thing I've noticed that successful Indie games have in common is that they tend to make liberal use of bright vibrant colors, so the track took more of that fantasy direction. I found a lot of really impressive unity skyboxes here and fell in love with the bright rainbow/fluorescent colors. I also added a snake dragon thing that flies around in the sky and gets close to the player. Thought it would be a cool touch. You'll also notice an electrical effect that spews bolts out behind the player as they surge through boost panels. I found a great tutorial on how to make electric bolt animations here. Hope you like it!
  4. Wow really cool. It seems like you could use this for a lot of things and also extend it to include support for more shapes/shaders as well. Keep up the good work!
  5. Typescript's main advantages are of course type safety and the ability to compile onto older versions of js. If you think that would help you with your goals then Godspeed! You'd probably end up using something like Three.js, which you should be able to set up with webpack . I just found a post here of someone trying to do just that. You'd probably run into a few pitfalls getting it set up, but depending on the complexity of your game I think it could be well worth it. I made a game in Three.js without ts, and I know that having type safety and those nice IDE features that come with ts development would've helped somewhat. It can be pretty cumbersome to create objects and enforce type safety without it.
  6. You could always just google for a good water normal map like this. If you wanted random noise to make the texture more dynamic like real water you could do something easy and hacky like just interpolate the normals over time between the original from the texture and the original's inverse.
  7. samoan62

    Designing collider for a table with a hole in it

    I suppose maybe a better question that might help would be, what do you need this type of collider for, and what do you need the physics to do? Many games get away with faking real physics and can do away with needing a huge complex collision detection system. For instance like lawnjelly said, if it's for a golf game suggestion #2 would be a pretty good idea. You could also fake golfing physics by splitting the problem into a few scenarios: golf ball approaches hole slowly and falls in if over the hole ball goes too fast and skims over the top of hole, but slows down and changes direction if approaching the hole on the side. If it's for something like Super Monkey Ball you might need something more precise and have to go with lawnjelly's #3 or #4.
  8. samoan62

    Slow Motion Game Effect

    Time.TimeScale in unity effects the physics of all rigid bodies. You can't target any in particular, so I think you are on the right track with this. In theory doubling the force on an object while halving the time scale should result in the same resultant velocity, but I think you maybe should be shooting for the same change of displacement over time instead in which case you should quadruple the force. I would be interested to see how unity would handle this and what it would do. I suppose you should also be comfortable making the assumption that only force vectors acting on your game object are moving it. This includes gravity and friction as well, you would need to apply the same multipliers to them.
  9. It's true that game engines handle most of the heavy lifting out there and aid you immensely as far as the graphics pipeline is concerned, but even if you do build a game on Unity or Unreal those usually don't get you all of the way there, especially when your game demands some more specialized advanced behaviors. Say you want to implement a seeing through walls mechanic. What this guy did here is nothing short of impressive. His solution was built on Unity but required a lot of ability as far as the graphics are concerned. What if you wanted to implement a wall jumping mechanic? Or a gravity on the walls mechanic? There are tons of cool things you can do to your game that OOTB free game engines don't have implementations for. I'm working on a racing game where the track twists and corkscrews, and I needed a mechanic that would apply gravity to only the track. Unity's built in physics weren't really that useful for me so I had to use some good ol' linear algebra to get things working right. </self-promotion> The point is no matter how much heavy lifting these engines do, there's always a ton of ways to get creative on top of them, and it's going to making things way easier for you if you come in equipped with some of that mathematical/graphical knowledge. The thing is a lot of big publishers still have dedicated teams working on in house engines that have their own rendering pipelines and physics engines. For example most Nintendo games are made on game engines that aren't publicly available. Id hasn't released their new engine they used to build Doom. A lot of these in house engines rely on various pieces of middleware from outside though, so they still need talented developers to string them together.
  10. samoan62

    How to make destructible asteroids?

    You could also simply render an asteroid as a collection of pieces of an asteroid clumped together and simply separate one or more from the pack when appropriate. Most games with destructible environments do a similar thing. They have predetermined shapes that larger objects are reduced to when destroyed, although usually they are made up of only one mesh beforehand. If you want to get into dynamic mesh fracturing, that gets a little more complicated. You'd need some method for dynamically separating the mesh, and joining vertices of the resulting meshes together to form multiple complete shapes.
  11. samoan62

    Attack Speed and Delay

    Yea, you effectively want to negate all the time that accumulates when paused. I always use this psuedocode in my scripts when dealing with a pause invariant absolute time. It's useful to write as an abstract class so inheriting classes can easily access time. float timePaused; float totalTimePaused = 0f; boolean paused; GetTime(){ if (paused){ return timePaused - totalTimePaused; } else { return Time.fixedTime - totalTimePaused; } } PauseGame(){ timePaused = Time.fixedTime; } UnPauseGame(){ totalTimePaused += Time.fixedTime - timePaused; }
  12. samoan62

    Short Intro and Game Summary

    Ok got it uploaded here. Sorry about the weird .mov download. Not trying to give anyone viruses.
  13. samoan62

    VR naked development

    I'm kind of in your same boat since I'm wanting to get into VR as well. Unity is pretty much the best option you have in terms of game engine technology since it has the most support. It supports occulus and Google cardboard. I'd probably invest in the latter since it only costs $20 or so to buy a headset to hold your phone to your face. Meanwhile an occulus rift is $400. I don't think VR has a large dev community behind it yet but these are definitely the way to go for now at least. As far as learning efficiently though, I don't think there really is a best way to do it. I don't really think you need a lot of structure as well. Here is a good tutorial for getting started with hooking up VR and Unity. If you follow a Unity or VR course though you may get a nice overview but neglect to explore important features useful to you or superfluous features you don't care about so much. I would just get up and start playing around in Unity. Create a new project to kind of use as a learning sandbox and just mess around and see what you can do. Maybe even look at some videos of VR games in action and use those as a basis for what you could try developing.
  14. samoan62

    VR in Unity

    I guess I should say that I'm not so interested in people actually playing anything I make or even making money. I've kind of accepted that that's just kind of how game development is. I kind of just want to explore a VR technology, but don't want to invest time in anything that will be obsolete in a few years and have no community of support. I'm a little bit motivated professionally too since I may soon be working for an ad agency that occasionally makes promotional vr apps. I guess I'm just wanting to know the best way to get my feet wet with vr.
  15. samoan62

    VR in Unity

    I was wondering if anyone here has experience with VR development for Unity. Having previous Unity experience, I'd prefer to stick with Unity but am open to other engines. It's something I've been interested in, and I'm wondering which community/technology is the easiest to use. An Oculus Rift costs around $400, so I'd rather not invest money in that if it doesn't have a big community and support behind it. Another option I was looking at was Google Cardboard for Unity. The guy here has a pretty good starter tutorial on VR dev for Android and the headset is only ~$20 and the Moga controller is only another 20 or so. This is definitely the most economical option, but I'd rather not go down that path if no one uses this technology or if VR on Android is crappy or something. The VR community doesn't seem like it's that big, so I'm having a hard time getting a feel for what's popular and what direction the technology is going.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!