Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

can someone teach me to code and help me make my first game plesae

A topic by 764NECRO764 created Sep 07, 2021 Views: 1,061 Replies: 18
Viewing posts 1 to 7
(1 edit)

..

Have you chosen an introductory language?

?....whats that

Your first language of choice, that you will use to learn programming.

so like what i speak

or what i code?

Programming language.

oh ook

(1 edit)

so like java and suff

(+1)

If you wish to learn Java, I’ve heard good things about this course. It’s free, and account registration is optional. After learning the language itself, certain tools like LibGDX or something else can be used for actual game development.

Java will also bring you closer to C#, for if you wish to go down the Unity path later.

well i was going to code in scratch or coding with chrome cuz i have a chrome book

Good luck with that; it’s tough to do really anything on a Chromebook

sorry if i sound stupid

(+3)

Hi, I'll leave this message up for a while in case it's a genuine request for advice (I'd be willing to offer some myself as well), but this is a Tabletop Roleplaying Games Forum, which means it is concerned mainly with NON-digital roleplaying and storytelling games. Coding isn't usually a relevant topic here, since most of these games are presented in book / pdf format and do not require coding skills to produce.

Anyway, I dabble a bit in coding and game development, but am far from an expert. That said, there are SO many tutorials online, including some that start with the most basic of basics, that you shouldn't have too much trouble learning these skills if you just trawl around youtube for a while.

I have never heard of a language called Scratch - unless you meant "from scratch" which is just an expression that means to make something from raw ingredients, so to speak. Similarly, I don't think chrome is a language? A Chromebook is probably fine for learning, but I am not sure how much flexibility it'll give you. It's runs a fairly stripped down operating system, so you're going to need to do some research on how to best set up a working coding environment on there. 

If you are restricted to a Chromebook, your simplest bet to start making games quickly is probably Twine, which lets you work directly in your browser and saves your projects in your browser as well (just don't delete your history before exporting). It may not seem like much, but it's quite accessible, can be used to make interesting things (you're mostly going to be restricted to choose-your-own adventure and visual novel type stuff, but I have hacked it in the past to do very retro roleplaying and dungeon crawling games). It can also be a good way to start learning to code while also seeing some results right away, since you can begin , by simply stringing passages together using a visual interface and very basic markup, but then slowly start looking up more advanced things as you need them. The concepts you can learn this way will usually apply to coding in general - conditional statements, variables, and so on. 

If you want to get more advanced and more flexible, Python is an excellent language to start learning and does, I believe, work with Chromebooks after a bit of extra installation work. Just google "Python and Pygame on Chromebook" and some resources / instructions should pop up for you. Pygame is not widely used, but has a community of its own, and has even been used to make a handful of commercial games. It can be used to make a variety of 2D games - literally any 2D genre you want. It is, however, a completely "from scratch" process. It will not give you any kind of drag-and-drop functionality and you will need to code almost everything from the ground up.

I also believe that the most recent versions of Unity may actually run on Chromebook, if you want more of an "engine" experience. The advantage here is there are a lot of plugins and resources out there, tons of free learning materials (as it is one of the most widely used game engines in the world right now), the ability to set up your scenes visually, and the fact that it can be used for both 2d and 3d games, and even VR. The two big drawbacks is that it can be tough to run on lower end computers (so you'll probably need a nicer / newer chromebook to run it well), does not have a totally open license (it's free to use and sell your games on PC, but you will have to pay if you want to port them to consoles and such), and has its own learning curve issues, in that you won't only be having to learn coding but also the specific quirks and methods of Unity itself.

Anyways, good luck. Hope this helps a bit. My final word of advice is start small. I KNOW that what you're planning to do is a massive open world RPG game with tons of features and a custom physics engine that will make you a millionaire - but that's just not going to happen. Start with pong then slowly progress from there. You will not be making the next Skyrim, or even the next Stardew Valley, any time soon. Get creative with your limitations and you will grow faster.

Moderator

Scratch is a real programming language. It seems to have many fans on itch.io and elsewhere. Young people in particular often start with it. But I also recommend Twine. And Python. Making games takes programming anyway. You can't get around that.

P.S. I moved this topic to a better category.

actually,u can try for war3,that can help u finish a game without  program

Moderator moved this topic to General Development

Oh dang, that looks neat.

(+1)

What language you should learn really depends on your goals.


If your goal is to make a game as quickly as possible, choose a game engine and learn whatever language it uses. If you don't want to use a game engine, you can pick up a language like Python (with Pygame, for example) or Lua and make your game like that.


If you actually want to learn how to program, I'd actually recommend learning C. I know it's not commonly recommended for beginners (due to it being unforgiving at times), but C is a very small language to keep in one's head, and it requires learning how a lot of things that programmers of other languages take for grated work, such as hash tables and dynamic arrays (things that many more modern languages provide as built in features).


About the fact that you're using a Chromebook: if you are willing to learn how to use Linux, you can install Crostini; A virtual machine for Chrome OS which provides a terminal interface as well as a layer for graphical applications. You can install it by going to the settings and scrolling down the menu to the section labelled "Linux" and going through the guided installer. It's pretty slow unless you have a high end Chromebook (and most Chromebooks don't support OpenGL, let alone Vulkan), though, so don't expect to be able to run any kind of 3D game engine - but you can definitely make quite a respectable 2D game.

it seems to me that the future lies in javascript

(+2)

Then that future is garbage.