[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture

Search:


View post   

>> No.41264359 [View]
File: 373 KB, 640x480, DialogueTest.png [View same] [iqdb] [saucenao] [google]
41264359

Currently procrastinating fixing the shady danmaku generating code...

>>41262130
If you just want to make a game you need to understand:
-variables: get the hang of using numbers, strings and arrays.
-arithmetic operators: +, -, *, /, %
-logical operators: and/&&, or/&&, not/!
-conditionals: if, else, elif, switch/case
-loops: while, for, do while, for each*
-functions/methods: make some of your own and use some built-in functions.
-classes/objects: You don't have to specifically code objects if your using an engine so you don't have to get it 100% and maybe you'll get it better while making a game.

*Doesn't exist in all languages but you'll learn to use arrays with for loops instead in that case.

And to avoid future confusions:
-passing by value vs passing by reference: probably will be explained in a function/method tutorial

Other stuff like input, drawing stuff on screen, sound management, file management and handling positions in xy coordinates is explained in engine specific tutorials.

If you learned it in a high-level language and change to low-level afterwards, it's more like you learn some steps the language did automatically.
Just learn the concepts and then expand the knowledge on them afterwards, you won't have to "unlearn" anything just adapt yourself when changing languages.

I don't know if you'll become a programmer god like this but it's probably the easiest and fastest way to make a game.
Also sometimes it's best to take breaks or leave stuff for tomorrow if you're blocked.

>>41261779
>OC for a game I'll never make
Relatable, games are born easily in one's mind.

>>41261805
Nice to see you improve drawing face perspective from one pic to another.

Navigation
View posts[+24][+48][+96]