Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
Subject
Comment
[i]Italic Text[/i]
[b]Bold Text[/b]
[spoiler]Spoiler Text[/spoiler]
>Highlight/Quote Text
[pre]Preformatted & Monospace Text[/pre]
[super]Superset Text[/super]
[sub]Subset Text[/sub]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


Discord Now Fully Linked With 420chan IRC

Started learning C++ last night

View Thread Reply
- Sun, 12 Jun 2016 11:22:20 EST 0C4Q05Ui No.35733
File: 1465744940440.png -(36106B / 35.26KB, 512x512) Thumbnail displayed, click image for full size. Started learning C++ last night
Today is my birthday. By my birthday 10 years from now, I want to have made and released an RPG in the vein of Ultima. Any tips for a beginning programmer? I've been using learncpp.com, as someone recommended it to me.
3 posts omitted. Click View Thread to read.
>>
John Sandleforth - Wed, 15 Jun 2016 20:15:44 EST 0QLA4uop No.35743 Reply
>>35733
>>35737
plus, with C#, you have access to XNA and Unity 3D (among at lot of other stuff), something to look into for your RPG, OP

If you really, really need to ever program your own game engine, 2D game engines are pretty simple to make, plus you can quickly make dummy gfx in paint.
3D engines are much more difficult, in that case you'd need to learn to use DirectX or OpenGL to enable your GPU to draw 3D models with textures, etc. Then you'd have to learn shader language in order to make it look passable.

OP, start small, start simple. Start off with something like c# or java.
Start with small commandline programs that show off simple math, then make them usable with more input (eg. from a file or database). Then take on simple GUI stuff.
after that, you might be able to make small games... mostly 2D shmups and such....

so basically:
  1. learn a simple programming language and get comfortable with its syntax
  2. create your own Action 52

