[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
A message from @CodeMonkeyZ, 2ch lead developer: "How Hiroyuki Nishimura will sell 4chan data"
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1420180036482.jpg (967.18 KB, 853x480, 853:480, space2.jpg)

fee310 No.1004

Is python 3 any good for making a 2d rpg game? (Or maybe 3d like minecraft). If so what are some good engines that use it and are beginner friendly?

e8da7a No.1022

pygame

fee310 No.1025

>>1022
Iv heard good things about renpy, how is that?

dfac1e No.1062

>>1025
It's mostly for Visual Novel like games (Long live the Queen and Magic Diary are made in Renpy), mostly it looks and feel very.. Restrictive (at as restrictive as say, RPGMaker but still).

7d695e No.1144

No. Why would you use an interpreted language be good for anything where performance is a consideration?

Think about it, you have a 40+ percent performance hit right out the gate, even with an opcode cache.

Javascript is an outlyer because Google has determined how to compile it into native c with a read-ahead interpreter.

547a87 No.1147

>>1144
>what is scripting

7d695e No.1150

>>1147
>>1147
From Wikipedia:

"A scripting language or script language is a programming language that supports scripts, programs written for a special run-time environment that can interpret (rather than compile)"

2ea283 No.1186

>>1144
> figured out
> compile javascript into C with a read-ahead interpreter

JIT compilers have been around for some time, and they usually don't compile into C.

python kinda sucks though.

c152c6 No.1272

>>1150
>he uses Wikipedia as a source
Find which source says that and quote from there.

76e527 No.1276

Similar to python in ease is gamemaker studio.
http://www.yoyogames.com/studio/download

41fb53 No.1310

>>1025
I like it. Very easy for the beginner. You can get it downloaded and watch a tutorial, write a short script and compile in just a few hours.

7ceb28 No.1666

Is there something called unity used for game making?

bd418a No.1671

>>1147
Something better done with languages designed for that purpose.

bd418a No.1672

>>1004
The question you should ask is:

Is CPython - the most supported implementation handsdown - good for making games?

The answer is no, CPython is a piece of shit.

The next question is: Why is CPython so supported then? What does that imply?

(Don't get me wrong, you COULD use PyPy wrappers for PyGame or use a compiler like Cython or Nuitka with minimal speed gain.)

What does it imply that PyPy is always having trouble getting funded?

It implies that the biggest part of the Python community doesn't give a shit about good implementations, because most of them are fuckmaggots using Python for better shell scripting and web applications and some inappropriate software projects that will put to sleep later on.

Seriously OP, it's not worth the trouble in the long run.

Better learn Java and LibGDX or one of those fancy new compiled languages like Nim or D.

a9b4a6 No.1746

>>1672
waddabout Cython?

d8e304 No.1754

File: 1426859109962.jpg (11.11 KB, 200x200, 1:1, U-WOT-M8.jpg)

>>1276
>non-free software
>any year

ca2bcc No.1761

>>1746
Not worth it.
The major pain in the ass is the libraries and their bindings.

da03cb No.1995

>>1004
Use unity and learn C#.

a90a68 No.1996

>>1995
>unity
>the wordpress of stock game engines
disgusting

9c7590 No.2004

>>1996
If it's that or python the choice is easy.

a90a68 No.2005

>>2004
i'll give you that

a90a68 No.2006

>>2005
Well, except for everything that can be done in Ren ' n Py.

e0516e No.2034

>>1147
How lazy developers (Bethesda) cut their coding time and release bug filled messes

Also this >>1671

2394dd No.2049

>>1995
Yep, you can either spend your time writing an engine, or spend your time writing a game.

d0a88d No.2058

>>2049
Yeah, too bad Unity isn't neither professional tier nor appropriate to build some simple 2D platformer.

d0a88d No.2059

>>2058
>>2049
Yeah, too bad Unity isn't neither professional tier nor appropriate to build some simple 2D platformer.

Just like Wordpress, so the analogy is complete.

b4eb73 No.2071

>>1004

learn racket you low tier plebs.

3b618a No.2093

>>2071
you spelled 'common lisp' wrong

278a14 No.2094

>>2093
You spelled Algol based multiparadigm language wrong.

91a414 No.2097

>>2094
you spelled 'evolutionary mistake' wrong

278a14 No.2107

>>2097
you spelled 'an hero' wrong

3b618a No.2117

>>2107
i think it was implied

c600de No.2128

Python is a retard language.

d135d5 No.2145

>>2128

Why do autistic people repeat themselves so much?


8b2fe8 No.2146

About python, is it a good language to start so that i would at least understand the code and then move to some different one, like c++?


3b618a No.2150

>>2146

except for "move on to c++" yes


3b618a No.2151

moving on to c++ is like moving on to full-blown aids


3c5392 No.2152

>>2151

Single everyone has a different opinion on what is good and what isn't. Why is c++ is worse that space aids?


637133 No.2153

sure why not if there aren't any intense graphics stuff


637133 No.2154

>>2152 Because C++ is a dated insecure piece of dogshit and if you're starting a new project then there is little reason to use it opposed to other languages, especially for games development.


245061 No.2157

>>2154

Is c++ good at anything, like other than games?


e280a5 No.2158

>>2157

>Is c++ good at anything, like other than games?

C++ compilers.


8d5851 No.2165

>>2157 Qt to be fair.


1e192d No.2174

you can skip C++ and learn C#


69451e No.2186

>>1004

Python in general (at least with CPython) isn't very good for games. You can probably make some simple games in it and that may be fine, but as you start adding complexity or objects especially, you're going to start hitting a performance wall really quickly.

>>1672

Ooh, rub my dick harder. I hate the Python community so much. You're very right.

>>2146

Having sampled tens of languages, I don't personally think so. I think the problem space Python is good for is having single file scripts. If what you're doing is too complex for a single file, it's not good for Python.

And if you are doing code that short and simple, then you shouldn't have problems doing that in better languages.

>>2154

>C++ dated

>C++11, C++14, C++17

Well then. It seems like it's moving faster standards-wise than almost anything else on the market. I don't know how else you could define "dated." I think what you mean is "I don't like it."

>C++ insecure

That's a compelling argument with no examples whatsoever. You have to opt into insecure or otherwise shitty features in idiomatic C++. That it has features that can be insecure is irrelevant as long as it has sane defaults.

>if you're starting a new project then there is little reason to use it opposed to other languages

Such as? Which ones have received your blessing, Rabbi?

That said, I don't think C++ is especially good and I generally agree with the sentiment. But what a waste of discussion when you just shit "MY OPINIONS ARE THE RIGHT ONES" in a thread.

>>2157

It's good in cases where you need the fine degree of control that it provides. If you don't need the control, I wouldn't bother.


91a414 No.2194

>>2186

I appreciate /prog/ger's attempt to discuss substantive issues, but saying "C++ is a faggot" is much quicker, and I have a lot of programming & shitposting to get through today.


e54848 No.2202

I like the way c lets you initialize structs:

struct crap mycrap = { 
.b = 2,
.c = 3,
.d = "corn",
.a = 1,
};

You can reorder them and it doesn't break anything.

I think C should modernize itself and kick that imposter C++ off the boat into a cold watery grave.


16eb92 No.2203

>>2186

> It seems like it's moving faster standards-wise than almost anything else on the market.

It's moving 'standards-wise' at the same pace as other languages, but the language itself does not and will not apply newer concepts that we're seeing out of the box in other languages like coroutines (for the uninitiated try a unix pipe of sorts for use in concurrent applications).

> That's a compelling argument with no examples whatsoever. You have to opt into insecure or otherwise shitty features in idiomatic C++.

The language itself is insecure by not enforcing memory and type safety. That is a fact, and an intentional language design decision that does not detract from it's appeal in the circumstances that warrant its use.

> Which ones have received your blessing, Rabbi?

Despite what you've said towards at the end your response reads like a fanboy post. You need to look at languages objectively. C++ filled a void at the time of it's creation when programmers needed a language that was easy enough to write with the power of languages like C and assembly, but that void is no longer a void. Developing languages like Rust (among others of course) that have the power of C/C++ with the safety of higher level languages fill that hole. C++ itself will never introduce newer concepts into the language because fundamentally it cannot. Not to mention that this is a thread for sharing our opinions, if that bothers you so much when you disagree from my views please back up what you say so it's not just your opinion.


16eb92 No.2204

Whoops! Didn't add that you can make games easily in C#.


5f0b96 No.2458

op

i have pygame working on python 3.4 i think it can be maybe ok for a 2d game like that i dont know about 3d stuff though


950481 No.2469

>>1004

OP, here is a game done in Panda3D: http://www.limitload.org/

They had to do a part in C++, because - oh wonder - python caused performance problems.


51fa45 No.2473

>>1671

For example, GodotScript is basically Python done right for this purpose.


1d2a54 No.2478

>>2146

Python is a great first language. It's easy to love.

Added bonus: You'll know you're really growing as a programmer when you start seeing everything about Python that sucks and recognizing that the love you felt was really more the ignorance of a child.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]