Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

VN engine

Name: Anonymous 2009-07-26 1:24

I though I could waste some time trying to make a visual novel engine on my own. So I'm looking for a OO language that has a decent 2D graphics library.

Tried Squeak yesterday. Slow as fuck and the morphs don't update unless you interact with them.

Any recommendations?

Name: Anonymous 2009-07-26 1:44

>>1
Aren't VNs slideshows or some shit? How can it be too slow for a slideshow? Just use Common Lisp with SDL, I guess.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-26 1:44

JavaScript +Canvas
C + SDL if more speed is required


_______________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
As Shakespeare himself knew, the peace, the reconciliation that he created on the stage would not last an hour on the street.

Name: Anonymous 2009-07-26 1:50

>>1
Factor is what you're looking for.

Name: Anonymous 2009-07-26 2:12

>>1
C and ncurses is what you're looking for.

Name: Anonymous 2009-07-26 2:18

Python + Pygame

Name: Anonymous 2009-07-26 2:33

>>3
C
0/10

Name: Anonymous 2009-07-26 3:47

C# + XNA

Name: Anonymous 2009-07-26 4:07

>>5
Listen to this person. Just think about the advantages of such an approach, like being able to play the game over a SSH connection on your remote server. From everywhere.

Name: Anonymous 2009-07-26 4:08

i made a directdraw wrapper for vbscript (msscript.ocx)

Name: Anonymous 2009-07-26 5:50

Why would you want to reimplement the wheel poorly!!

http://i31.tinypic.com/106j57b.jpg

Name: Anonymous 2009-07-26 5:52

Reimplement the wheel

Are you my teacher? lol

Name: Satori Master Anonymous 2009-07-26 6:05

>>12
Yes I am.

Name: Anonymous 2009-07-26 10:14

I can tell you from experience, a VN engine is one of the least interesting projects you can possibly undertake. Once you've written the text printing mechanism (word wrapping and all that crap), the rest is just boring shit.

God help you if you try to duplicate an existing engine, most likely Japanese. You'll have to deal with such shit as Shift JIS encoding because the Japanese live in the 80s and don't know Unicode exists now.
If that wasn't enough, Japanese programmers of all sorts are terrible. Prepare to duplicate logic errors that contradict existing documentation (assuming you can find any).

C++ + SDL

Name: Anonymous 2009-07-26 11:02

>>14
According to WP, the Japanese have an aversion to Unicode. One problem being the Japanese and Chinese sharing code points for their ideographs

Name: Anonymous 2009-07-26 11:30

>>15
I feel more inclined to blame their xenophobic and reclusive culture.

Name: Anonymous 2009-07-26 11:57

>>15
We could blame the bloated size (3+ bytes) of Japanese characters encoded in UTF-8, but I prefer to blame it on the fact that Japan is populated by greasy yellow slopes who will never get their hands on my watch.

Name: Anonymous 2009-07-26 12:27

>>14
I'm not looking for a complicated or very challenging project, just something simple.

And no, I'm not trying to duplicate an existing engine. Just giving a try at making my own engine.

C++? Isn't /prog/ flaming Sepples on every ocassion it has?

Name: Anonymous 2009-07-26 12:34

>>18
Here's a verry good C++/SDL VN engine codebase for you to study.

http://svn.haeleth.net/onscr/trunk/

Please learn a lot!

Name: Anonymous 2009-07-26 12:55

>>18
Write it in Scheme with it's own custom BBCode Interpreter

Name: Anonymous 2009-07-26 13:01

>>15
>One problem being the Japanese and Chinese sharing code points for their ideographs
But that's irrelevant in modern systems because they can be set to display Japanese or Chinese characters depending on the user's locale.

Name: Anonymous 2009-07-26 13:17

>>19
Study C++
Somebody is trying to kill you, >>18.

Name: Anonymous 2009-07-26 15:19

Flash

Name: Anonymous 2009-07-26 15:27

My CS3 Flash is stuck in Polish

Name: Anonymous 2009-07-26 17:51

I agree with >>2, but VN engines are simple enough that you could code it in just about anything, so C++/SDL is not that bad of a choice either.

Name: Anonymous 2009-07-26 19:31

>>11
Is that the SICP VN?

Name: 14 2009-07-26 19:36

>>18
C++? Isn't /prog/ flaming Sepples on every ocassion it has?
/prog/ is tsundere for C++. Every time it says anything bad about it, try to imagine it crossing its arms, looking away, and blushing.

