Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 01 Dec 2012
Offline Last Active Nov 26 2013 12:42 PM

#5025358 C++ or other programming languages!

Posted by on 25 January 2013 - 12:42 AM

I know how to use C++, C#, Python, Boo, Unityscript and I am from California.  Not sure how location correlates to the computer language you know.

#5025336 Made a bunch of easy to follow unity 3d tutorials

Posted by on 24 January 2013 - 10:16 PM

For anyone who is new to video game development I have been creating a bunch of easy to follow Unity 3d tutorials covering lots of different scripts that can be easily added to your games. Also in most tutorials go over each part of the scripts. Hopefully you guys find them helpful smile.png Also always taking requests for new tutorials.



Looks really nice.  Wish it was out sooner instead of wasting my time with other tutorials that didn't really have much pizaz. Maybe a suggestion on a basic game with network, nothing complicated.  Just to help jump start people with network API or what ever is used for Unity.


Hey, I have liked playing with Unity and have learned a bunch.  The thing is I have been finding it difficult to have a game out because of don't have any models to use except stuff I take from a bunch of places, which don't even have a same theme.  Do you create games all on yourself or you have a team to push games out focusing in your own discipline. 

#5025038 Unity 3D Gotchas?

Posted by on 24 January 2013 - 02:51 AM

haha, check what I found http://unitygems.com/mistakes1/

#5024964 Unity 3D Gotchas?

Posted by on 23 January 2013 - 07:59 PM

Here are some good practices when using Unity.


#5021232 C# Tutorials - For Unity

Posted by on 13 January 2013 - 06:14 PM

If you know how to read code and understand your language syntax and methods it isn't difficult at all to use any tutorial.  I am following tutorials that use Unityscript and I transfer all my code as Boo. Sure I get bumps on the road like with 'yield WaitForSeconds' should be StartCoroutine for C# and Boo.


Use google, you will find some, but you will find better tutorials being done in Unityscript because it is a popular choice for beginners.

#5018487 How is my programming format

Posted by on 07 January 2013 - 01:26 AM

I tend to be a bit picky as to how I format my code. Just wondering if all this is necessary and also if the some what obvious functions like ApplyGravityForce() and HandleEvents() are even worth while?
class TwoDPlatformController ( MonoBehaviour ): 	
	public walkSpeed   as single     = 6.0F
	public runSpeed	   as single     = 10.0F
	public jumpSpeed   as single     = 8.0F
	public gravity     as single     = 20.0F
	public doubleJump  as bool       = true
	public midAirJumps as int 		 = 2
	private moveDirection as Vector3 = Vector3.zero
	private curNumJump as int        = 1
	private controller as CharacterController
	def Update():
	def PlayerMovement ():
		controller = GetComponent(CharacterController)
		// While character is grounded allow to jump and horizontal movement
		// Player is restricted in jump movement.  One way jump if double jump disabled
		if controller.isGrounded:
			moveDirection = Vector3( -1 * Input.GetAxis('Horizontal')*walkSpeed, 0, 0 )
		//Player is in the air
		controller.Move( moveDirection * Time.deltaTime )
	def SingleJump ():
	// Immediately present number of allowed mid air jumps when landed
	// Allow player to jump
		curNumJump = 1	
		if Input.GetButton( 'Jump' ) or Input.GetKeyDown( 'w' ):
			moveDirection.y = jumpSpeed
	def ExtraJump ():
	// Allow player the capability to jump multiple times in mid air
	//  Number of times is based on 'midAirJumps'
	//  Once limit is reach player must land before jumping again
	// When jumping horizontal movement is unlocked for that jump then it will be locked again
		if (Input.GetButtonDown( 'Jump' ) or Input.GetKeyDown( 'w' )) and doubleJump:
			//Player has not met his extra jumping limit
			if curNumJump < midAirJumps:
				moveDirection = Vector3( -1 * Input.GetAxis('Horizontal')*walkSpeed, 0, 0 )
				moveDirection.y = jumpSpeed
				curNumJump += 1	
	def ApplyGravityForce ():
		moveDirection.y -= ( gravity * Time.deltaTime )
	def HandleEvents ():
	// Events taken place are of action types: shooting, special attacks, interactable object, etc

#5017867 How to build a 3D Engine?

Posted by on 05 January 2013 - 02:41 PM

3D graphics is a very small component of what makes the entirety of a 3D gaming engine. You still have to create programs for sounds, importing, exporting files of sounds, models, etc, camera, physics for all objects, and a lot more.