then you can expand to other languages, try to make more complicated games and EVENTUALLY IF AT ALL create the game of your dreams
>>
Andrea Huffingcrack - Sun, 10 Jul 2016 10:54:07 EST tX+MofFf No.35834 Reply
1468162447738.png -(58702B / 57.33KB, 650x200) Thumbnail displayed, click image for full size.
I second what everyone is saying here. You should definitely LEARN c++ but it shouldn't be your go-to language for making a game. Java or C# will serve you well, as they are basically both the exact same language.
(I said BASICALLY you fucking nerds, don't freak out)

A good case can be made for each language:
> C# is the language used in unity.
right off the bat you have access to a comprehensive fairly easy to use engine with universal platform support.
>Java has an api for everything you can imagine
You'll have to put together your own engine, but you can build it out of parts from a ton of other libraries. It's harder but will give you more direct control than with unity.

As for when you are just starting, the best way to learn for me was to dive in head first. Don't just sit back and watch tutorials until you ''feel ready''. Come up with projects that are small but challenging.

You might want to invest in a beginner's book for OOP. A lot of tutorials are in a rush to get to the ''cool stuff'' and they often completely ignore essential basics. (i.e. parameters, Static methods etc.)

Coding is actually quite simple if you ''get it'' (design is what's hard). It shouldn't take your more then 3 years to get to a point where you're beyond capable of programming something like ultima, and only another year or two to actually make it.

The visuals and audio are the real challenge when it comes to making a game. Game logic itself is very simple. When it comes to rpg's these are some challenging bits of code you'll want to prepare for:
> Reading save-game files (writing them is the easy part)
> Scripting for quests and dialogue
> Creating the ruleset (this includes defining enemy stats, loot tables etc)
> managing items

If you were to go the C# route and use unity, most of your development would be writing text or xml files, not actual code. Unity has already taken care of most of the hard stuff.

I hope things go well for you, and if you want to do things open source / GNU, drop it on a git repository. There's lots of us out here who would love to collaborate on games.

Oh, and the most important advice for learning programming:
>Fail Faster.
Don't be afraid of making mistakes, make all the mistakes you can. Don't get overly attached to your early projects, treat them like a learning experience not your magnum opus.

GL-HF op.

Make jQuery run on certain page

View Thread Reply
- Fri, 01 Jul 2016 19:06:29 EST W/zS63TD No.35803
File: 1467414389846.jpg -(11944B / 11.66KB, 225x181) Thumbnail displayed, click image for full size. Make jQuery run on certain page
Using the console I can run the line
$('.chart-promo').remove();
to remove an advertisement, but now how do I make this run onload everytime I visit these pages starting with "example.com/chart/..." ?
1 posts omitted. Click View Thread to read.
>>
Jarvis Smallforth - Sat, 02 Jul 2016 03:36:33 EST W/zS63TD No.35813 Reply
>>35810
Finally a JS question for you :).

But what about using greasemonkey to detect it when it keeps coming back on this dynamic page and removing it every time?
>>
Jarvis Druvingwen - Sat, 02 Jul 2016 10:17:00 EST WLOo3E7i No.35814 Reply
>>35803
just install adblock plus and add example.com##.chart-promo to your filters

What to code in C?

View Thread Reply
- Sat, 18 Jun 2016 18:15:55 EST NSh3STBF No.35753
File: 1466288155362.jpg -(84531B / 82.55KB, 800x1070) Thumbnail displayed, click image for full size. What to code in C?
Hey guys,

I want to learn C but have no idea what project would be fun enough to keep my attraction gripped.

I never did C before, only some C++. I've done some inheritance, lists, binary trees, properly handling pointers and such. Never did anything fancy with that, but I still well remember those concepts.

It's a pretty basic request, I know. My imagination is quite simply very dry, motivation low. Oh and also,

Another Google Question I'd Rather Read Your Opinion About :
~ How *truly* different would you say C is from C++?

Thanks in advance, friends.
2 posts omitted. Click View Thread to read.
>>
Charles Pockworth - Sat, 25 Jun 2016 21:01:36 EST mfkLzG/S No.35766 Reply
Zed Shaw's Learn C the Hard Way
http://c.learncodethehardway.org/book/

Also this book: http://csapp.cs.cmu.edu/ which teaches you ground up, binary/floating point/assembly and everything else you'll need to know all done in C and assembly. Expensive book i used libgen.io to pirate the most recent version (it's x64, old versions are 32bit).

There's also the book The Unix Programming Environment which has a lot of C programs in it to try out.

As for what to do in C, if you're not maintaining some existing C project like an embedded OS, Linux/BSD kernel or similar then don't write anything in C it's too dangerous. Use Go instead of that kind of systems/network stuff as it's memory safe. If you don't care at all about memory safety then write whatever you want, like embedded systems but make sure they're offline systems.
>>
Lillian Choblingdock - Wed, 29 Jun 2016 01:59:10 EST vIbiteGg No.35782 Reply
I'm coming back to C and C++ from a few years off in Scala, java, C#, and python land and holy fuck do I hate C++ now. C at least keeps it simple and doesn't fuck with you. But C++ has so many unique keywords and implicit definitions that keep getting bolted on that the language itself is a maze instead of the standard libraries.

Anyways I can power through that but the build tools are really what's holding me back. Are there any good references for building libraries and how linking works for C?
>>
Nicholas Pinkinfoot - Fri, 01 Jul 2016 02:36:56 EST sGFR0zid No.35801 Reply
>>35766

I read Zed Shaw's book as my 2nd C book and thought it was the most tedious, least helpful CS book I'd ever read. He's a sloppy writer, with sloppy editing, and awful at explaining things. KN King's C book is the way to go for *learning* C IMO. Zed Shaw's book is only useful to someone who already knows C decently as a refresher, at least as far as I could tell.

Java Game - Snake

View Thread Reply
- Mon, 27 Jun 2016 19:35:28 EST SWJfiJ9j No.35773
File: 1467070528041.png -(5469B / 5.34KB, 796x525) Thumbnail displayed, click image for full size. Java Game - Snake
https://drive.google.com/open?id=0B3s2WwA7ZBaCY3cwWVhLQ2s2REU
Made a little game of "Snake" in Java. What do you guys think?
I used Slick2d & LWJGL.
Jar-Splice to export as a .exe
Resource Hacker to give it an appropriate icon.
I still need to add sound effects and more complex ''maps''. (Possibly sprite based graphics as well).
Enjoy!
>>
Jarvis Brashfore - Tue, 28 Jun 2016 00:16:20 EST WLOo3E7i No.35776 Reply
>>35773
Looks good.
goes a little fast though, if it starts me facing up I pretty much die instantly.
Also, why would you turn it into an exe? that kind of defeats the purpose of using java.

You should also try to limit the amount of logic in your render methods. For EasyLevel.java, I would have probably split that up into 3 different classes, (like IntroScreen, GameScreen, GameOverScreen or something) and had the update function decide when to change between them.
>>
Stephan Floffingbridge - Tue, 28 Jun 2016 03:23:50 EST SWJfiJ9j No.35777 Reply
1467098630055.jpg -(7734B / 7.55KB, 480x360) Thumbnail displayed, click image for full size.
>>35775
angusj.com/resourcehacker/
I used this because from what I understand you can't customize the desktop icon of a .jar file.

>>35776
I chose exe for the above reason, and also because it feels more like a ''legitimate'' program then some random .jar file. I only mentioned it's use in case someone wanted to crack it back open and see the code.
(If you know of a way to customize the icon of a .jar file I'd love to know!)

A lot of people have mentioned the speed, so I'll probably be refactoring the code to include a main menu / difficulty options.
There's also currently a bug with the starting direction. By default you are supposed to go up, but thanks to my lazy design Input grabs the last input entered before you die, hence why it's not consistent.
I will probably add a delay timer on re-spawn to negate this and ensure the player is heading in the right direction.

As for the logic, yeah, I have to clean that up quite a bit. I threw in score / lives at the last minute and it's far from elegant.

Thanks for your feedback! I'll post updates as I improve the code / add features!

Old Phone Game Programming

View Thread Reply
- Wed, 22 Jun 2016 18:54:14 EST hs3PpPko No.35759
File: 1466636054079.jpg -(79689B / 77.82KB, 650x650) Thumbnail displayed, click image for full size. Old Phone Game Programming
Hi, I just inherited this old SCH-U450 Verizon phone. You can visit the "Verizon Media Center (Get it Now)", and download games and whatnot - all of them, it seems, from different studios. I'm wondering if anyone here knows how you go about programming that device/OS.

What languages and tools are available? And how did those game studios get a Verizon deal?
>>
Nell Worthingfuck - Thu, 23 Jun 2016 12:07:35 EST PeK+KZzj No.35762 Reply
You're probably looking at J2ME or BREW. The way it works is you design and write a game for one phone and then port it to other phones. This sounds like it's a bigger pain in the ass than it is on Android. I assume getting into a Verizon store is similar to getting into any other app store, just not so well advertised.

I had to change all the verb tenses above because I realized that this is still a thing. Kind of a trip.
>>
Albert Meblingworth - Sat, 25 Jun 2016 01:17:27 EST 4AC8OQBZ No.35765 Reply
>>35762
Yeah this guy is right. It's gonna be either J2ME or BREW. Enjoy your crappy Java apps.
>>
Cornelius Buzzhall - Fri, 15 Jul 2016 04:36:54 EST F+scHBch No.35853 Reply
My windows mobile phone used to have Java emulator. I played some mobile ratchet and clank game using it. Moto Q9c, good times.

Challenge

View Thread Reply
- Wed, 25 May 2016 20:32:06 EST PXZrezhR No.35657
File: 1464222726025.jpg -(153031B / 149.44KB, 1920x1080) Thumbnail displayed, click image for full size. Challenge
Guess what my root is.
Will show breasts maybe not wink wink.

root:!:16898:0:99999:7:::
daemon:*:16848:0:99999:7:::
bin:*:16848:0:99999:7:::
sys:*:16848:0:99999:7:::
sync:*:16848:0:99999:7:::
games:*:16848:0:99999:7:::
man:*:16848:0:99999:7:::
lp:*:16848:0:99999:7:::
mail:*:16848:0:99999:7:::
news:*:16848:0:99999:7:::
uucp:*:16848:0:99999:7:::
proxy:*:16848:0:99999:7:::
www-data:*:16848:0:99999:7:::
backup:*:16848:0:99999:7:::
list:*:16848:0:99999:7:::
irc:*:16848:0:99999:7:::
gnats:*:16848:0:99999:7:::
nobody:*:16848:0:99999:7:::
libuuid:!:16848:0:99999:7:::
syslog:*:16848:0:99999:7:::
messagebus:*:16848:0:99999:7:::
usbmux:*:16848:0:99999:7:::
dnsmasq:*:16848:0:99999:7:::
ntp:*:16848:0:99999:7:::
whoopsie:*:16848:0:99999:7:::
lightdm:*:16848:0:99999:7:::
administrator:$6$ZG4iXILy$0P3PUgxktT4KRpr9wNK.dkzHYvhXPyk73WBcydjFmcS5wmhunRisVsGapzYOC3aAdita2zrn63UT2DjVKYu0a.:16898:0:99999:7:::
>>
Sidney Handershaw - Wed, 25 May 2016 20:46:45 EST UJlFtb13 No.35658 Reply
I think you wanted /tech/ and perhaps to eat a dick.

Project Resurgence

View Thread Reply
- Sat, 21 May 2016 09:14:18 EST E+kfHK+d No.35652
File: 1463836458538.jpg -(995402B / 972.07KB, 4000x2184) Thumbnail displayed, click image for full size. Project Resurgence
Any 420nons know how to program UE4?

This kickstarter project is switching from Unity 4 and needs a Kevin Flynn motherfucker who can do UE4 and C++.

http://www.nectargamestudios.com/
https://www.facebook.com/ProjectResurgence
https://forums.unrealengine.com/showthread.php?84746-Project-Resurgence-Isometric-Episodic-Narrative-driven-cRPG&p=381513

It's a plot-oriented dieselpunk/fantasy love song to 90's RPGs (Baldur's Gate, Planescape: Torment, Fallout, Arcanum).

I ask because I've seen some of lead dev CohhCarnage's let's plays, and he seems like a switched on kind of guy who'd make a really good game. And the only way I get to play the game is if it gets fucking finished, so Ima enable all over this sumbitch.
>>
Phineas Pammlemotch - Sat, 21 May 2016 21:06:56 EST JLHDQ7Xv No.35653 Reply
>It's a plot-oriented dieselpunk/fantasy love song to 90's RPGs

You know, just the other day I was thinking that anything that's been billed as a "love letter" to old video games has turned out to be a complete fucking disappointment. A lot of games don't survive an engine change, so this probably won't even be that.
>>
Reuben Clayway - Sun, 22 May 2016 00:18:51 EST lQC8ix+F No.35654 Reply
>>35653
Inorite? But there's some good stuff in their CVs. But also Colonial Marines. But I want to believe.
But actually being their Code Monkey Prime would be a way to help stop it turning into Daikatana 2: Electric Boogaloo.

>Previous Work:
This is our first project as a team, but here are some shipped titles team members have worked on:

Planescape: Torment, Fallout 2 - Chris Jones (Enviro Modeler)
Aliens: Colonial Marines - Seth Black (Programmer)
Bioshock 2, The Bureau - CJ Green (Tech Artist)
XCOM 2, Tomb Raider (2012) - Si Tran (Animator)
The Order: 1886 - Mark Judkins (Rigger)
Bound By Flame - JC Doublet (UI Artist)
>>
Graham Bummlespear - Thu, 16 Jun 2016 03:28:36 EST sNl85PMl No.35745 Reply
there's practically infinite documentation for UE4, anyone could build anything given the time.

Noob here,, pls halp

View Thread Reply
- Wed, 09 Mar 2016 00:45:58 EST x5ghDxDG No.35288
File: 1457502358915.png -(19911B / 19.44KB, 734x343) Thumbnail displayed, click image for full size. Noob here,, pls halp
Ok so, finally upgraded to windows 10, wanted to play games..

I installed the VBA10 (Gameboy emulator) app,, downloaded through the windows store (which is completely new to me)

After a drunken night of ragequitting and starting over, it seems in my fit I deleted the app.. both from my files and from the apps/programs list in my laptop's control panel. BUT not from the windows store.

Now I'm trying to reinstall it, but the windows store is the only place I find to download it,, there it says "this product is installed."
and when I press open nothing happens

I sent an email about this to their support guys but no reply after 3 days

what do I do, oh great techwizards?
1 posts omitted. Click View Thread to read.
>>
Frederick Ninningstut - Wed, 09 Mar 2016 07:04:23 EST 9Cqzi6g5 No.35290 Reply
>>35289
well I don't connect to the web when I play so there's no ads.. but I do see your point.
any idea where I can find those "better emulators"? please?

I'm in india about to go on a 16 hour trainride without internet, and I want to play pokemon ;_;

Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.