[ 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


View post   

File: 45 KB, 336x450, 1206942304690.jpg [View same] [iqdb] [saucenao] [google]
539215 No.539215 [Reply] [Original]

I coded a Touhou game in C++ to prove how much ZUN fails at coding.

http://www.sendspace.com/file/w4up5w

>> No.539222

POST SCREENSHOTS NAO

>> No.539226

>>539215
Smells funky in here.

>> No.539229

haha no

>> No.539232

screenshots or it's a trojan

>> No.539235
File: 110 KB, 336x450, 1209580168713.jpg [View same] [iqdb] [saucenao] [google]
539235

>> No.539239
File: 37 KB, 640x480, 1209580247880.jpg [View same] [iqdb] [saucenao] [google]
539239

The game's structure is based on Perfect Cherry Blossom.

Warning: Not safe for work.

>> No.539250

Are you a bad enough dude to fap while shooting?

I also uploaded it to rapidshit:

http://rapidshare.com/files/111561950/_Anon__Touhou_C__.7z.html

>> No.539257

This is all a lame excuse to just have Uboa pop up as a screamer, isn't it?

>> No.539258

It's not a Touhou game if you weren't drunk while making it.

>> No.539263

>>539239
I can't play it if I'm not moe!

>> No.539264

>I forgot to convert the data into data files.

>Because I didn't want to spend more than 10 hours on this project, the game lacks substance. But then again, the same could be said of all Touhous.

>Adding Touhou style dialog and/or cinema would probably take me 8 hours. And contrary to popular beliefs, coding a "bullet-hell" stlye gameplay would actually be pretty easy. I just don't have the time to code the enemy AI and (pretty) bullet patterns.

>I've seen enough Touhou faggotry to last me a life time. ZUN wins this round.

wat?

>> No.539269

>>539264
Wat what?

>> No.539272

Your game is bad and you should feel bad for creating it

>> No.539273

>>539264
>I coded a Touhou game in C++ to prove how much ZUN fails at coding.
>ZUN wins this round.

Who ever wins ... I don't know man.

>> No.539284
File: 43 KB, 640x480, 1209580813350.jpg [View same] [iqdb] [saucenao] [google]
539284

Seeing as I've only worked on it for a few hours, the game is only 2% complete. So don't start bitching about how shitty it is. The point of the game is to fap while shooting.

>> No.539285

Bullet hell style gameplay is simple to code; the art is in the bullet PATTERNS, idort.

>> No.539288
File: 74 KB, 400x400, 1209580843433.png [View same] [iqdb] [saucenao] [google]
539288

sage

>> No.539303
File: 66 KB, 300x391, 1209580971457.jpg [View same] [iqdb] [saucenao] [google]
539303

>>539272
Any game would be bad if you've only worked on it for a few hours.

>> No.539304

>>539284
wow, this actually sucks more

>> No.539307

>>539303
The dumb dick shouldn't release a few hours work then, should he?

>640x480
Haha..

>> No.539318

>>539307
For future reference. What's wrong with 640x480?

>>539304

I'm a black anon with ADD. Cut me some slack.

>> No.539322

>>539318
There's nothing inherently wrong.. But it's a bit old, a bit aged. 800x600 is really the standard for this sort of game now.

>> No.539327

>>539318
It's too small.

>> No.539328

>67.7 MB
What the fuck. What kind of bloated libraries did you use?

>> No.539329

>>539318
>I'm a black anon with ADD. Cut me some slack.

Squidi? Is that you?

>> No.539330

Goddamn, I saw this thread at the top and thought the sticky came back.

>> No.539332
File: 60 KB, 796x592, 1209581485665.jpg [View same] [iqdb] [saucenao] [google]
539332

>>539328
he didn't compress the music and images

>> No.539342

>>539328
Haha, could you imagine using 60 meg of libraries?

>> No.539347

If some Anons felt like doing the music and graphics. I wouldn't mind coding a full fledge Touhou game starring Cirno. Otherwise this project ends here. I have more important things to do.

The badly written source code is 1145 lines long (which includes all of the comments and spaces). If I was to have coded it properly it probably would have been 400 lines long.

>> No.539355

>>539332
Georgen Hoff, cousin of David Hasselhoff.

>> No.539356

NIGGER GAME NIGGER GAME NIGGER GAME

OP ONLY HATES TOUHOU BECAUSE IT ONLY HAS GOOKS NO WHITE WIMMIN TO DREAM ABOUT RAPING

>> No.539357

>>539355
remove an F and google it... it's where I live

>> No.539358

>>539357
Anonymous won't fall for your bullshit, Mr. Hoff.

>> No.539360

>>539356
Quoted for truth.

I can not tell a lie. Also, I don't hate Touhoe.

>> No.539373

>>539356
Alice looks like a caucasian.

>> No.539412

>>539347
Well, it's a nice idea, but unless you just want to make a Touhou clone maybe there should be some gimmick to it? Maybe freezing bullets and shooting them back at enemies? Of course, her bomb would have to be Icicle Fall.

>> No.539426

>>539412
I'm kinda outlandish when it comes to gameplay. If I was serious about this project I would add in Rpg elements, exploration, etc...

>> No.539423

>>539347
IF I HAD CODED IT IT WOULD HAVE BEEN ONLY ONE LINE

WHITESPACE IS FOR PUSSIES

GB2/COMPSCI101/

>> No.539430

/r/ source code

>> No.539434

>>539423
Typical tsundre reply to an original content thread.

>> No.539438

>P.S. /a/ > /v/ > /jp/ > /b/
/v/ SUCKS, ENJOY YOUR ENDLESS CONSOLE WARS.

>> No.539439

>>539434
Typical OP reply to his own thread.

>> No.539443

Can I have the source please

I think I can make something of this game

>> No.539446

>>539430
2nded

>> No.539447

>>539439
Typical sage to an op who was replying to his own thread.

>> No.539449

>>539447
Typical .. Wait.. Yeah. That's right.

>> No.539451

>>539443
Spoiler: if you need the source for this you probably suck too much at programming to do anything with it regardless.

>> No.539455

>>539430
>>539443
Um no.

1.A magician never reveals his secret.
2.It's too ugly.

My lack of objects and pointers is disturbing.

>> No.539459

>>539455
Trojan confirmed.

Have fun losers.

>> No.539465

>>539459
My Internet related coding is pathetic. I couldn't create a trojan even if I wanted to. Nice try though.

If I was to give out the source code I would become the laughing stock of /jp/.

>> No.539467

>>539455
>My lack of objects and pointers is disturbing.
That's why we want to improve on it.

>> No.539470

>>539284
>only worked on it for a few hours
then don't post it asking others for an opinion, dipshit

>> No.539474

>>539465
I hate to break it to you, but you already are.

Come back when you can actually program.

>> No.539477

>>539465
you're Anonymous

giving out the source code is 10 hours less work for us who can code and kiiiiiiinda want to code a toehoe clone but are incredibly lazy

>> No.539483

>>539477
If it's a total hack like OP says it is, you'll probably have to end up rewriting the whole thing, anyway.

I'll try this out when I'm on Windows. Wine doesn't seem to like it.

>> No.539487

>>539470
>then don't post it asking others for an opinion, dipshit

When did I ask for other people's opinions? The point of this project was to demonstrate how easy it is to code a Touhou game. I did so by creating a quick Touhou blueprint within a few hours. The only thing left to do in the project is add character sprites, (pretty) bullet animations, and dialog. Which would probably take me a week to code. Also, the concept of the demo was to create a game where you could shoot while fapping.

>> No.539494

>>539487

So.. You haven't succeeded in making a shooting game, because your game lacks all those things.

>> No.539506

>>539477
If you had the ability to create a Touhou clone, you'd realize that everything the OP did is ridiculously easy, and that it's so shitty you'd be better off starting from scratch.

>> No.539508

>>539487
I can't shoot while fapping if my movement and shooting buttons are on opposite sides of the keyboard.

>> No.539518

>>539494
I'll say this one more time. I wasn't trying to create a full fledged Touhou game. The project was only supposed to be 10 hours long.

As we speak I'm currently coding a Castlevania style game.

>> No.539521

>>539506
>If you had the ability to create a Touhou clone
>the ability
lolwut
a first year programming student in visual basic has "the ability".

there's nothing complex or mysterious about coding a sprite that moves around a 2D plane in a finite course. The coding is a piece of piss, the art is the entire fucking thing.

>> No.539524

>>539455
So, no objects, no pointers?

Objects and pointers would be over engineering this. Everything in a game like Touhou can be statically allocated and if I saw even one new/delete/malloc/free in your code I would do a face palm.

Stick to straight C, trying to use C++ for this will melt your brain (as will doing anything in C++).

If you insist on over engineering this (using objects for something not object-oriented) use an OO language that isn't as fail as C++

>> No.539526

>>539521
No shit, sherlock. That was my entire point.

If you think the source from this is going to save you time, you're a complete dumbass and should never go anywhere near a compiler again.

>> No.539529

>>539521
>The coding is a piece of piss, the art is the entire fucking thing.
Bullshit.

It's true that the coding was easy, but that still doesn't change the fact that it takes a long time to type all of it.

tl;dr On most projects the coders job is harder than the artist. Hence the reason why they get paid more.

>> No.539536

ITT: Expert programmers/artists/musicians.

>> No.539537

>>539524
>Sepples sucks, go C
>Fuck dynamic allocation
>OO abuse is fucking retarded
A fellow /prog/grammer?

>> No.539541

>>539521
If the art was the entire fucking thing, I don't think Touhou would have ever made it off the ground.

>> No.539545

>>539529
>tl;dr On most projects the coders job is harder than the artist. Hence the reason why they get paid more.
no
but i agree that it takes more time to do, but that's easy time.

p.s. enjoy being outsourced to India

>> No.539550

>>539541
you're right, it's the complex interplay of moving the sprite away from the coloured shapes and... uh....

...uhm...

fuck

>> No.539555

just post the source-code you

you

you gay

>> No.539556

Drawing is much more easier than coding. When I sit down and draw a quick picture I'm at peace with myself. But when I code even the most basics of programs (eg 'Hello') , I rage.

>> No.539562
File: 169 KB, 320x320, 1209585800306.png [View same] [iqdb] [saucenao] [google]
539562

>>539555
Do you want this badly written source code to Touhou?

>> No.539564

>>539250
Oh God, those fucking cats!

>> No.539565

Coding is much more [sic] easier than drawing. When I sit down and code a few lines I'm at peace with myself. But when I draw even the most basic of stick figures (eg a man fucking another man), I rage.

>> No.539567

>>539562
sure, I'll have it

>> No.539572
File: 22 KB, 460x165, 1209586014396.jpg [View same] [iqdb] [saucenao] [google]
539572

>>539567

>> No.539581

>>539537
Yes, graduate student in comp sci after years of industry experience.

I won't say anything else except that if I was arguing how easy/hard something was I would show you my fucking code.

OP's claims are worthless without code.

>> No.539587

>>539545
Lol, outsourcing. Only affects idiots who think programming is hard and try to make a career out of it.

>> No.539595

>>539587
HINT: If you think programming is easy you have only solved easy problems.

>> No.539603

>>539595
>HINT: If you think driving a car is easy you have only driven on roads
see how stupid that sounds?

>> No.539608

>>539603
Protip: Driving cars is a lot different from coding.

Bad analogy or BAD analogy.

>> No.539617

>>539608
you must have assburgers or something.

point was, 99% of driving is brainless, reflexive and easy

99% of coding is brainless, reflexive and easy

don't flatter yourself sweetheart.

>> No.539628

>>539603

So programming is only meant to solve easy problems like cars are only meant to solve the problem of driving on paved surfaces?

No.

That is the same as saying math is easy because you understand that 1+1=2

Is math really easy?

Programming itself is a hard problem! Most programming language suck. Most programmers suck. Most software sucks.

How is it easy of most of these things aren't even going "off-road"?

>> No.539635

>>539617
One or two of the following is true about you.

1.You're a genius.
2.You've never coded anything serious before in your life.
3.You don't know the first thing about programming.
4.All of the above.

>> No.539638

>>539617
HINT #2: If most of your programming is automatic then why aren't you programming your computer to do it for you?

>> No.539644

>>539617
ENTERPRISE Java programmer detected.

This thread went to total shit.

>> No.539649

>>539638
computers can't think, only people can think, silly.

>> No.539652

>>539638
Because he clearly hasn't read SICP.

>> No.539654

I can code ASM in my motherfucking sleep

but i'm too oldskool blackhat to chill with you guys

laters

>> No.539657

/prog/ here

you guys are doing it wrong

>> No.539658

The only difficulties in programming are a direct result of bad programmers.

>> No.539663

>>539581
I was wondering if you went to /prog/. Guess not.

>> No.539668

>>539654
Shit was so cash.

>>539658
The same could be said of all religions.

>> No.539669

WE CONJURE THE SPIRITS OF THE COMPUTER WITH OUR SPELLS

>> No.539670

>>539649
Automatic != Thinking

Anything that is automatic can be programmed.

The correct answer is "because it is hard" but you do not do it because you'd rather do the machines job for it and program on autopilot.

If you program by copy/paste (even if it from a template in your mind) you suck as a programmer.

>>539652
Somebody who gets it.

>>539644
Off topic thread is off topic.

>> No.539672
File: 23 KB, 350x350, 1209587543233.jpg [View same] [iqdb] [saucenao] [google]
539672

Anyone here own a skulltrail board?

The cost is sorta in-line with other LGA-771 boards, but I'm not really sure if it's worth it having SLi on board if I'm not gonna use it.

>> No.539682

>>539663
I should have picked up on the /prog/ bit.

Sounds like I should look into it.

>> No.539698

>>539669
>"...That's the 12th volume of a series, the continuation of the books piled up here. You wouldn't know just by reading that much."
>"Oh, 'The future of the Non-Neumann-Type Computer'? I can't even imagine what that's about just from the title."
>"A magic spell book from the outside world. You probably wouldn't be interested at all but I am."
>"Hmm... magic from the outside world... What kinda magic is that, Kourin?"
>"I'm still in the midst of reading it, but... they use calculation familiars called computers, and those do exactly as they're ordered. Of course, these are clearly shikigami. Well, I'm still not quite sure what their power is used for."

>> No.539705

>>539672
Go back to /g/ - Build a PC.

>> No.539709

>>539682
It recently went to shit, but it used the be the best board on 4chan not too long ago.

>> No.539714
File: 29 KB, 1024x256, 1209588082576.gif [View same] [iqdb] [saucenao] [google]
539714

Have you read your SICP today, /jp/?

>> No.539722

>>539709
>it used the be the best board on 4chan not too long ago.
circlejerk

>> No.539723

>> No.539733
File: 109 KB, 1600x1200, 1209588379941.jpg [View same] [iqdb] [saucenao] [google]
539733

I'll upload the badly written source code in a few minutes (or hours). I'm going to have to rename most of my variables. (After two or four hours into my projects my ADD kicks in and I start giving the variables vulgar names).

I'm currently testing out one of my older projects on my brother's computer. Brb.

>> No.539735

>>539714
/r/ my-other-car-is-a-cdr.jpb

>> No.539737

>>539733
fucknut++;
while (!pussy)
printf("Why don't I use cout?");

>> No.539747

>>539737
>>printf("Why don't I use cout?");

Because printf is a better function.

>> No.539750
File: 48 KB, 800x600, 1209588604766.jpg [View same] [iqdb] [saucenao] [google]
539750

>> No.539773

>>539654
hax my anus

>> No.539777

>>539737
>printf("Why don't I use cout?");
Sepples streams fucking suck.

>>539722
Not circlejerk, you don't really have to be anything special in order to be the best board on 4chan.

It's moot anyway, that place is mostly a programming themed /b/ in text board format now, with stupid shitty memes being forced left and right.

>> No.539784

>>539773
I'm going to email moot, MrVacBob and Coda every day until they make "hax my anus" insta-permaban on all textboards.

>> No.539800

>>539663
Thank you for the heads up anon, now I can browse 4chan and it does not have to be a total waste of time.

... hax my anus ... haha you guys are so funny!

>> No.539853

>>539733
You'd better leave your vulgar variable names. It sounds like the only redeeming quality your code has.

>> No.539954
File: 825 KB, 3637x3426, 1209591358828.png [View same] [iqdb] [saucenao] [google]
539954

>>539723

>> No.539959

>>539954
Girls don't know computer.

>> No.540036
File: 64 KB, 600x428, 1209592744882.jpg [View same] [iqdb] [saucenao] [google]
540036

>>539215
OP, now make a language learning game, something better than jrpg, slime forest and knuckles altogether!

>> No.540383
File: 134 KB, 849x600, 454354.jpg [View same] [iqdb] [saucenao] [google]
540383

Here's the source code. I hope nobody sees this.

http://www.sendspace.com/file/fomwgy

>> No.540475

>>540383
To compile the source you need the following:

1.A C++ complier (obviously).
2.Allegro graphics library. (The SDL library is better than allegro, but I coded it with allegro regardless).
3.Two or more weeks of basic C++ knowledge.
4.Common sense.

Any questions/concerns? Well, it looks like you're good to go.

>> No.540675

>>540475
Nobody gives a fuck about compiling your sepples code. Also, read SICP

>> No.540691

hax my anus

>> No.540707

>>540675
Lol Scheme

Pseudocode for pseudocoders

>> No.540712

Worst sepples ever.

Where are the classes? The new's? The operator overloading? The templates?

>> No.540727

This thread is full of NERDS

>> No.540734

>>540727

Welcome to 4chan.

>> No.540741

>>540727
Not really. I hate computers.

>> No.540745

>>540712
Templates considered ugly.

>> No.540748

>>540727
Not really, I know jack shit about coding.

>> No.540751

>>540727

I actually like it. /jp/ needs more weeaboo coding threads.

>> No.540799

Have you read your SICP today?

>> No.540801

It feels kind of familiar to have this sitting at the top.

>> No.540803

>>540799

No, because if I did I would be considered a nerd.

>> No.540811

>>540801
it feels good.

>> No.540816

>>540799
For some reason, when I see "SICP" I think "systeme international de child porn".

>> No.540832

>>540816
gb/2 Hospital

>> No.540849

>>540832
I think you meant L'Hopital. Though I can't see why you'd be referring to infinite series on /jp/, talk about Naruto and Bleach belongs on /a/.

>> No.540872

>>540803
HAHAHAHA
YOU THINK YOURE THOUGH UH ?
I HAVE ONE WORD FOR YOU
THE FORCED INDENTATION OF THE CODE
GET IT ?
I DONT THINK SO
YOU DONT KNOW ABOUT MY OTHER CAR I GUESS ?

ITS A CDR
AND IS PRONOUNCED ``CUDDER''

OK YOU FUQIN ANGERED AN EXPERT PROGRAMMER
THIS IS
/prog/[code]
YOU ARE ALLOWED TO POST HERE ONLY IF YOU HAVE ACHIEVED SATORI
PROGRAMMING IS ALL ABOUT ``ABSTRACT BULLSHITE'' THAT YOU WILL NEVER COMPREHEND

>> No.540881

>>540872
My other car is a cdr

>> No.540904

>>540872

so, what are you trying to say?

>> No.540971

Here's a repository /prog/ made. You can use if you want; it's 4chan-themed.

http://repo.or.cz/w/4chanprog.git

>> No.542715

>>540849
Funny how when you said infinite series I thought Haskell. God I'm a fucking nerd.

>> No.542948

I just browsed through /prog/, if you're a programmer it's fucking hilarious. But I guess all of 4chan seems that way at first.

>> No.542970

>>542948
the best part is the serious answers to the questions. dailywtf^2

>> No.543805

lol at /prog/ faggots trying to sound cool on the internet

protip: you're not.

>> No.544111

>>542948
/prog/ is good on some days.

>> No.544128

faggotry like this is why i keep my touhouesque projects to my self.

>> No.544158

>>544128
What touhou project. Is it a game? Or is it just more fanart?

>> No.544231

>>544158
neither really, no game or art yet - but i have a full engine, with editor and bullet pattern scripting language - and no, I'm not posting it.

>> No.544239

>>544231

PROTIP: It already exists, and its called Touhou Danmakufu

>> No.544262

OP is ZUN.

>> No.544313

>>544262
You discovered my secret.

>> No.544398

Speaking of Original Content, what's the status with Anon's Nice Day?

>> No.544472
File: 50 KB, 463x666, 1209661691336.jpg [View same] [iqdb] [saucenao] [google]
544472

I coded some konata's bread shooting hyde's faces to konata's head while evading Kagami's faces, with a gurren lagann poster as background

>> No.544514

>>544472
Link please.

>> No.544525

>>544472
That wold probably turn out to be a better game then Touhou.

>> No.544623

>>544472
>>544514
>>544525
>>OP of this thread !!BYayETiRclj

wat?

>> No.544674

>>544623
Protip: None of them are the op.

>> No.544674,1 [INTERNAL] 

>>540872
https://www.youtube.com/watch?v=1aMZiJ_u9pE

>> No.544674,2 [INTERNAL] 

does anyone know if the firing patterns 2hu games are procedurally generated? i can't imagine zun hardcoding all of that stuff.

>> No.544674,3 [INTERNAL] 

>>544674,2
why are you asking this on warosu? And firing pattern is static.

>> No.544674,4 [INTERNAL] 

>>544674,3
yeah i know its static but he might have used procedural methods to generate them once.

>> No.544674,5 [INTERNAL] 

is sicp really a good book to start learning to program

>> No.544674,6 [INTERNAL] 

>>544674,5
Learning to code is like learning Japanese: pointless unless you're an autismal fuck.

>> No.544674,7 [INTERNAL] 

>>544674,5
fuck no its one of /g/'s memes

>> No.544674,8 [INTERNAL] 

>>544674,7
so what?

>> No.544674,9 [INTERNAL] 

what's up with /prog/? front page works but clicking threads gives a 502.

>> No.544674,10 [INTERNAL] 

>>544674,5
It's good if you already have a solid background, like most of the MIT undergrads who take that course.

>> No.544674,11 [INTERNAL] 

>>544674,8
So what? You need to have a decent understanding already. Its really bad for beginners.

>> No.544674,12 [INTERNAL] 

>>544674,11
It's great for beginners who are already good at math.

That's why it was used as an introductory textbook at MIT.

>> No.544674,13 [INTERNAL] 

>>544674,9
Working fine for me.

>> No.544674,14 [INTERNAL] 

>>544674,13
well congrats, its something I would never recommend to someone who just wants to start learning how to program. I'm not sure what the point of your comment is...

>> No.544674,15 [INTERNAL] 

>>544674,14
Umm.... look at the post i was replying to....


........(Embarrassing)..........

>> No.544674,16 [INTERNAL] 

>>544674,15
*blush*

>> No.544674,17 [INTERNAL] 

>>544674,9
heh this kiddo doesn't go on the p-rider
*switches into disapproving parent mode*
("you'll never be an expert programmer at this rate...")

>>
Name
E-mail
Subject
Comment
Action