I'm stuck in my programming career

Started by
8 comments, last by pyirrlicht 10 years, 4 months ago

Hey. I've been coding with python off and on for a few months, and I believe I'm ready for a graphical game, as I've just been making text based games. I always try booting up PyGame, copy and paste in a few lines of code, edit it, make a basic polygon, try to figure out how to make that polygon move, and then give up. I can never get the motivation, and I can never get the correct library, or engine, or whatever it is.. I'm also semi-experienced in Lua coding. Any recommendations on motivations, libraries,and what-not?

Advertisement

What do you mean by "I can never get the correct library"? What exactly is your motivation issue? Are you having issues where your progress is slower than you want and you get bored and/or frustrated?

You could always try jumping into a game engine like Unity instead of doing all the nitty gritty yourself and see if that helps your motivation.

It's also possible that you just don't really enjoy programming games though. If you don't enjoy it, maybe you need to find another hobby. A lot of people want to make their own games, but don't actually want to put in the years of effort it takes to work through the basics first.

Have you considered GameMaker Studio? You can jump in and start using it immediately, and then learn the scripting language behind the scenes to do more advanced things as needed.

That said, jumping between tools, libraries, and languages prevents people from going deep and really learning them. Whatever you decide to use, you should commit yourself to sticking with it for a year or two, before allowing yourself to switch to something else.

Do you enjoy programming? If not, maybe you'd rather just make levels for existing games by 'modding' them. Half Life 2's level editor is fun to play with, if you're just looking to entertain yourself.

If you're looking to really learn programming, and really make games, then you should stick with Python and find a tutorial that walks you through the structure of simple games like Tetris, and then start small with things like a (really basic) side scroller or adventure game, with really basic features.

I'd secong using Gamemaker Studio. If you really want to create a game. Start with the Graphical programming language then move onto scripting. You can then carry the techniques that you learn onto other programming languages / tools.

There are lots of simple to use, beginner friendly engines out there these days that make your life easier if you want to get stuck in. Gamemaker is very good, there are also a few engine such as Moai and Corona that expose all their engine functionality to Lua so you can write entire games in a scripting language.

To be honest though if you've only been programming "off and on for a few months" then I would suggest carrying on with whatever you've been doing, you've got a lot to learn and learning the basics of programming in any language is going to be the same. Jumping about between engines and languages will just have getting confused and spending a lot of time getting a whole lot of nothing done.

Keep going with the Python stuff, if you've got a polygon drawing then all you need to do is move it around and you've almost got pong.

Good luck.

"To know the road ahead, ask those coming back."

I feel like Gamemaker is too basic for me, and it just seems lacking. I can't get pygame to install correctly, so I can't learn that.. I'm learning web development with codecademy, but I cannot really make what I'm looking for with PHP or JavaScript. I have no idea what to use.. but I think I'm at the point now that I be dedicated to programming.

I don't really think I want to learn what people call the hardest stuff such as c and c++, but from what I see Lua and Python are CLI-only without any library such as PyGame or LOVE2D. I'm looking to build on a GUI instead of CLI, as I've exhausted my ideas with CLI games on Python..

So confused ;/

Edit: And I've also heard Java is slow as heck

You never know for sure if you don't try. I feel the same about gamemaker, it seems too basic, but then I see what various other people (even studios, check out Vlambeer for example) do with it, and all I can say is: I probably haven't done enough with it to say it's too basic.

I don't feel the need to try anymore because I found my own way, but I think you can get some good stuff working if you at least put some effort in it.

Fact is, you will always find flaws in every engine/library that make you search for the one without them. You simply need to find the one with the flaws you can work with.

Last tip that might help you, as Cardinal already mentioned. Try using Unity. It's more hands on than most aspects of gamemaker (probably) and you can make some nice (simple) stuff with it without putting in a lot effort. Obviously the more advanced you want to go, the harder it gets, but that's not exclusive to unity :)

Good luck!

You never know for sure if you don't try. I feel the same about gamemaker, it seems too basic, but then I see what various other people (even studios, check out Vlambeer for example) do with it, and all I can say is: I probably haven't done enough with it to say it's too basic.

I don't feel the need to try anymore because I found my own way, but I think you can get some good stuff working if you at least put some effort in it.

Fact is, you will always find flaws in every engine/library that make you search for the one without them. You simply need to find the one with the flaws you can work with.

Last tip that might help you, as Cardinal already mentioned. Try using Unity. It's more hands on than most aspects of gamemaker (probably) and you can make some nice (simple) stuff with it without putting in a lot effort. Obviously the more advanced you want to go, the harder it gets, but that's not exclusive to unity :)

Good luck!


What language is Unity?

I feel like Gamemaker is too basic for me, and it just seems lacking.

If you've never tried it, it's probably actually a lot more capable than you might think, and it has been used for numerous successful projects, many of which are available commercially and making money for their creators. If you don't want to use it that's your choice, but it's worthy of proper consideration.


Edit: And I've also heard Java is slow as heck

Myth: Java not suitable for games. Obviously Java has some overhead, but if well written modern Java is still pretty efficient; it's generally more efficient than Python, which you were apparently happy to work with, and it was fast enough for games like Spiral Knights, Puzzle Pirates, RuneScape, and Minecraft amongst many, many others.

All that aside, there's really no point even worrying about small differences in runtime performance if you're not actually able to create a working game anyway! wink.png


What language is Unity?

Unity can be programmed in C#, in UnityScript (which is very similar to JavaScript), or in Boo (which is quite similar to Python).

As others have suggested, it really sounds like any library is "the correct library" at least for now; your problem isn't with the libraries that you're using but with your motivation. You need to choose any option and stick with it until you have a game working. If you're having motivational problems a higher-level, easier-to-use library or engine such as GameMaker, Unity, Construct 2, LOVE (a Lua framework) would probably be in your favour, as you will get faster results and have less of the fiddly low-level details to get a game working.

Personally, I would suggest either sticking with Python or trying out Game Maker or Unity. If you really want to try a different language, sticking with what you know (Lua) and trying LOVE might be an idea.

Hope that helps somewhat! smile.png

- Jason Astle-Adams

for Python you can try Allegro - mostly for 2D games and pyIrrlicht - mostly for 3D (and GameBuilder as based on)

This topic is closed to new replies.

Advertisement