#5010737 What to look for in my code

Posted by on 14 December 2012 - 03:17 PM

Quick link to show you a place where to start of coding style. This is not the set style as their is no one style!

But it is a good place to start looking at making your code readable, structure properly to at least get a foot in to how things would be organized professionally.

#5008728 Which programming language should I teach myself?

Posted by on 09 December 2012 - 01:24 AM

Try http://www.sfml-dev.org/tutorials/1.6/ for 2D graphics, high level functioning event handlers, audio, image manipulation, etc. Works well with C++. For the very basic, just figure out how to make pong.

Also, there is no best language. Think of programming languages as vehicles. There is no one good vehicle, they are all based on the individuals preference. Each language has their own unique functionality. C++ is known to be much faster in some aspect of game development when dealing with complex algorithms, number crunching, large amounts of collision detection needed as well.

#5008683 Getting start on creating my game

Posted by on 08 December 2012 - 09:31 PM

From the little I have tried, I have found that unity scripting is a big pain in the rear. Pong is definitly a good place to start, although it really won't teach you much about unity's extensive tools for 3D, which is really the only reason to use unity over a C based language.
This is the official documentation for unity scripting: http://docs.unity3d....criptReference/. Unlike normal programming where it is all in the code, unity painfully goes back and forth between visual elements and code. I am not farmiliar with blender, but I find that unity is a good choice for learning, as it has a large community behind it and therefore an abundance of user-made documentation.