Start by defining a set of features you want the engine to have. Then define how you want your users (scenario writers) to use those features. This includes defining the language. Then it's up to you how to continue. Some people prefer to implement from the bottom up, writing the lowest level infrastructure and building outwards; others prefer to implement from the top down, and write the upper level routines (such as the language interpreter or whatever you decide to use) first.

>>21
Locales are irrelevant for programs written to use Unicode (except for dates and such). What >>15 said would be like the British complaining about the Spanish using the same codepoints to write "hola" that they use to write "hello". If the Japanese really do think that, they're just crazy if they think the Unicode committee is going to allocate another fifty thousand codepoints to accommodate the same glyphs twice.
Not that they care because they don't export their software to begin with.
Not that we care because their software is shit, anyway.

Name: Anonymous 2009-07-26 19:42

>>27
/prog/ is tsundere for C++.
This is what Ctards actually believe (spoiler tags stripped because this bullshit doesn't deserve BBCode).

Name: Anonymous 2009-07-26 19:53

>>28
I for one am fucking sick and tired of you fucking anti-C++ niggers fucking crying about a superior language used in real-world applications.  Go back to crying yourself to sleep and using your fucking nigger ((parentheses)) toy language, thanks.  Nigger.  In before ``back to /b/, please,'' etc.

Name: Anonymous 2009-07-26 20:01

>>28
STOP CONFUSING C WITH C++ YOU FUCKING MORAN.
KILL YOURSELF AND STOP VISITING MY /prog/.

Name: Anonymous 2009-07-26 20:16

>>27
/prog/ is tsundere for C++.
Maybe. Have you ever fallen head over heels with a girl only to get stuck in the friend zone for like a year, and then find out she's secretly a Southern Baptist preop transboy obsessed with the shitty local emo bands in all their tonedeaf glory? That's what happens to people who use C++. That's what's going to happen to you. Enjoy it while the illusion lasts!

Name: Anonymous 2009-07-26 20:22

Someone do a Sepples version of the "This is what using a mac feels like" kopipe

Name: Anonymous 2009-07-26 20:26

>>29
I can think of at least four things wrong with that sentence, even if we ignore the casual racism. Seriously, keep that shit in /b/ where people actually find it amusing.

Name: Anonymous 2009-07-26 20:56

>>30
You okay there, buddy? Ctard is a blanket term for programmers taken with C, C++, D, and anything similar. I know because I invented it.

>>29
Not as sick as we are of Ctards acting like their languages are any good.

Name: Anonymous 2009-07-26 21:19

>>34
This may surprise you, but I invented knowing about inventing.

Name: Anonymous 2009-07-26 21:25

>>31
a girl
You lost me.

Can you put this in terms of 2D waifus?

Name: Anonymous 2009-07-26 21:42

>>34
oh, then ignore the part about confusing C with C++, and just skip to the suicide.

Name: Anonymous 2009-07-27 15:16

>>37
suicide
This is what Ctardation does to you. :( You become an angry husk of a person from all the abuse.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-27 17:33

If C/C++ are so bad at producing code, why 99% of operating systems use them?



____________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
A different conception of society, very different from that which now prevails, is in process of formation.

Name: Anonymous 2009-07-27 17:47

>>39
C/C++ isn't bad at producing code. It's actually easy to spew hundreds of lines of code which don't do that much. Modern operating systems such as the Linux kernel or the NT kernel are written in C. They actually exercise pretty strict coding standards to maintain code quality. Reasons could be:
1)speed
2)everyone knows them and they are not hard to learn
3)good for low level programming, but portable enough

C++ adds additional ability to abstract, but it's a lot more broken in that regard than languages which were designed with that goal from the start, as it just tries to add features on top of C, which had different design goals.

The question is to the programmers, what do you gain by using C or C++ as the main language of your project, and what would you gain if you used another language, which could allow you to better express your ideas more efficiently.

A bit offtopic, but using Haskell or Lisp, does not mean you will code faster. You will write much less lines of code, and will end up doing the same task(but it will probably be in a different way than in C), or more than the equivalent of a different order of magnitude of C LoC.

The problem is that you can only code as fast as you can think, and you might find yourself spending time thinking about the problem a lot more than writing actual code, but once you understand what the problem is, the code will flow easily. In C you might end up writing all kinds of needed boilerplate code while eventually getting around to the core of your algorithm.
Interactive development can also speed up the coding process a lot, allow you to do live tests, and if done right, might make you not have to rewrite the entire thing when you found out some of your ideas were wrong.

Not all OSes are coded in C, remember Lisp Machines? And there's a few other newer projects which try to mirror some of the concepts.

The bottom line is that you use what works best for your mind and your patience, if C works best, use it, if Lisp or Haskell work better for you, use it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List