I don't see what you mean about Unity3D being "painful". I've been using Unity for years and I never thought the scripting language (which is UnityScript, though you can use C# or Boo if you want) was annoying. UnityScript is easier and faster to write code with than C# from my experience, because it automatically does some things that you would have to do manually in C#. There are some minor things C# can do that UnityScript can't, but they've never bothered me much.

To the OP:
Personally, I started programming by using Unity with 3D games, and I only had very slight experience with 2D from years ago, so you could say I hopped right into 3D scripting. I can't say whether this was "good" or "bad", as I think it depends on the individual. I often hear the most important thing is to just stick with one language/engine and roll with it until you get experienced. Programming experience is fairly general, so it will be helpful regardless of which language you're using.

You could definitely use Unity to make a Pong game, if you had an orthographic camera looking down on the paddles and didn't use the Y position of the paddles (the Y is up/down in Unity, the Z is forward/back, and the X is right/left). That way, you'd basically be "not using" the Y dimension, and you could just focus on the two that you need.

Unity also has built-in collisions and other such physics that you could learn the basics of by making a pong game.

If you're getting into Unity, I would suggest you bookmark this page, which has a search bar where you can look at classes and functions in the Unity engine, as well as a short little tutorial to get you started:

Also, this website below is where you can go to ask specific questions about problems you're facing while using Unity:

With some practice, I think you'll find that Unity is very powerful and flexible. Stick to the website and look through the documentation there, because it's very detailed and helpful!

Good luck!

Thanks very helpful. My intentional purpose was to create a 3D model platformer , but with a plane functionality. So essentially it acts like a 2D game, but with 3D modeling, which will be presented with a tilted camera perspective to present a wholesome figure. Always been my dream game to make something like that and I have always been attracted to platformers and MOBAs (but this will have to wait for a while since it is much more complex)

#5008631 Getting start on creating my game

Posted by on 08 December 2012 - 05:35 PM

Hiya, so before I want to make my game come true with Unity I want to create a simple game in Unity so understand the basic since I have never used it before. Was wondering what is a nice simple game to get me started. Someone told me to just get a Pong working and work up from there. If that is the case would i need to do scripting? I know Python and C++, I have seen C# code before, and I think I can mange to work with it. I just have no idea how I would make a Pong in Unity. Would I make it 3D or is it possible to make it 2D or is the difference in dimension with respect to the camera angle? Also, how would I "script" in my commands to make Pong work. I have made Pong using Pygame, but I am having trouble see this work out in Unity is all. I have seen a few basic Unity tutorials so far and none have explain scripting.

Also, why would one prefer Unity over something like the Blender Game Engine. I looked into Blender and it seems pretty simple to make basic games and even I have seen some complex games as well. Just curious on the dynamic between the two. I believe Blender has some restrictions with model imports whereas Unity has a more diverse set to import from. I believe export is the same and I am not sure if Blender could do standalone or embedded device (not entirely sure).

Just hoping to get some advice.

#5007588 Looking for C++ tutorials and projects

Posted by on 05 December 2012 - 06:49 PM

Here you go:
http://www.youtube.c...low=grid&view=1 (C++ tutorials below)

Pretty much pick your API or engine. Want to push a game pick an engine, want to learn how graphics really work use OpenGL.

For more tools go to http://www.gamedev.net/forum/41-apis-and-tools/

#5007545 The Journey of the Beginner

Posted by on 05 December 2012 - 04:26 PM

Hello everybody.

I'm new and just wanted to say hello to everybody!

All my life I've been attracted to computers, and programming concretely. I've also been in love with gaming all my life, since I was 3yo I played games. I started with the Sega Mega Drive (I'm 23yo) and the Lion King game, lol.

I tried to take a course at school, a programming course. The problem was the teachers were pretty much assholes and didn't help much, plus I had a job and didn't manage quite well with so many things going on, so I quited. I didn't need teachers that didn't help, neither help you to find the answers to your questions.

Now I'm coming back on my own to try to learn a bit. I tasted Java on the course and Python by myself, but didn't go super-deep, since I started to see that C/C++ was the language/s most used and decided to switch.

I understand the basics of programming, and already started to dive into C with the help of Zed Shaw. I'm following his tutorials.

I just wanted to know which books (paying and free) and which tutorials do you advise me to take. I'm more focused on game development. <- (I talk write too much, this is the actual and only question Posted Image)

I already understand certain things like procedural programming and object oriented programming, arrays... At least in a basic level, don't mix it too much or I'll get lost. I could make simple games with Python and Pygame, with different stages and using OOP. Not very good aesthetics though, lol!

I also wanted to keep in touch with people who is learning too. I'm not a loner, I love to share what I do and so on, so I'd prefer to talk to more people that is on my level, we can make trials together and so on, and who knows, maybe in the future we are great programmers and work together!

I'll be back soon asking more concrete things of C... I ask forgiveness in advance if I ask asked questions, human after all.

Regards and good nite!


I don't have the link, but on this forum there was a link to which languages to use. The gist of it was choose a language you are more familiarized with and work with that. C++ is only very effect when you get into very advance procedural things, but if you aren't doing these such complex things languages like Python will match up with C++. There are engines such as Panda3D or Blender Game Engine which use python for scripting, or you could even learn OpenGl with the Python binding, PyOpenGL.
It's also up to you what you really want to do. Don't feel you should go to a different language because the "pros" use them. These 'pros' typically make AAA games with million+ dollar price tags on them.
Just do what you like, if you feel you really do want to learn C++ then do so. http://cplusplus.com/ (C++ refrence) http://www.cplusplus...es/tutorial.pdf (C++ tutorial) http://www.youtube.c...ew=1 (C++/OpenGL tutorials)
If you want to play with 2D graphics there is SDL, SFML, and Allegro. 3D typically OpenGL for low level stuff, which is typically harder, but you learn more.

#5006111 Looking for a study partner at C++, SDL and OpenGL.

Posted by on 01 December 2012 - 04:35 PM

Its a shame more people dont do stuff like this. People are often told they would commit more to exercise if they worked out with a friend, I would assume the same rule could be applied here XD

I think one of things this site lacks is a chat where programmers (not necessarily beginners) could comment on their learning achievements and talk of pet projects etc, I briefly check the GD IRC chat from time to time but it seems this sort of chat would be unsuitable there

Hey, I'd be up for this! I'm running Ubuntu 12.10, I know C++ (the basics, I haven't explored the advanced C++11 features yet), and this would be a great way for me to get into low-level SDL and OpenGL.

EDIT: I forgot to mention that I use PyGame at the moment, which gives me an incentive to learn the underlying SDL.

This has me very excited. I didn't think I would get a response like this. So for every ones know I want everyone to add me on Google talk at Ultimoore@gmail.com and well get to know each other . Thefirst day is Monday DEC 3 730pm east time zone. Ill hand out the PDF's well read together and I want us all to ask each other questions.

This would be awesome way to learn. I've been interested in moving away from Python/Pygame into C++ with SDL or something similar and then onto OpenGL as well. I have researched A LOT of info on many things on game development and what is expected, needed, structure, etc., but nothing really applicable. So hopefully I will try to join the conversation, I'll see what I can do with Google Talk since I never used it before. My strong suit is Python programming along with decent foundation in Pygame, in creating Breakout and an extremely simple prototype of a megman mimic, but nothing fancy. I know C++ pretty decent except for some minor gaps as I don't use it much.