[ / / / / / / / / / / / / / ] [ dir / 1cc / hikki / lds / leftpol / sl / strek / sw / x ]

/v/ - Video Games

The Vidya
Email
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Flag
Embed
(replaces files and can be used instead)
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 5 per post.


<BOARD RULES>
[ /agdg/ | Vidya Porn | Hentai Games | Retro Vidya | Contact ]

File: 269a0571b96621e⋯.png (104.71 KB, 500x500, 1:1, agdg-christmas.png)

e8e0a7 No.14026248

Merry pre-Christmas! edition I doubt we'll fill another thread before then since a lot of us are busy with family business.

Resources

>>>/agdg/

>>>/vm/

>#8/agdg/ via irc.rizon.net

Links

>Wiki: http://8agdg.wikidot.com/

>Beginner's guide: >>>/agdg/29080

>Previous thread: >>13988254

QUARTERLY DEMO DAY SCHEDULED FOR FEBRUARY 2ND

Feel free to contribute to and update the wiki. We want it to contain information for current and previous games, as well as helpful beginner articles.

04fe2a No.14026310

File: b2053807ebaf2a8⋯.jpg (60.77 KB, 482x427, 482:427, wojak wrinkly.jpg)

I sort of give up. I've been trying to make a character controller for my first person shooter for about half a year but making it exactly the way I want it is beyond my knowledge of math, physics and shit. What I have now is a trail and error grown, hard to read mess but it just works so I'll leave it the way it is and do other things.


4cbc71 No.14026688

>been struggling with getting my dude to walk on walls for more than a week

>tried every complex trigonometry shit I could think of to get it to work

>still doesn't

>go ask on the unity forums

>turns out Unity has a built in function that does it already

transform.TransformDirection(Vector)

Kinda want to kill myself

Guess I'm unstuck now though

>>14026310

If it's your first game it's pointless to try and make everything perfect. Just get it working.


12d893 No.14026813

File: ac96cd4560341a9⋯.png (41.15 KB, 1736x872, 217:109, Untitled654564.png)

Gamemaker. How do I make it draw that sprite in the same position whichever way the player object is facing?


e8e0a7 No.14026821

>>14026813

draw_sprite_ext( spr_engine_flame, speed - 1, self.x, self.y, 1, 1, player_angle, c_white, 1 );

Make the engine flame sprite 10 wider tot he right and place the pivot point where the center of the player would be when drawing it.


12d893 No.14026914

>>14026821

Thanks! Worked perfectly.

>>14026825

I meant I wanted the engine flame to come out the engine, so it drew the flame there, but kept drawing in the same place even when the ship turned, so it was no longer being drawn in the right place. I needed it to draw at the engine, relative to which way the ship is facing.


f712e7 No.14026962

File: 7d83c348af4ad59⋯.jpg (145.1 KB, 1000x1485, 200:297, 00efa0e255e418898acbba1cbc….jpg)

In the last thread, someone asked about whether people would continue to gamedev over the holidays. I'm actually gonna make a bigger push than usual, mainly because I get a big stretch of time off, and I promised to myself to make a big progress video by Christmas. Not gonna make it in time but I'm at least gonna aim for New Years.

I guess I'll extend anon's question to you mates, gonna keep working during the holidays or will you take time off?


acb040 No.14026967

>>14026962

Christmas till New Years is almost completely reserved for friends and family for me.


4cbc71 No.14027051

>>14026962

I was forced to travel back home to a city that seems filled with people with a stick up their ass so I have fuckall to do for a whole month.

Once I'm done with my dissertation I'll have nothing else to do but dev

>>14026967

You gonna spend every single waking moment with your family?


acb040 No.14027158

>>14027051

Christmas with family and time until new years with friends, basically a three-man LAN party in my apartment so I won't really have any free time during that, and the two or three days I'm not with someone are probably spent on resting up and cleaning.


e6ecb7 No.14027450

File: a12485ee022aa56⋯.webm (3.34 MB, 1280x720, 16:9, dont give up.webm)

>>14026310

Don't give up anon, go make other parts of the game and when you have more experience and programming knowledge you can come back and solve your problems with the controller. It might be impossible to make the exact game you dream of, but you can damn well try to get as close to it as you can.

Also, if you are having problems you could tell us what kind of controller you are trying to make and perhaps someone has some insight that can help.

>>14026688

I have learned to always search the internet for what I want to do before actually trying to see if someone has found a simpler way of doing it.


12d893 No.14027537

File: e6dc8ec4275d61a⋯.jpg (10.89 KB, 424x347, 424:347, screenshot.447.jpg)

File: 0b68098f68676a0⋯.jpg (15.78 KB, 653x361, 653:361, screenshot.448.jpg)

aaaaaaaaaaa

where do i put the centre on this blue sprite so it rotates properly with the ship? i tried lots of ways and i cant get it right

theyre both 16x16

kind of like my earlier problem but that was just drawing a sprite, this time its an object


708fe4 No.14027578

>>14027537

Where the ship's center is, or make the blue part a child of the white part.


c12a25 No.14027582

>>14027537

To rotate it so it lines up? You need to rotate its position around the center of the ship.


bd86f1 No.14027599

File: f8c4839e62ed3af⋯.webm (3.94 MB, 480x360, 4:3, congruent triangles OP.webm)

>>14027537

Trigonometry is your friend. Look up how you can make the blue bit always be the same distance away at whatever angle the ship or whatever is pointing.

Once you get a sine and cosine involved in the position, you should be able to make sense of it just by fucking with the numbers. Having an intuitive grasp of what they do will be useful for you later, so I'd encourage you to look up only as little as you need to kind of get the ball rolling.


c1ee22 No.14027808

File: ed25262c1068d79⋯.jpg (24.92 KB, 400x400, 1:1, N_Vs09bt_400x400.jpg)

>tfw struggling with anything more complex than pong

>tfw decide to man up and learn math

>tfw studying since algebra I

>finished algebra II and trigo, going now for precalculus, and will continue towards calculus I, linear algebra, calculus II and physics

>tfw no clue where an inequality is used, or graphing a quadratic function, or the law of sines and cosines, or even conic sections, or parabolas

>tfw no clue why should I care about that to make 2D games


c12a25 No.14027883

>>14027808

>"learning" things that you don't know if or when you'll need

And you've been blogposting this same shit for weeks now. Are you just after a pity party?


8438b4 No.14027916

>>14027808

You don't even know the scope of what you do not know now. Stop caring or trying to figure out why you need to know these things. You are too dumb and uneducated to make these distinctions at this time. As you gain skills you will understand more of the "why" answers, not just the how.

Power through it. Or be a pussy and cry about it. No one really cares.


4cbc71 No.14028012

>>14027450

>I have learned to always search the internet for what I want to do before actually trying to see if someone has found a simpler way of doing it.

So did I

Couldn't find anything


2c108c No.14028702

File: aae50e8d87702cc⋯.webm (1.46 MB, 1280x720, 16:9, 2017-12-22 15-24-14-294.webm)

Low-health effect is in. Likewise, now the screen flashes green when you use healing items (except for the burger, it flashes gold).

I really hate the BLOODY SCREEN SO REAL effect but I've found that for players it's unbelievably easy to lose track of how much health they've got. So instead it's a faint red pulsing.

Hopefully it's not too obnoxious, if so I can probably make it fainter.


0025be No.14028808

File: d72d9c22f145c15⋯.jpg (44.59 KB, 780x438, 130:73, skeptical putin.jpg)

>>14027808

>tfw making 2d game

>tfw it wont look like unity trash

>tfw it wont be optimized like shit

>tfw don't need to spend 8 years learning math

Why do people even bother with 3d?

You spend so much time trying to be a one man army on the programming your shit is just bland compared to any AAA game by the time you have to give it those personal touches which set it apart. If you even get that far.

Is there something I am missing here?

It just seems like a terrible idea, no offense.

Not quite MMO-tier bad, but still pretty damn bad.


c1ee22 No.14028856

>>14028808

>learning math takes 8 years

Literally what?

I've just spend a week and half to go from fucking aritmetic to last weeks of precalculus.

high school math is easy as fuck if you're an adult, literally as easy as basic adition and substraction.

I've never cared about math nor I still think is pretty much useless to learn all that, but I think I would be much worse trying to make a 2D game without understanding of at least trigonometry.

It's like complaining about hardware tools and going to the hardware store when you're trying to make furniture.


0d1286 No.14028869

File: a132d31fd33531f⋯.jpg (299.51 KB, 1920x1080, 16:9, 10558.jpg)

>>14028808

>Why do people even bother with 3d?

Because 2D is just not fun for some people.

>You spend so much time trying to be a one man army on the programming your shit is just bland compared to any AAA game by the time you have to give it those personal touches which set it apart. If you even get that far.

Depends on how you structure your game. Most people are literally just recreating another game that's already been made. Like Tetra-dev was basically making devil may cry waifu edition. You might be able to add more content to a 2d game, but if it's just another rehash it's no different then a shitty 3d game that's spread out too thin.

Pic related is a indie game made by 2 guys who built their engine to support multiple cameras at once, so they could offer a unique squad/stealth game.


8fe097 No.14028913

>>14028869

>built their engine

Nigger, Panda3D was made by Disney and used for shit like Disneyland rides and Toontown. It's been around for a long time before Signal Ops.


0d1286 No.14029031

>>14028913

Oh yeah, ogre3d is one of my favourite game engines. Up there with directx and opengl.


e6ecb7 No.14029033

>>14027808

>Calculus

Speed, acceleration and velocity

>Inequality

Fuck if I know, kind of a broad and simple concept the could be useful so you can frame your problems in a mathematical way.

>Quadratic function

Any sort of "smoothing" uses a quadratic function or more, I myself was using it as a way of giving some acceleration to the run speed of my character

>Law of sines and cosines

Bread and butter or any sort of rotation your character needs to make. Pay attention to this one.

>Conic sections or parabolas

Haven't come upon this yet, but perhaps they could be used to calculate things like an orbit around a planet.

Most of the stuff you learn in math isn't immediately useful, they are tools for when you have a problem to solve you will remember some obscure thing about math that made what seemed a first look like an herculean effort is now a mere equation you need to implement. If you are studying math I would also advise you to study binary logic.

>>14028012

Damn, I guess this is one of the reasons we should give a light read to the documentation then

>>14028808

Anon please, stop being dumb. It's all about balancing complexity, content and time to make it. 3D only has a higher minimum complexity necessary to make it work. You see a lot of indie 2d shit because it requires the minimum amount of effort necessary to make a shitty game, but you lose a lot of possible depth to the game, a 2d devil may cry clone can work, but it will inherently be inferior to a 3d one because of the lack of third dimension where you can have enemies coming from. Other concepts only really work in 2d, like bullet-hell.


db9dd7 No.14029048

>>14028856

Damn, you must be smart. Do you watch Rick and Morty?


c1ee22 No.14029069

>>14029048

do you really think math that is taugh to preteens and young teenagers is hard?


8fe097 No.14029096

File: 4b7fccc43b1d167⋯.png (1.37 MB, 1920x1080, 16:9, 5RNkvg.png)

File: a8bc5505144732d⋯.png (1.73 MB, 1920x1080, 16:9, 4ajA_G.png)

File: b6af68313777488⋯.png (1.29 MB, 1920x1080, 16:9, 46hKMn.png)

>>14028913

>>14028869

>look at the Panda3D website

>find this newly released abomination

Reminder that no matter how bad your game is, it will never be a furfag abomination.


0d1286 No.14029150

>>14029096

Hopefully that isn't a 3d version of that furfag RPG where you could rape everything. Also the game I posted uses Ogre which is a graphics renderer not a game engine


8fe097 No.14029179

>>14029150

Signal Ops doesn't use Ogre, look it up.


0d1286 No.14029203

>>14029179

Well shit. I remembered when I looked into the devs ages ago they mentioned building in ogre, but I must have miss-remembered.


2c108c No.14029448

>>14029069

I'm a dumbass who can't handle numbers to save my life. I slam straight into a wall anytime my code needs math more complex than addition/subtraction/division/multiplication.


c1ee22 No.14029493

>>14029448

download the teaching company DvD about algebra I, algebra II, trigonometry and calculus I.

It becames easier if you start from the basics and move up.


12d893 No.14029494

>>14027578

>Where the ship's center is

Thanks, this worked!


b5755a No.14029569

File: 9e4b4266310dc80⋯.mp4 (14.32 MB, 1152x720, 8:5, Recreation Practice - Part….mp4)

Guess I'll work on the targeting system and item drops next.


04fe2a No.14029622

>>14026688

>>14027450

You're right, gotta keep that perfectionism in in check. As I said, it just works and it does so without any noticeable bugs, so I have no real reason to complain.

>>14028702

>for players it's unbelievably easy to lose track of how much health they've got

Is it really the case for a single-player shooter? I never had trouble with keeping the track of health aside from few rare moments when action got too fast.

My advice would be to make the red glow work similarly to the green healing glow - it should be a brief effect triggered by injuries suffered below certain health threshold. Your game doesn't have auto-regeneration, so If a player would be out of healing items he'd have no way to remove that effect until he finds something and it would become very annoying, very quickly. Plus I don't think people need a constant reminder that they're almost dead, just as they don't need a continuous green glow to know they're at good health.


c1ee22 No.14029706

>>14029569

bretty good.

I though it was a PS2 game for a second.


e6ecb7 No.14029968

>>14029569

Looking good, but

>Keep you light burning strong


6162de No.14030267

File: d507a61283a5e1a⋯.png (147.35 KB, 806x625, 806:625, server_receive.png)

My game can now send information from a client and receive it as a server. The concept of multiple clients isn't implemented yet, though. This is all done over UDP. The next step is to use this system to implement player movement.


c200a3 No.14030530

>>14030267

I know it depends on use and environment, but do you know of any good introductory texts to networking?

Stuff that conceptualizes it, explains it, different protocols and layouts, etc. In particular, I'm in C#, but anything is useful to know, I guess. Less code that I have to write to learn about it right now, the better


6162de No.14030596

>>14030530

All I have been doing is reading through a couple of code examples that seem to be somewhat self-explanatory. This was the most useful example: http://www.binarytides.com/udp-socket-programming-in-winsock/

I'm using the WSAPI which, the way C# works is that everything in it is just a direct abstraction over win32, so you'll be using the same API, just in some kind of object model or something. Windows Sockets seem to have a lot in common with UNIX sockets, a lot of the functions look exactly the same.

TCP and UDP, since this isn't so low level, you can just use the API's to set up a TCP or UDP connection, and then that should be fine. You just "start" two sockets, and then the API's make it pretty easy to send data over it: It's just really simple functions like:


int sendto(
_In_ SOCKET s,
_In_ const char *buf,
_In_ int len,
_In_ int flags,
_In_ const struct sockaddr *to,
_In_ int tolen
);

which should explain themselves, I want to send a data through a socket to an address. It's pretty conceptually similar to the idea of using a file descriptor to send and receive data with a file. I haven't actually looked at any sort of conceptual texts about networking, I have just been reading a few code samples.


77f761 No.14030849

File: 72fc456c732edc0⋯.webm (6.12 MB, 1280x720, 16:9, mpt3.webm)

i have no idea what i'm doing


c200a3 No.14030877

YouTube embed. Click thumbnail to play.

>>14030849

I feel like your song is a diploma.jpg of music composing


77f761 No.14030882

>>14030877

i genuinely have no idea what i'm doing


4e16a3 No.14031006

>>14030849

>>14030882

I see you're making the soundtrack to one of those existentialist and surreal Thailand/Japanese movies.


77f761 No.14031018

File: bb41021e5ebd3b0⋯.webm (647.34 KB, 1280x720, 16:9, mpt4.webm)

>>14030849

should probably end it while i'm ahead


5b909e No.14031059

File: 9a2e52bae80d47a⋯.png (Spoiler Image, 108.95 KB, 769x724, 769:724, Screenshot_2017-12-22_21-4….png)

File: 10de0d9daea7562⋯.webm (Spoiler Image, 418.48 KB, 400x400, 1:1, vegeta.webm)

File: 2d616b98ce02f94⋯.jpg (Spoiler Image, 33.13 KB, 600x600, 1:1, 1488251560.jpg)

Fuck me goddamit I just went full degeneracy modeling a loli vagina in my quest to study anatomy. Looks pretty good for my first try but goddamit I feel so goddam dirty.


2976e8 No.14031082

>>14031059

Slap fur and a tail on that and you'll be making patreon bank in no time.


c200a3 No.14031093

>>14031059

>Vagina bones

I laughed


5b909e No.14031101

>>14031082

That ain't happening. I want a comfy waifu VR sim first. I just accidentally let my dick take over the wheel for a couple days.

>>14031093

I didn't make any vagina bones. What are you laughing about?


315667 No.14031275

File: 09c3694ca9779d6⋯.png (25.01 KB, 475x481, 475:481, 2017-12-23-020457_475x481_….png)

Working on starting a new project; hopefully something will come out of this one. Right now I'm working on all the simple debug functions and shit I'll need, as well as a coherent codebase this time. I'm using Godot, and the last projects were always a fucking mess because I didn't know how to take advantage of the node tree system. Currently I have a main menu with a file dialog to test various scenes, and a debug function that can be turned on and off.

This isn't really progress worth posting about, but I want to get into the habit of doing so. Hopefully it will keep me motivated.


bd86f1 No.14032221

>>14030849

>>14031018

Maybe you should keep going until music comes out.

Does OpenMPT allow you to play notes just by wailing on the keyboard, perhaps along to whatever you've already tracked? It can get pretty tricky to feel out what you're doing if it doesn't.


c1ee22 No.14032285

Redpill me on writing my own raycaster.


4cbc71 No.14032401

>>14032285

>falling for the raycasting meme


c1ee22 No.14032424

>>14032401

how do you get pseudo 3D with unity?


4cbc71 No.14032447

>>14032424

>making 3D games at all

pfft


004c81 No.14032474

File: 7da4f0202827df9⋯.jpg (29.86 KB, 680x363, 680:363, 0a2.jpg)

File: 070ee6485f87884⋯.jpg (55.95 KB, 850x510, 5:3, 070ee6485f8788467ebb3f9001….jpg)

File: 8049fd869f016ea⋯.jpg (45.11 KB, 369x537, 123:179, 1231102-1274028097363.jpg)

File: acb97a54787fb3c⋯.jpg (2.5 MB, 3200x1600, 2:1, acb97a54787fb3c682d327247e….jpg)

File: e53877fb7d60a5e⋯.gif (562.39 KB, 250x250, 1:1, Seinfeld-Laughing-with-Cig….gif)

>>14032447

>current year + 2.99

>he uses sprites instead of 3d models


4cbc71 No.14032492

File: 506243c3ff55c09⋯.gif (1.65 MB, 300x196, 75:49, 506.gif)

File: 2b9b65048ac46cc⋯.jpg (38.01 KB, 365x450, 73:90, 2b9b65048ac46ccc6ea4dde5a2….jpg)

File: 6da87f9a8ab6ac8⋯.jpg (51.75 KB, 500x386, 250:193, 6da87f9a8ab6ac8237139996d4….jpg)

File: 327282ca652b8fd⋯.jpg (51.82 KB, 500x380, 25:19, 3SM6oxg.jpg)

File: 10bf8d42e22d18b⋯.jpg (253.01 KB, 1080x1283, 1080:1283, 10bf8d42e22d18b39e1734790b….jpg)

>>14032474

>current year

>using 3D models instead of Voxels


004c81 No.14032504

File: 2eadc2e7ee1b82d⋯.jpg (29.12 KB, 491x488, 491:488, 2eadc2e7ee1b82d85cd5a51dd1….jpg)

File: 4d446c02348e012⋯.png (308.68 KB, 500x357, 500:357, 4d4.png)

File: 5b6a9c5572911ee⋯.png (180.09 KB, 350x350, 1:1, 5b6a9c5572911eee1eb3181d1a….png)

File: 6e3f2d6de8ea6f2⋯.png (977.53 KB, 1000x1411, 1000:1411, 6e3f2d6de8ea6f2c0257144e65….png)

File: 9cc2cc4690bf625⋯.jpg (14.35 KB, 219x251, 219:251, 9cc2cc4690bf625a104ada76e5….jpg)

>>14032492

>muh infinite detail


9830b3 No.14032508

>>14032474

*97.808219178%


c1ee22 No.14032681

YouTube embed. Click thumbnail to play.

I guess I'll remake this game on unity.


77f761 No.14032741

>>14032221

doing so wastes your effect slot, since unless you're right on the note, you add a delay effect.

on top of that, it'll only place notes on the current channel, which means if you play a chord, only one note is placed.

all of this effectively makes it useless


278be6 No.14032766

File: 054e9980431b1f7⋯.png (228.34 KB, 396x458, 198:229, disdain for plebs 8.png)

File: 0136e8839544908⋯.png (338.6 KB, 500x628, 125:157, disdain for plebs 7.png)

File: 492d5a8894c6f15⋯.jpg (82.92 KB, 540x546, 90:91, disdain for plebs 6.jpg)

File: 1137b83a8fb7c96⋯.jpg (23.4 KB, 400x465, 80:93, disdain for plebs 5.jpg)

File: a23ecdeac6222bc⋯.jpg (242.3 KB, 608x1161, 608:1161, disdain for plebs 4.jpg)

>>14032492

>>14032504

>>14032474

>he needs visual object to depict

Real men stick with the text


bd86f1 No.14032942

>>14032741

That wasn't really what I had in mind. I was referring to more of the ability to just fuck around and play whatever instrument is selected in polyphony while not recording. To sample and try out ideas. In something like, say, MilkyTracker, you can get however much polyphony you want to just sort of jam around, with or without previously material playing. If you've got jam channels enabled and high enough, whatever delays, echoes and effect you have going on won't interrupt each other, as each note's will be playing on its own channel.

You can record onto multiple tracks as well to capture polyphony, but which of the selected channels it's going to write to can get a bit messy.. It'll cycle through them in order for each note pressed. Works well enough, but you'll probably want to rearrange them later if you want, say, the higher voice in its own track and not strewn about.

Maybe give some other software a try. MilkyTracker's pretty good once you get used to it but the UI's certainly a product of an older generation of trackers. Tick some boxes in the I/O part of the config relating to multichannel and instrument playback things, take a look at some hotkeys and you're off to the races.


77f761 No.14032963

>>14032942

oh, you can do that in the instruments or samples tab.


b70336 No.14033001

>>14029569

>chose well

>?

>choose?


e6ecb7 No.14033026

Fucking Unity. I was using animation preview on my player gameobject, but then during play when my script called gameobject.find to get a gameobject that was a child of the player during awake() it was getting the clone created during the animation preview, and then it was throwing a null reference exception because this clone didn't have the script I wanted.

The clone itself has a different name from the original, so you can't easily get the wrong object, but the children of the cloned object are also cloned but have the same name as the original. To make it worse this clone is never displayed on the hierarchy tab, but if you get the name of the parent of the child object you wanna find it will say something like "Parent_object_name_here (Clone) AnimationPreview". Made me waste a fucking half-hour thinking I was going mad.


004c81 No.14033048

>>14033026

so change the names or don't use gameobject.find, you dummy


bc5302 No.14033159

Making even a turn based game with proper save/load is such an eye opener.

My entire gaming life is being replayed and I'm like oh that's why I despawn enemies in every modern fps by going through a checkpoint and reloading.

But also being really impressed by all the devs who didn't. Every game that allows me to save during action now gets a 20% boost in my mind.


bd86f1 No.14033178

File: 9d67aaf6ad17d40⋯.jpg (38.54 KB, 737x246, 737:246, tracker.jpg)

>>14032963

Hm. Well, I guess it's just a matter of playing around and writing down what seems to work. If you're not using an external keyboard, I do hope you're using a key binding that has the regular tracker format. You might lose a bit of range with just two and a half octaves, but having nothing but chromatic rows can make it very tricky to keep tabs on what key you're trying to play in. Having some duplicate notes in ,./ and QWE gives you some breathing room for when you need to cross that gap between octaves. Keeps the octaves lined up as well, as they're lined up right on top of each other.


e6ecb7 No.14033213

>>14033048

You didn't understand, the animation tab on Unity has a preview option, it creates a clone of the object you are using to preview your animations on and adds the "object_name_here (Clone) AnimationPreview", changing the name does nothing, the object also never appears on the hierarchy tree so it's not like you can manually delete it, or even see it. It also clones the children of that object, but does not change the name of them. For some reason the preview was not clearing these objects fast enough so that when I pressed play and the awake() condition started these objects where still there and one of my scripts was getting it instead of the real one. This is completely on Unity, these clones should never appear during runtime.


2c108c No.14033980

>>14029622

Surprisingly, yes.

I've seen a lot of people on Twitch play earlier builds of my earlier projects, and when there was no obvious low-on-health indicator there were a lot of moments where people would not be paying attention to their health, die suddenly, and go "Wait what the fuck? What killed me?".

As soon as I added a low-on-health sound (for DemonSteele) or changed health text color (for High Noon Drifter), there was something instantly changed that they could notice, and the problem stopped.

I really hate the Bloody Screen So Real effect, but in terms of telling a player to pay attention, it's probably the most obvious. Having a lasting glow that fades away over time might also work, though, and it'd let me get away from that goddamned strawberry jam smeared all over the screen.

I'll experiment around with it, thank you.


6162de No.14034048

>>14033980

>>14029622

I had the same criticism in one of my games (red sky) , I think that lots of games having these indicators have made people less able to just use the hud like normal.


004c81 No.14034151

>>14033213

you really shouldn't be animating in unity in the first place


3eee9c No.14034356

>>14033213

it's best to assume anything relating to animation in unity is just broken. most things work, but the few things that don't are infuriating.

try to keep most of your asset creation outside of the program whenever possible.


e6ecb7 No.14034375

>>14034151

>>14034356

I'm not animating on it, it's just the preview, you also have to use the animation tab to put events on it. Apparently it's not triggered by the animation tab preview too, it was just a coincidence. https://answers.unity.com/questions/1012246/findgameobjectswithtag-finds-an-object-that-doesnt.html this is exactly what was happening.


004c81 No.14034385

File: d09a7fcba291d5b⋯.gif (2.98 MB, 220x242, 10:11, d09a7fcba291d5b8dda2ba3504….gif)

>>14034375

>you also have to use the animation tab to put events on it

or you could just go to the import settings of the animation, assuming that you made it outside of unity

and that shit gets previewed in the bottom right of the editor, not in the scene view


3eee9c No.14034415

>>14034375

oh wow, that is fucked. I wonder if that affects built games or if that's just an editor bug.


e6ecb7 No.14034636

File: 07f06621f20f743⋯.jpg (84.76 KB, 864x717, 288:239, shrug2.jpg)

>>14034385

I know, but if you want to compare size of your animation to objects on the world you need to use it on the scene view.

>>14034415

I think it's just an editor bug, I believe this is the piece of code that's guilty: https://github.com/MattRix/UnityDecompiled/blob/master/UnityEditor/UnityEditor/EditorUtility.cs#L259

I was thinking it wasn't related to the scene view preview but I changed my mind, this code piece of code seems to be the one that creates the objects with the (Clone)AnimationPreview name, like I thought, it's instantiating the object on scene view for preview but failing to clean it properly. Restarting Unity fixes it, but using the animation preview seems to cause the bug again, it just happens randomly. I don't think I can reliably pinpoint when it happens.

For me at least it won't be a problem in the end, I already have a workaround and I plan to remove all gameobject.find when cleaning for release.


77f761 No.14034738

File: fc8aca9b1886836⋯.png (401.22 KB, 2560x1440, 16:9, Screenshot from 2017-12-23….png)

the cpu that will never run any interesting code


c200a3 No.14035370


453be6 No.14035428

>>14033159

learn about dictionaries

now don't quote me on that but it could be the reason many games use scripting languages for their characters. for example in godot, just scan for nodes in a group, then just store the transform, forces, and data in a dictionary (hell, i could use the same dictionary for gameplay), and parse it through (built in) json. then in reverse to load game.


c200a3 No.14035528

>>14035428

Dictionaries aren't magic. They're just one of many ways to store a collection of objects. What would be more beneficial in this case is serialization


c200a3 No.14035804

How good is SFML?


836693 No.14035811

>>14035804

Pretty good, what do you need exactly ?


c200a3 No.14035813

>>14035811

Remake SS13 in a year or two from now


8dd0d4 No.14035819

File: c83d94b32eb7b48⋯.png (163.03 KB, 413x451, 413:451, 1427235758901.png)

>>14034738

>Quartus

Hate VHDL nearly as much as UE4 Blueprints, thank god i only had it for one year.


836693 No.14035820

>>14035813

Why not use the Godot engine ?


c200a3 No.14035828

>>14035820

I always pictured engines as being tailored for simple games, or generic projects


836693 No.14035833

>>14035828

Well, go for sfml then.


0d1286 No.14035849

File: a363f322c91c884⋯.jpg (67.28 KB, 500x456, 125:114, a363f322c91c88433fdec2d43a….jpg)

>>14034738

>>14035819

>Quartus II

>VHDL

I almost got to do image processing on an FPGA for a robotics competition. It was one of the last times I got super excited about doing a project. Unfortunately, the person who took over the team decided to dedicate it teaching useless retards how to do things instead of actually making robots. Ignoring another team member and I's insight that useless retards will always abandon you at the first sign of resistance, and anyone worth while will pick it up along the way.

The useless retards couldn't even do our condescendingly easy sample project before abandoning and the team fell apart very shortly after I quit


91615b No.14036180

File: 31979095b7f431f⋯.png (183.41 KB, 543x854, 543:854, model_front.PNG)

File: 5e2a192533d84ff⋯.png (73.54 KB, 285x619, 285:619, model_side.PNG)

i've been stuck for weeks, just finished classes awhile ago now im starting back up on my projects. but here is my problem and i've post this last thread but no answer, so right now im sculpting pic and before i move forward i need to know three things.

1. clothes; do i sculpt them or not, and how do it work with the topology that i will face later?

2. anyone got a proportion sheet, i saw one on loomis a long time ago that measure the body by heads and i can use that.

3. i want to do a slender male character about in their early 20's however i know most proportion sheet is going to have the ideal body so how do i translate that to what i want?

thank you all, and have a wonderful holiday

and yes i know there are somethings wrong like the neck but that's another reason i need a proportion sheet


8dd0d4 No.14036462

>>14036180

>clothes; do i sculpt them or not,

Either sculpt them or use Cloth simulation in Blender or Marevelous Designer. Could also do it in combination. You could also paint displacement/bump maps directly.

>how do it work with the topology

Copy parts of your body lowpoly basemesh that are directly below your clothing, and then cut off the parts that stick out, then get is as close to the highpoly clothing as you can for example with shrinkwrap modifier. If you do this after rigging your basemesh, you don't even have to re-rig much the clothing too

> anyone got a proportion sheet

Pinterest is filled with anatomy sheets, proportion stuff and real life examples.

Wonderful holidays to you too.


2976e8 No.14036665

File: 468d8225e232bfe⋯.webm (961.25 KB, 988x444, 247:111, mus.webm)

What kind of game would you expect to hear this in?

also does it suck?


c200a3 No.14036689

>>14036665

MMBN vibes, sort of


802f94 No.14036752

>>14036665

Sort of reminded me of Black Rock Shooter: The Game, although maybe it's not quite as similar as I thought it would be as I go back listen to it again.

https://www.youtube.com/watch?v=8zR69wrzqpo&list=PLADDC01EC004022DE&index=1

Also sort of reminded me of some Yume Nikki music.

https://www.youtube.com/watch?v=_GrzwtHfZxg

It might not be bad as an asethetic/menu/overworld map theme, although it doesn't have any sort of memorable melody that's going to keep it stuck in a listener's head.


624900 No.14036791

>>14036180

I'm starting a modeling blog in a thread over on https://8ch.net/agdg/res/30078.html

1. I found it easiest to copy topology of the parts of the body it covers and then just extruded outward (soildify). That way it copies the topology and the weights so its perfect and wont ever clip with your body.

2. I'll be posting my folders of reference I found later

3. Idk


1ecddf No.14036830

>>14036665

It feels very tense. Something bad is about to happen, but it isn't happening right now or if it is it's happening somewhere else. Point is there's no action, just tension.

>>14036752

If this is going to be a overworld theme it would need to be one during a race against the clock.


0d1286 No.14036845

File: 37c9038adb75173⋯.png (269.38 KB, 640x480, 4:3, 3-capture_27112007_172439.png)

File: 09f67b0460cfbf3⋯.jpg (42.78 KB, 640x480, 4:3, 98109-DungeonKeeperGold.jpg)

Is there an example of a good nu-low poly scene. Not just isolated models, but an entire scene with low poly. I always see things like the TF2 low-poly models, the knight and the JRPG chick, although I never see them in an actual scene.

I say this because lately I've been playing a ton of retro games and they go from looking amazing at low resolution to shit when upscaled. Pic related. I was playing dungeon keeper 1 for the first time on dosbox unmodded, and fell in love with the graphics style. I looked up some screenshots and they all looked terrible just because of how you can see the polygon edges crystal clear for everything. And it's like this with almost every retro game I play. It got me thinking about how most games now are going to be on a 1080p monitor, have so much space to fill and can't hide their flaws as easily. It looks like nu-low poly isn't really that viable.


8438b4 No.14036866

>>14032681

Food Fight is pretty good too.


c13b21 No.14037197

>>14027808

that's not what you do. You learn things as you go, and when you need them. I've been modding games for years, and I'm currently developing my own FPS sandbox game - I still have no fucking idea how Trig works - I just look up how to get something I need, and if Trig is involved, I use it.

I'm not proud of my own ignorance, mind you. I should probably learn it. But my point is - you don't need to know it to use it to get the effect you need.

>>14028808

>why do people bother with 3D

Because 3D is fun.

>>14029448

Probably because you were intimidated by them as a child. Math is very simple, it's all about understanding it by heart, and that's done by explaining things properly.

>>14031059

That actually looks extraordinarily good. You got that puffiness just right.


6ce533 No.14037226


0d1286 No.14037342

File: 2b492324003bb54⋯.jpg (164.78 KB, 974x710, 487:355, tf2_heavy01.jpg)

File: dfd9f9624431b2d⋯.jpg (33.8 KB, 640x480, 4:3, 89f641a3fdcd34d27f78d2162e….jpg)

File: 8785cb8f5f18970⋯.jpg (66.77 KB, 800x376, 100:47, 8785cb8f5f18970157bbf9d474….jpg)

>>14037226

It doesn't really look like it works. Although pretty much all of those do that style where they show off the limitations rather than conceal them and cake tons of shaders ontop. I was thinking something more along the lines of pic related.


6db5dd No.14037649

File: 42fc61f1ab8cce4⋯.png (5.96 MB, 1920x1080, 16:9, thegoodlife.png)

File: df55c583673323c⋯.jpg (56.29 KB, 1280x720, 16:9, necropolis.jpg)

File: cfba4688210fddd⋯.jpg (137.98 KB, 1500x844, 375:211, growhome.jpg)

File: ec72817458c1c70⋯.jpg (409.63 KB, 1907x1080, 1907:1080, empiresapart.jpg)

>>14036845

Here are some relatively recent games off the top of my head with low poly assets (I specify assets because the actual scenes portrayed in the games use a lot of polys collectively). Two aren't even released.

Modern low poly, at least the type that actually makes it into a game and is not just one of the hundreds of useless artist mock ups, tends to skimp out on textures. Personally I think devils daggers is the best example of modern low poly which probably has something to do with the fact that they keep all the other old rendering limitations. (vertex jitter, low color depth etc.)


8d5bf5 No.14037785

File: 9e53db471569444⋯.jpg (69.94 KB, 506x526, 253:263, e9cfcfc8a18e79dba22d1672b5….jpg)

>>14037649

Everytime I play old 3D games and then I see those screenshot it fucking pisses me off how those assholes are missing the point of low-polygon. And now when I want to search for actual low poly screenshots then it is cluttered with those trash. Thanks assholes.


8e6407 No.14038002

File: ea0f3af50a59a9f⋯.mp4 (10.86 MB, 1920x1080, 16:9, Semi-decent weapon bobbing.mp4)

File: 644ca70928ad5a0⋯.webm (1.72 MB, 480x360, 4:3, FinishYourDamnGame.webm)

After a week of fucking around i managed to make my weapon bob around as the player moves. There is still room for improvements, but i tried to make it look like HL2's weapon bobbings.

>>14026310

Look at this shit anon. Let me tell you if you're watching: that this character controller is nearing perfection week by week, and still got 2 bugs left to solve. And let me tell you how much i fucking suck at anything related to mathemagics. But i didn't had to use much maths. Only a tween and a curve that forms an 8 shape, and script the weapon to follow along this curve while the player moves. Second webm is for you.


4cbc71 No.14038073

>>14038002

Weapon bobbing is tricky to get right, too slow and it feels like it's not moving right, too fast and it looks weird

Also don't forget the weapon moving more into the view if you're looking down, and less into view if you're looking up

good shit though


8e6407 No.14038118

>>14038073

Thanks anon, i had your idea in mind too to make sure the weapon bloats the view as less as possible.


4546fd No.14038172

>>14037649

that isn't low poly, thats just a chunky simple style, low poly objects without textures are just very simple shapes with no definition, low poly art is all in the textures


c12a25 No.14038181


6db5dd No.14038201

>>14038172

>relatively low poly count as a stylistic choice is different to relatively low poly count

I'm alright with the distinction, but if the lad was asking for "nu-low poly" these are the closest examples I know for actual games and not artists wasting time.


3d80df No.14038299

>>14038181

>nsfw underage dolphins

You sick fuck.

Nice references, quite a few duplicates in there though.


975570 No.14038342

>>14029150

>furfag RPG where you could rape everything

Please tell me this isn't real.

>>14032474

Making 3d models is fucking hard dude. Sprites on the other hand can be made in fucking paint.net if you're desperate enough.


3d80df No.14038356

>>14038342

>Making 3d models is fucking hard dude. Sprites on the other hand can be made in fucking paint.net if you're desperate enough.

Correction, making good 3D models is fucking hard. But the same is true for making good sprites. And making a lot of animations with good sprites is way more work and harder than making a lot of animations with a 3D model.


e6ecb7 No.14038790

File: 1f4fe495c1e1ab5⋯.mp4 (6.21 MB, 856x480, 107:60, 2017-12-24 12-44-18.mp4)

PROGRESS!

The character controller is almost done, I finally fixed the rotation of my animations so now I'm not gimbal locked. I think the next thing I will do is polish those animations.


4cbc71 No.14039056

File: 1394d2647d8bb60⋯.mp4 (1.96 MB, 1080x470, 108:47, 2017-12-24_16-15-38.mp4)

>>14038790

How's your character moving? Root motion? Or whatever that thing where the movement is dictated by the animations is called?

That's some impressive shit, I couldn't really understand it myself.

I've been checking out the limits of my wall movement script. After a few fixes I think there's no more bugs and it seems to work well. Now I just have to rewrite a completely different control scheme for it.


dc60c7 No.14039261

>>14039056

Did the robot turn into a giant piece of shit?


0d1286 No.14039361

File: 4859b88aa5d02f3⋯.webm (7.73 MB, 854x480, 427:240, 4859b88aa5d02f32ed92a35ed….webm)

>>14038342

>Please tell me this isn't real.


9830b3 No.14039386

File: f4d6dafeaa143e3⋯.png (29.95 KB, 636x267, 212:89, Screenshot_2017-12-24_02-4….png)

>>14038118

since you are going to use godot you are bound to head into animation tree player territory.

play the animations through the tree (by changing the parameters of the tree), not the animator player. the main animation player option is your library AND you can load other animations from other players, but they need to be their own scene/files(you can save animations as files).

this is what my tree looks like, in the upper branch i'm feeding walking animations and in the bottom one i'm just manipulating the seek of and aiming_upwards_downwards animation, then use a bone attachment bone for the guns and stuff

in case you want to take a peek: https://github.com/ostoru/vcsona

gun bone is broken for now


8e6407 No.14039437

>>14039386

I know the animation tree is coming for me, i'm quite impressed by it, and have no clue how it works. Thanks for the ressources, i'll study them tomorrow.


77f761 No.14039458

File: 3190115b3273ca2⋯.png (355.2 KB, 2560x1440, 16:9, Screenshot from 2017-12-24….png)

trying to figure out how to align accesses properly


04fe2a No.14040124

File: 1b1c0c7db5861ca⋯.webm (598.5 KB, 480x480, 1:1, 1b1c0c7db5861cacddbc793a2….webm)

>>14039056

That giant piece of shit is a placeholder for displaced dirt, meant to make it look as if the robot is not actually walking on the wall but instead buries into the ground and drills a tunnel with its nose? Am I getting it right?


bd86f1 No.14040275

File: 5031b3b884edce3⋯.jpg (24.78 KB, 443x388, 443:388, you're now thinking of tha….jpg)

>>14038342

>>14039361

There's also the wonderful world of multi-user dungeons, for when the edginess of HellMOO just isn't enough. All the same sperginess of rapey fetishistic furfaggotry, but in text form. Those places are where some of the furfag-specific vernacular came from.

In my brief visits many years ago, looking for disturbing or cringe-worthy material, I remember the people in those places managing to come across as either almost normal or completely deranged, taking very horrifying fantasies very seriously.

If you want good autism, stick with visuals. Or hope someone is kind enough to curate for you, so you don't have to dig into such cesspits.

On a more topical note, pandering to furfags can be a valid marketing strategy. You'll alienate the larger potential audience for a small, fickle but dedicated fanbase with much, much lower standards. Guaranteed income as long as you don't say the wrong things or have the wrong thoughts. It'll leave a stain on your track record if you choose to keep using the same name, and a stain on your soul if you choose to keep living.


5fcb27 No.14040434

>>14039056

Look up "world space texture shader".


e6ecb7 No.14040441

>>14039056

Some animations like the walk, run, 180turn and climb I use root motion, others like the fall and jumps I use simple gravity and speed accelerations. I made it this way so I can create things like a feather fall potion or a long jump potion.


c200a3 No.14040753

>>14036845

>640x480

While I like the old games, I feel like dying if a game doesn't have widescreen support. What's a good resolution to use?

I like the idea of having a square or semi-square playing field, with a sidebar taking up the rest of the area. What I've done on my own game, for example, is is have a 320x320 grid at 32x32, then upscale it 2x, finally centering it and slapping UI on it


f712e7 No.14040780

>>14040753

>While I like the old games, I feel like dying if a game doesn't have widescreen support. What's a good resolution to use?

I use 640x360 for my pixelshit. A slightly bigger window would then be 854x480.


4cbc71 No.14040879

File: f0790b5d3e898d5⋯.mp4 (7.29 MB, 1920x1026, 320:171, 2017-12-20_22-39-07.mp4)

>>14040124

Doing displacement is a lot of work honestly.

That's a placeholder without animations and particles. The final one will have moving textures, rock models rotating around and will deform or stretch depending on the players action.

It'll look better once it's done


6162de No.14040887

File: 355d95df25278de⋯.png (141.62 KB, 800x1000, 4:5, mutex_bug.png)

Fucking mutexes, how do they work?

I tried to make my con_printf function work asynchronously by adding a mutex, which would just block a thread from writing to the console until every other thread was done, but it looks like the threads are just ignoring it and writing over each other.

The mutex is a valid one, and the error condition doesn't happen. So, I'm not sure why the console output is messed up like this. Each frame on the server thread at 40FPS, this call is sent:


con_printf("Sending message: %s to socket protocol %s:%d",buf,inet_ntoa(from.sin_addr),ntohs(from.sin_port));

and this is sent from the client thread at 60FPS:


con_printf("receiving message %s",buf);

All references to con->buffer are using this mutex, so I don't understand the issue that's being had. Is the issue that I am accessing con.write_mtx asynchronously? In the example of how to use mutex objects on MSDN they don't do this. https://msdn.microsoft.com/en-us/library/windows/desktop/ms686927%28v=vs.85%29.aspx


0d1286 No.14040902

>>14040753

I'm not sure. I too have taken note that having a square work space is 10x as comfy as having a wide screen. Everything is just in the center of focus. At the same time though no one will ever go for it because having widescreen is more convenient to work with because you have more to see at once. Some screens are so wide now that you would need to literally cut the screen in half to get the desired effect. It also acts as a feedback loop. UIs can have so much detail that it's hard to make them bulky, meaning more space is available, meaning it's harder to cover half the screen.


c200a3 No.14040926

Well, fuck

>Use XNA because it's all I really know

>Except its content pipeline is retarded and impossible for ease of modding, so I just directly load the content myself

>Can't use half the features such as Sound Cues and other shit

>XNA is grossly deprecated, and in addition uses fucking Windows Media Player to play back sounds, and short, rapid playing pops and sounds awful in general

>Monogame didn't work for me for some reason

>FNA downloads and won't fucking build, and I have no idea what I'm doing with dependencies (I hit F6 and it immediately fails silently)

>Some other open implementation of XNA needed an updated version of VS C# Edition, which I don't have a license for and I'm too lazy to pirate it or find a key and download

>Unity and GameMaker are not appropriate for my game, too lazy to learn Godot

>SFML looks nice, but it feels too differently to easily understand at a glance, and I'd also have to implement timing loops, etc myself


6162de No.14040948


23ebb5 No.14040961

>>14040887

The #ifdefs are actually defined? Write up a minimum working example of using the mutexes to ensure you're using them correctly.


4075a0 No.14040995

>>14040926

>>Monogame didn't work for me for some reason

Are you using Linux? Right now MonoGame is bitch to install on it since MonoDevelop decided to use flatpak and MonoGame doesn't seem to want to make the switch.


5a5d67 No.14041450

>>14040926

Just fuck around with Unity and GameMaker for a few days each to see if they actually aren't suited.


c200a3 No.14041472

>>14040948

It's just like SFML but more barebones


6162de No.14041502

File: cb6e557efaf6790⋯.jpg (113.17 KB, 1024x768, 4:3, q3a.jpg)

>>14040961

Yeah, the ifdefs are all defined.

>>14041472

OpenGL has more capabilities, for sure. Think of all the AAA games that used legacy OpenGL…


8fe097 No.14041625

>>14041502

nuDoom uses OpenGL 4.x and Vulkan. AAA devs don't ignore it because it's incapable, they ignore it because they aren't familiar with it.


8438b4 No.14041626

>>14040926

GLFW, create OpenGL context, go to town. Build off of the demo programs that come distributed with it. Cmake to build, so not all that hard once you have the compiler installed. About that…

I actually recommend nuwen.net/mingw.html distribution. Get a 64bit mingw system with pre-compiled SDL, zlib, ogg/vorbis, libpng, jpg, GLM, glbinding.

From their, start adding things like Bullet3D, LuaJIT, whatever else you feel like exploring.


c200a3 No.14041640

>>14041626

I just had trouble installing dependencies, why the fuck do you think I would be better off with a C compiler? And why is every C compiler I can find like a 250 mb download? I thought it was supposed to be lightweight. No im sticking with C#


8438b4 No.14041646

>>14041625

I would say at this point, a majority of games are using OpenGL (and GLSL shader code) for rendering. It's just not talked about much. Most people are using an engine, any many of those are using OpenGL. Why? Because it's cross-platform. Engines want to easily allow released on consoles, Linux, Mac, and Windows. OpenGL allows this. Modern OpenGL is essentially bindless and stateless. The worst thing about OpenGL is all of the legacy BS around the web. Most tutorials teach outdated OpenGL, or outdated methods.


c13b21 No.14041654

File: 17a3ea499147a43⋯.jpg (86.8 KB, 645x773, 645:773, 1465929875849.jpg)

A couple weeks ago I stuck several notes on my monitor to fight my depressive swings, mostly reminding about my tendency to see everything in a negative light when depressed, and insisting that if I feel like my game is garbage and I'm bad at things - it's just my depression. So far it worked beautifully. Like, it really works as a reality check. I recommend it strongly, especially to unmedicated anons around here.

When you get frustrated and feel like you can't do anything - that's because you're too agitated to think straight. I recently realized just how fucking tense I am on a day-to-day basis because of my fucking baggage. Relaxing and slowing the fuck down is what you need, so then do meditation.

No, not the spiritual kind. It's sort of like cleaning your cache. Just sit there for 15-20 minutes, with a straight back, close your eyes and breathe with your nose. Focus on your breath, and specifically on the air coming in and out of your nostrils. The more agitated you are, the harder it's going to be to pay constant attention to it. Don't think about anything but that, and when your timer goes off - you just get back to what you were doing.

These two things are pretty obvious to well-adjusted people, but I'm pretty sure there's going to be a few people like me here, too. I know you hear about these things a lot, and you think they don't help - but although mental illness is real, it's still just in your head and it works by warping your perspective. These two methods work by letting you "remember" what your normal state feels like and helps break the cycle of depressive swings and anxiety.

A lot of never-ever games come from lack of persistence. If you feel like you're not good enough - it's just your sad self talking. If you feel like you can't think straight or can't figure out what to do - it's your anxiety talking. Learn to recognize your mood patterns and perspective shifts and combat them.

Everyone here can make it. You just have to learn how to never stop moving and never doubt your ability to learn, improve and persist.


8438b4 No.14041656

>>14041640

You really should be using gamemaker or unity.


8438b4 No.14041669

>>14041654

100% great fucking advice. I'm glad it's working for you. I myself have fallen into the traps you describe. The notes are a good idea. It's easy to forget these simple facts at first and fall into familiar, negative modes of thought.


c13b21 No.14041693

>>14041669

Inability to recognize mood patterns is what really hurt my teenage years. Both academia and shit like drawing and animation I'd be much better at if I knew how to handle my brain's tard wrath back then. These self-control methods have reduced my downtime significantly. I've been doing a lot, a lot more work lately and it feels great, even when I'm feeling down.

Also eat breakfast, drink tea or coffee in the morning and at least three cups of water before and after you wake up. Your body is a machine, and unless you're fed and hydrated, it pulls blood away from your brain to power your body to get sustenance. The difference is staggering once you really start doing these healthy things. I used to roll my eyes at that, as though it's placebo - but honestly, it's amazing. I even perform better in vidya that require attention and reaction time.


6162de No.14041828

>>14041625

I was talking about the type of OpenGL that my link teaches, which was used in the 90s mostly, and what was AAA in the 90s. Fixed function OpenGL is great.

>>14041640

>why is every C compiler I can find a 250 MB download?

What compilers have you found that go over 250 MB? You've probably just been downloading software suites that have a bunch of bloat in them.

I can show you a few C compilers that are small:

https://bellard.org/tcc/ - Tiny C Compiler - 274K

http://www.smorgasbordet.com/pellesc/index.htm - Pelle's C Compiler - 9.6M

http://openwatcom.org/ - Open Watcom C/C++ - 80M

I Would recommend Pelles C since that is the best software here, the others are hard to use.


8fe097 No.14042014

>>14041828

Great for making retro vidya and toaster-friendly stuff, but OpenGL 3+ can be a lot faster on DX10-tier hardware and up. Unless you're working on an actual low-poly game anything earlier than OpenGL 2 is bending over backwards to support an API for ancient hardware that probably won't run your game anyways.


6162de No.14042040

>>14042014

>Unless you're working on an actual low-poly game anything earlier than OpenGL 2 is bending over backwards to support an API for ancient hardware that probably won't run your game anyways.

All of my thinkpads have GPU's that do not support newer OpenGL standards. So, it's just a necessity for me that they support those older API's. Otherwise, I can only develop on my desktop- and that hurts my productivity. I think that it's actually not that big of a deal to support them, since its a much simpler and easier to use system than any new API, so the code is much quicker to write. I also like using the older computers as an optimization target, to make sure that my engine isn't running like shit and hasn't broken compatibility with windows XP. I am making an actual low poly game, but to make sure that its a "real" low poly game, it should at least be able to run on a Pentium M and Radeon Mobility 9000…


8fe097 No.14042115

>>14042040

You're sure your Thinkpads don't support OpenGL 2.x? Your points are valid otherwise.


27add2 No.14042172

I asked in /agdg/, but I might as well ask it here.

How do I into python?

I am doing it on code academy at the moment but I feel as if I am bruteforcing the exercises. Is this something that I have to work towards? Or is programming really just an exercise in bullshit?


f5a509 No.14042233

>>14042172

Sometimes it can be, but when you're starting out it shouldn't be bullshit and you shouldn't be bruteforcing solutions. You aren't expected to solve every problem on your first go at it especially when you're just starting out, and experimenting with possible solutions to see what works is an ever-present part of programming.

Maybe if you give an example of what you're doing and how you are doing it I can give better advice.


0d1286 No.14042286

>>14041646

Not to mention most consoles use OpenGL. Aside from the xbone.


199520 No.14042295

do sicp you retards


8e6407 No.14042339

File: a215326c5b7d82f⋯.gif (1.93 MB, 235x240, 47:48, mfwgod.gif)

>>14041654

Truly this place can be ressourceful with encouragements and your post is one fine example. Was it true that the greatest artists known to man, such a Van Ghog, were depressed as fuck when he was creating his masterpeices? If so, then he used his shit to create quality shit, and that's so fucking badass in my book that i might just do the same for my game. In fact i will do the same. I prayed to God so much so he could give me the intelligence to code and finally exteriorize my shit and now i am able to code a character controller with it's weapon bobbing around. And i thought i wasn't smart enough to code. In other words, follow suicidal artists example to free my mind and God helps me do it.

Witness me as my reputation gets flush down the toilet all over the internet including on here.

[spoiler]>yfw you pray to God to get 1337 coding skills and gives it to you.

<succesfully converted to /chrsitian/ after witnessing the power of God trough Gamedev[/spoiler]


8e6407 No.14042341

File: 67614352a1cd743⋯.gif (546.21 KB, 255x255, 1:1, 1416427412689.gif)

>>14042339

i forgot spoilers doesn't work on totally accidental reddit spacing


6162de No.14042465

File: 29fd25b135a0832⋯.png (61.29 KB, 806x625, 806:625, map_again.png)

>>14042115

My machines have the varying levels of support, for: 1.3, 2.0, and 2.1. On Linux it's somewhat worse because I don't know how to do that many things, I know that my distro (slackware) came with Mesa and it supported maybe 1.1 with no extensions? Not sure, but it ran fine.

I don't do any development on the 1.3 machine, but it's my optimization target. The game should be playable on low settings on that machine for me to be satisfied with its performance. I do plan on using shaders at some point (although it will be optional) in the OpenGL renderer. On any modern computer however, the user can just use the Vulkan renderer. I'm not neglecting more modern things, for example the engine can run in immediate mode or use VBO's for everything on the OpenGL side.

I like OpenGL 1.1 because of how easy it is to write the code, so my map editor is just entirely done in OpenGL 1.1 because I can write the graphics code really fast and I just run it on a powerful enough machine anyways (not that its slow…). So, that's why I think its good for beginners, it's like this middle ground between advanced modern OpenGL and libraries that are easy to use but hide things from the user.

I'm going to post a webm soon (maybe tomorrow) of me going around in the level. I'm implementing movement slowly because movement has to be done by connecting to a server that has all of the authority over where you move, so that the client is just a dumb graphics engine that isn't really aware of very much. So, I've been working on this. Right now I won't implement a working client-server, just the bare minimum to move around with no collision detection.


346030 No.14042524

Alright /agdg/. I'm about to make my new year's resolution.

THIS YEAR I AM GOING TO START MAKING MY GAME!

I AM GOING TO FINISH MY ENGINE BY THE END OF NEXT YEAR AND BEYOND THAT FUCKING FINISHING IT!

BY THE POWER OF SHITPOSTING, THREE MINUTE NOODLES AND A FUCK TON OF ASPIRATION I WILL FUCKING DO IT!


8e6407 No.14042550

File: 7d9aa8a257f3df1⋯.webm (1.9 MB, 400x226, 200:113, Do_it_faggot.webm)


9e1f95 No.14042616

>>14042339

i understand where you're coming from, and i agree that you should channel your negative energy into positive output. that being said, van gogh was aun untalented hack, as were the rest of the modernist/abstract/postmodernist/cubist/dadaist socalled 'artists'. shit, the lot of them. gl on your game tho :D


2c108c No.14042719

>>14042524

Why start next year?

Start this week.


27add2 No.14042833

>>14042233


a = 0b1110
b = 0b101
print a|b without using bitwise operators

https://glot.io/snippets/ewqkxic6gw

That is as far as I've gotten.

please no bully


27add2 No.14042852

>>14042233

>>14042833

>Maybe if you give an example of what you're doing and how you are doing it I can give better advice.

Again, this is really brute-force-y, but what I was doing was;

1. Converting a and b into a list

2. Removing 0 and b from a and b

3. Reversing the order of a and b

4. Comparing if the xth bit in a or the xth bit in b is 1, adding it to c if it is, 0 if false

5. Converting c back to binary by reversing and adding 0, b to the end

6. Converting the list of c back to bits

I am unable to get past step 4, lst.popleft() should do the trick, but it doesn't work. Still reading up how to's.


4cbc71 No.14042866

File: 56c34eb05c572af⋯.gif (1.78 MB, 299x281, 299:281, 56c34eb05c572af1a8a40176c2….gif)

Does anybody have some good documentation/tutorials on how to not make your particles in Unity not look like complete trash?

This shit is confusing


23ebb5 No.14042965

>>14042833

>>14042852

>>14042951

https://glot.io/snippets/ewqnh5aa4m

Things to note: Binary is a representation of powers of two, same as octal is a representation of powers of eight, decimal is powers of ten, hexadecimal is powers of sixteen. We call the power of the representation the base. To extract the least significant digit of a representation, take the modulus of the base ie to get the 9 out of 1239, do 1239 % 10. Now we need to remove the least significant digit from the number. Do this by dividing the number by the base and discarding the fractional component. 1239 // 10 gives us 123. Store the number extracted via modulus in a string for display and then reverse the string since we put everything in least significant first.

https://glot.io/snippets/ewqnsvow6m

Another implementation that doesn't bitwise or the number before printing it out. Uses the same logic as above and then uses logical or to check the extracted numbers.


199520 No.14043458

>>14042833

If this is how you are practicing programming, you are making a huge mistake. What the fuck kind of problem is that. "Do this very simple thing in the most obtuse, roundabout way possible." Do you want to be training your brain to come up with crazy multi-line solutions for something that is a single operator? What good does accomplishing this do? Find exercises that are actually practical, or better yet, start doing real programming.


27add2 No.14043470

>>14043458

I was following code academy, on the section on bitwise operators, they suggested I try it without using the operators.

The exercise was literally typing print (a|b) into the console

Where can I go to start doing real programming? I've tried project euler but the problems scaled way too fast.

>>14042965

That's way over my head, but it works, thanks for that. I'll try to understand it.


4cbc71 No.14043481

>>14043470

Find something you want to make, get an engine and try to make it.

Read the docs, google and research stuff that you need to know as you go along. OR you could buy a 500 pages book, read through it, and only then actually start making stuff. I don't think that shit works, but it depends from person to person.


199520 No.14043496

>>14043470

Do SICP. Then just find something you want to make and then make it.


c200a3 No.14043544


9830b3 No.14043609

>>14042866

use sprites that soft blend around the edges

>>14043470

https://www.reddit.com/r/dailyprogrammer/


4cbc71 No.14043643

>>14043609

No I mean as far as how to position and set them so they don't look weird, I'm having trouble with the different shapes I can use to create them


8c3871 No.14043910

how does texture animation work in Unity?

I'm a modeler and I can't code for shit

For example, what I want to do ideally is to split the eyes and mouth of the face mesh and be able to swap them in an animation.

I think I'm suppose to create 1 texture map for the eye and mouth mesh, and having different expressions on that one map.

what I'm asking overall is what I should prepare for the programmer.

also merry xmas and i wish for everyone


27add2 No.14043937

>>14043481

Long term goal > Video games

mid term goal > machine learning

short term goal > python

>>14043496

>>14043544

Thanks. That's a buttload of text, do they really help?

>>14043609

Thanks. I'll give the easy ones a shot.


4cbc71 No.14043965

>>14043937

>short term goal > python

Why?

>mid term goal > machine learning

Why?

>Long term goal > Video games

Neither python nor machine learning have anything to do with games

This isn't the right place to ask for that, go on /g/ or /tech/


9830b3 No.14044230

File: 8926664b67687b5⋯.jpg (102.13 KB, 1014x755, 1014:755, 3aa401dfaf97ee6064c5bae06e….jpg)

>>14043937

just like make game, its like you forgot the most important rule of gamedev.


fe4f8f No.14044308

>>14043937

>Do they really help

It's something to consider if you need to make a super low level efficient system. It'll be fine without it.


ed3c27 No.14044311

File: d6264b046e61a2f⋯.png (76.37 KB, 672x838, 336:419, jacket.png)

Should i add metal shoulderpads to match the boots?

my /agdg/ thread is at bump limit, but i got attached to it and don't want to make a new one ;_;


9830b3 No.14044330

in godot, i have two objects (yaw and pitch) that in conjunction need to look to another


8c3871 No.14044332

File: 8596cfdbf6d1e9c⋯.jpg (14.44 KB, 319x319, 1:1, 1485307284041.jpg)

>>14043910

返事ください


4cbc71 No.14044413

>>14044332

What I would do, and I'm saying this without knowing the engine you're using or what exactly you want to do, is create one image that has every single variation of the texture you want

>open mouth, closed mouth, smiling, sad, etc

Then the coder can just change the X/Y position of the texture to swap between the different images.


696622 No.14044555

>>14044311

Don't over design him. He looks fine the way he is.

Although if you're going for a cowboy look, give his boots some spurs.


ed3c27 No.14044575

>>14044555

He used to travel by foot, also spurs make it hard to sneak by goblin hordes due to the noise


91615b No.14044744

File: d9054d697b0e087⋯.png (160.65 KB, 468x762, 78:127, now_with_arms.PNG)

File: 84b7bab4a771db7⋯.png (75.87 KB, 315x707, 45:101, from_the_side.PNG)

File: c8bb11995822d15⋯.jpg (121.41 KB, 736x744, 92:93, body-reference-drawing-ref….jpg)

>>14036180

you know i forgot to add some more detail to what i wanted to say and what is my plan. i want to do about 7000 to 10000 triangles, because i would like to imitate 5th - 6th gen. that gen had simple models with very good textures, i dont like what people do nowadays, with models so im taking what was in my opinion the best and using it. as for normal maps im not sure maybe, i have not thought that far ahead i mostly just want to get to retopology then worry about that. also forgot to talk about hair because im drawing at a blank their.

>>14036791

o yes you, thank you, your attention to detail was great

>>14036462

yeah found one i liked and could work with(see pic 3). however the clothes are going to be static, no animation or cloth physics so im thinking doing what >>14036791 said, but i should tell you what i have in mind as for design. what im thinking is dress pants,dress shirt and a dress vest, but the color is bugging me because its black and white, i think i need more color so it does not look so bland or monotone.

just done putting the bases for the arms going to Boolean them and rotate them for T-model form, when i do the bases for the legs, so how does it look proportionally.

o yeah its the 25. Merry Christmas


2c108c No.14044788

Merry Christmas, everybody!

I succumbed to temptation, I'm taking the day off. I'll get back to working on stuff tomorrow.


aa41ba No.14044813

File: 6ae5a068ecb2230⋯.jpg (131.05 KB, 1300x869, 1300:869, 14525652-young-scared-man-….jpg)

>trying to code a fallout-like dialogue system using only JavaScript and html canvas

>mfw


fe4f8f No.14044825

>>14044813

The one thing that's keeping me from doing an RPG is how to have persistent areas, as well as querying arbitrary game variables via scripting to see if dialog options appear, etc


aa41ba No.14044836

>>14044825

I've got some of that done but it's total spaghetti code


3d80df No.14044938

>>14044825

There's multiple ways RPGs tend to do persistent areas. You can set progression variables and then on the world map decide to send the player to a different version of a town map, which works especially well if you need big changes like a town burning down. Otherwise you just add variable checks to actors themselves, for instance if you talked to Dude A and he walked away to some desert to find loot you set DudeALeft to true and check if that's false before spawning him.

Sure it requires a bunch of manual planning and adding variables, but it beats having to serialize entire maps.

>querying arbitrary game variables via scripting to see if dialog options appear

Just like use debugger?


12d893 No.14045331

File: c96df7b1b542487⋯.png (5.15 KB, 250x128, 125:64, bugboss_1.png)

In Gamemaker how do I have one object follow another?

Like if I put in Object_A in the Step event a line that says Object_B.x = self.x and the same for the y, or maybe put a line in Object B that says self.x = Object_A.x

Problem is, every way I try it ends up with lag, where it doesn't follow exactly.

What I want to do, is have this bosses pincers at the front, work as shields, that bounce projectiles back at you. So I thought of taking them out of this sprite, and having them be their own object, but I need it to move perfectly in sync left and right with this boss, and stop whenever this boss stops, and maybe move down the screen at the player when it does, but it needs to line up exactly.


f712e7 No.14045383

>>14045331

pretty sure for that, you could move the pincers in the boss object. so, in the boss object's step event, move both it and the pincers. they'll all move at once, then.


5a5d67 No.14045385

>>14045331

Use End Step to move objects before they are drawn.

IIRC the order for relevant events for everything every frame is

Begin Step

(Built-in input events)

Step

(Application of built in movement)

End Step

Draw


fe4f8f No.14045404

>>14044938

I mean shit like using Lua to query say, C# variables that may or may not exist on an object

>serializing a map

Not too hard. If you set up your map data correctly, the tiles should call for only a few a bytes of data each. You might have a few local map variables/states to hold onto; and maybe simple object and actor states.

Its obviously much harder if you have eg Minecraft terrain


5a5d67 No.14045437

>>14045404

You can do that with C# itself, there's this nifty thing most modern languages have called reflection…

https://msdn.microsoft.com/en-us/library/system.reflection(v=vs.110).aspx

In C# you can query any type for fields/properties/methods/constructors/indexers that may or may not exist, all at runtime.


5a5d67 No.14045443

>>14045404

>>14045437

Actually you probably want to refer to the methods on the Type type

https://msdn.microsoft.com/en-us/library/system.type(v=vs.110).aspx

Important ones are GetProperty/GetMethod/GetField

Heres a good set of examples of how they are used

https://www.dotnetperls.com/reflection

It would be pretty easy to use reflection to write a very simple game scripting language on top of C#


23ebb5 No.14045535

>>14043470

I was gonna write out a little thing for you, but this website does it better.

http://www.purplemath.com/modules/numbbase.htm


f3e2ca No.14045609

>>14045404

> Its obviously much harder if you have eg Minecraft terrain

It's not that hard. MC stores the changes to the map along with some information like the seed. When you load the game, the seed is used to generate the map in its initial state. After that the changes are applied. That's the reason why savegames in MC get bigger over time.


c200a3 No.14045641

File: 4e6abb3871e3f5d⋯.png (1.96 MB, 1457x982, 1457:982, ClipboardImage.png)

File: 7a1bb6221921842⋯.png (34.3 KB, 572x300, 143:75, ClipboardImage.png)

File: 8cab19ddcd1079e⋯.png (205.05 KB, 580x520, 29:26, ClipboardImage.png)

Meanwhile, on Notch's Twitter…


2976e8 No.14046279

>>14045641

Why is he such a fan of shitty languages?


053830 No.14046312

File: 166d71e984d77d1⋯.jpg (276.99 KB, 712x556, 178:139, 1463607923721.jpg)

Hey friends, I have a question. I'm making an engine for my never ever game, which I'm making with C and Lua, and I'm wondering how to do networking for it. I wanted it to be calculated by the server, where the clients send input and the server sends state. How should I do this?


2976e8 No.14046335

>>14046312

Is this a technical "how is this even done" or a general "what's the best way to structure this"?


053830 No.14046364

>>14046335

If you don't mind, Both please.


2976e8 No.14046413

>>14046364

I can't answer the second since I've never actually done it. But generally if you want to do network programming in C, you have to use the socket functionality of whatever OS you're programming for. In Windows that'd be winsock.h, in Linux it's sys/socket.h I think. I'd suggest reading up on that so you get an idea of how to actually send data over the network.

Implementing the actual server/client structure of your engine could probably be done in many different ways depending on the exact type of game it's for. If you're too afraid to get experimental though, you can always study the tried and true methods in something like the Quake 3 source code.


6162de No.14046451

>>14046312

I'm working on this right now, with winsock on windows and soon-to-be POSIX sockets on Linux version. Windows is basically using POSIX sockets since its API is very consistent with the POSIX API, so I doubt porting it will be a big deal.

I have been sending simple messages so far, there is one client that the server is aware of and the server can receive and respond to some basic messages, for example a "say" message that, when the server receives it, it will echo to all of its clients (which is just one right now).

See my previous post: >>14030267


c13b21 No.14046571

File: 9fcd4c4310b3400⋯.mp4 (2.95 MB, 890x558, 445:279, xmjtp_1.mp4)

Merry Christmas my fellow autismos.

I need some critique on my animation. I animate the weapon first, and only then the hands - but I gotta get the weapon right first.

I'll preface this by saying that I know that you don't slap guns around like that in real life. This is meant to be exaggerated and aggressive. Also, the guy who made this model pumps them out quickly so have placeholder assets for our game - it's missing certain details.

Other than that - please tell me what you think. If there's any aesthetic improvements or cool things I can add - I'm all ears.

One day i wish to get as good as Hyper or Mr Brightside


9830b3 No.14046790

>>14046571

the butt slap is too noticeable, but not worth redoing just for that. but there are more important questions.

1) is your gun zeroed? this is really important, more if you are doing fps or want the npcs using them

2) can it be played in game?

many engines have limitations on how you can setup animations starting gun first can lead to serious problems. also the gun itself its the least important part, the juice is in the hands.

3) are you supposed to put this much effort in this stage?

projects fall all the time and there is no point in pouring your soul if you are bellow the minimum viable product, even if you lie to yourself that it is for your portfolio, portfolios are worth nothing and nobody sees them.


c13b21 No.14046878

File: 27a51fdf0555d5a⋯.png (876.85 KB, 647x735, 647:735, 1487256415757.png)

>>14046790

1) Define zeroed

2) Yes. I'm animating with a constraint to hands. I'm then going to be exporting the animation of the hands and removing the master bone keyframes from the gun before exporting it. This way I can have UE4-friendly animations, and this is actually a much quicker and controlled way to animate since all the focus is on the gun and I can make it move the way I want before I figure out how hands need to move to fit that movement.

3) If we're going to attract a proper artist willing to work with us under revshare, we've got to make this shit look good with what we got.

>projects fall all the time and there is no point in pouring your soul if you are bellow the minimum viable product, even if you lie to yourself that it is for your portfolio, portfolios are worth nothing and nobody sees them.

By pouring my soul into the projects I work on, I get better. Even if this whole thing falls through (which I don't think it will - I'm way too personally invested in the game's concept) I'll still retain these skills. There's absolutely no point to halfass anything. This animation took me a few hours, start to finish. It's not that much, considering that it's for one of what, a couple dozen guns we intend to have? It's a drop in the ocean of the hours I'm going to have to pump in.


9830b3 No.14047433

>>14046878

1) that your animations can look where you tell it through simple commands. a problem that i'm facing right now

2)and have you tested that it actually works? what about simple modifications/updates? you might think that it is not a big deal when doing just one animation but that time and testing will eat you once you start expanding your library.

I went through great trouble to make a work flow for my animator to export once and sit back. that way he can spit out animations and test without breaking anything

3)i do not know what stage are you in, but if you still need a proof of concept be sure that it actually proves your concept first. this means placeholders only, spaghetti code, and tackling the most unique parts of your project first, whether it is multiple weapons, swappable characters or a mix of turn based system with parkour shooting, you need to be sure they can be achieved with your current team and tools. anything beyond that is wasted effort, and you are better off working on other projects on the side until your team catches on.


4ed305 No.14047592

>>14042339

>[spoiler]


4ed305 No.14047595

>>14046571

Now on topic I really like it. It's expressive animation. It's got flair.


004c81 No.14048014

File: 27712b998b9be05⋯.webm (420.4 KB, 640x480, 4:3, 27712b998b9be05f0b2d88926….webm)

File: cd73da48ca92847⋯.webm (3.28 MB, 1920x1080, 16:9, average aggy daggy anon_V….webm)

>>14045641

>also, there's no way i'm going to actually do anything with this

motto of every aggydaggy dev


c12a25 No.14048569

>>14046312

Not sure if this will be specific enough to help anon, but in the past I've handled it like this:

>Client sends input changes to the server when changes occurred but capped to a maximum number per second (if viable for the type of game you're making)

>Depending on latency you may want to have the client pretend to use its input directly client-side and then get corrected by the server

<Server checks and normalizes the input then uses it to determine velocities (per sec) and actions then informs clients of state changes at a fixed rate

>Clients apply and interpolate changes as needed to smooth out movements

But a lot of the nitty gritty depends on the type of game. A fighting game needs to focus on lowest latency and you wouldn't want to fake local input while an open world shooter can be more sparing with updates until players are within a certain proximity of each other. In general I'd recommend you push a lot of updates and state changes initially and then optimize them around the type of gameplay you need to handle.


c13b21 No.14048686

>>14047595

Thanks, anon


396c3a No.14048762

YouTube embed. Click thumbnail to play.

How do I make shadows in Unity? So far for dynamic objects I only got shadows to show with spot and point lights, but they look like shit for a sun, directional lights simply do not produce shadows. I have been messing with the mixed lightning and managed to bake shadows for static objects, with the light probe group I can make the dynamic objects receive shadows, but they never cast any shadow.

Mixed Indirect mode produces no shadows for either the dynamic or static objects, Shadowmask mode produces shadows on static object, but Distance Shadowmask produces no shadow if the shadow distance is high. Didn't even try subtractive because I didn't think it would be worth it.

I have been trying combinations of forward rendering or deferred, changing random settings but not even realtime GI produces shadows for dynamic objects. I'm completely lost and don't know what else to do, I tried to copy the settings on the video but nothing works, since the mixed lightning is a recent thing I haven't even been able to find proper tutorials on this.


004c81 No.14048872

>>14048762

did you check your shadow distance? quality is usually the problem for this


903bf1 No.14048917

>>14046312

Just like make netcode.

First thing you need is a protocol for sending the information between servers and clients. The protocol and the code handling it are probably the most important piece to get right up front. Decide where one message ends and another one begins, and how the computer knows this. Decide if/how you want encryption done. Decide how messages are received/stored/handled. Etc.

Suggested thing: Multithread the netcode. Having multithreaded code is good, but a pain to get right. You won't want to stall the rest of your game. It's easier to avoid doing multi threaded code if you have lower level control over the sockets. You also want to do this early, since it will can be a big change to the structure of your netcode.

Next thing: RPCs (Remote Procedure Calls)- Have a layer that allows client/server to pass messages and call functions on eachother. Lowest level thing you can do which gives you the ability to basically do anything you want. Consider using information about the source of the RPC (what client sent it) as information the RPCs themselves use, which could be used to prevent any player from faking messages to move objects they don't control, for example.

You will definitely want a set of RPCs that sync data between client and server, with the server sending deltas (only what changed between ticks) to connected clients every tick. You don't want to send actual delta positions, but new information about objects, if it changed (can send both position and velocity of an object)

After that, it is easy to write any system you want in the game as a collection of RPCs and shared data. Entities, chat, inventories, etc. Just structure any player action as an RPC.

I've been writing a custom netcode system in Unity, using C#4.6 Tasks to "multithread" it. So far it's turning out pretty well, hardest part was getting the tasks to play nicely with Unity's main thread and play/pause/stop state. Thankfully pretty much all tasks end up getting killed every time scripts recompile.


396c3a No.14048992

>>14048762

Well FUCK ME. I had set the camera far plane to something like 10 million and I discovered that setting it to more than 2 million fucks up the shadows.


4f1e54 No.14048993

File: a36c1cd021bf85f⋯.webm (12.19 MB, 1280x720, 16:9, 1_3_Teotihuacan.webm)

After about a week of full commitment and not really knowing what I'm doing turns out airstrafing isn't hard to implement. There is no reason a FPS game shouldn't have it.


8e6407 No.14049004

>>14048993

pretty not fucking bad i like it


903bf1 No.14049014

File: fad1b2e95242f83⋯.webm (11.23 MB, 2560x1440, 16:9, what.webm)

>>14046312

>>14048917

Here it is in motion Connecting and disconnecting from another comp, with a little bit of motion interpolation.

>>14048992

What did you expect setting the clipping plane that far away?

>>14048993

Neat. I wish that we actually had more games with mechanics like bunnyhopping/strafejumping.


c13b21 No.14049017

>>14048993

I've implemented it in my side project remaking Hidden: Source a while ago. It's not hard to implement, but it's a tad difficult to figure out how to slow down the speed gain.


396c3a No.14049021

>>14049014

>What did you expect setting the clipping plane that far away?

I was messing around with it sometime ago and forgot to set it back to normal levels


8f62ac No.14049077

File: 00f1b4bee82a589⋯.png (2.9 MB, 2048x1536, 4:3, Glasses_800_edit.png)

>>14032401

>not getting insane trying to make a raytracing engine

Faggot.


2c108c No.14049116

>>14048993

Yo this looks rad as fuck.


ed3c27 No.14049148

File: 0dd38622f766cb5⋯.jpg (35.61 KB, 521x544, 521:544, DB7L68jWAAANONs.jpg)

How do you do low poly hair physics in blender for unity? Do you make an armature and rig the hair?

I never worked with more than one armature on a single character, how would that work?

I have been looking for tutorials, i only find that hyper realistic hair crap for unity

Also what do you guys use for character clothing? Do you use the Unity cloth system?


dc60c7 No.14049152

>>14045641

>Creates formula that creates much more complex world than Minecraft and at much higher performance

>Will never use it

This shit is why video games have stagnated

>>14049017

>Remaking The Hidden: Source

My melanin enriched brethren


9830b3 No.14049224

YouTube embed. Click thumbnail to play.

>>14049148

i don't use unity but i do this, then shape key the fuck out of it (anim-all add on might be involved)


9830b3 No.14049255

YouTube embed. Click thumbnail to play.

>>14049224

for clothing i use this other and also shape key the fuck out of it too.

it takes age to render so i made a computer out of old components and leave it running overnight/a few days.

keep in mind that for it to work properly your humans need to be like 10 times bigger there is probably a setting to change scale somewhere else


ed3c27 No.14049266

>>14049255

>>14049224

thanks i will check it


f71411 No.14049279

Games usually avoid realistic violence against children, but is it just because they want to avoid controversy or is there actually some law about it? I don't want to get in trouble.


199520 No.14049283

>>14049152

Notch is shit at game design. He just likes making little toys. He could make another game based on randomly generated cubes but it would still be a shit game even if the cubes were generated better.

polite off-topic sage


9830b3 No.14049305

YouTube embed. Click thumbnail to play.

>>14049301

don't forget your hair also don't learn everything just because you can, pick one or two things and learn them good, then participate in other people's projects


ed3c27 No.14049308

>>14049279

depends where you live


f71411 No.14049313

>>14049308

Well I'm Canadian so I already know I can't have any child diddling, but I want to sell my game in the US and Europe too


6162de No.14049324

File: d2ca3989af76966⋯.jpg (29.27 KB, 640x480, 4:3, voxlap_lib.jpg)

>>14049152

>>14049283

I think that it should also be noted that while notch is definitely more popular, Ken Silverman's work on voxels from 2003 blows anything notch has created out of the water. Imagine what this engine could do if it was taking advantage of modern hardware- it's not even using the GPU, it's designed for the Pentium 4, and yet it's still comparable to minecraft and notch's demos.

http://advsys.net/ken/voxlap/voxlap05.htm

The only problem that it has is that ken's code is insane and impossible to read. His programming style involves using two letter variable names for everything, and his code is littered with inline assembly blocks. The engine is one 12000 line .c file (it's C++, but he said in the readme he names them .c "to save typing".) Basically every single "style rule" that you would normally see has been broken. It looks like the code that you get when you try and generate C from a disassembled program.


2976e8 No.14049333

>>14049313

Trudeau will probably kick down your door. Come down south and enjoy some freedom.


f3e2ca No.14049334

>>14049313

Honestly, I wouldn't bother. That sort of shit sounds like it's a recipe for the wrong kind of controversy. Then again, I don't know what you're working on.

>>14049324

>voxlap

Reminds me of Ace of Spades.


f71411 No.14049345

>>14049333

I don't have enough money to immigrate… and when I do I'd rather go to Japan

>>14049334

If it's just a controversy I don't mind, since the rest of the game is controversial anyway, so I figured I might as well go all out. I'm just wondering on the legality.


2976e8 No.14049348

>>14049345

>rather go to Japan

You DO know porn needs to be censored there, right? Just saying.


f71411 No.14049352

File: e81e31318706369⋯.jpg (10.85 KB, 236x231, 236:231, 7ed42820271eca3913a7916d01….jpg)

>>14049348

I'm not making porn tough


6162de No.14049354

>>14049334

That's because ace of spades is using Voxlap as it's engine. See: https://www.buildandshoot.com/download/

>Voxlap is the original engine used for Ace of Spades up through v0.76. If you played the game during the early beta stages, this is what you're looking for.


2976e8 No.14049357

>>14049352

I just don't see why you'd trade one type of authoritarianism for another. I guess it's just the way of the leaf to be a bootlicker.


4cbc71 No.14049370

File: 63a8d79382a9388⋯.jpg (94.22 KB, 634x421, 634:421, 0027F70D00000258-3979904-i….jpg)

>>14049345

>>14049333

>emigrating to america

>emigrating to japan

You guys don't know nothing about freedom


9830b3 No.14049422

YouTube embed. Click thumbnail to play.

crazy bump but free and for linux


f3e2ca No.14049429

>>14049345

Whether I want to deal with a controversy very much depends on what the controversy is about. Anyway, you will have the rating agencies of all countries breathe down your neck. Since they don't all subscribe to the same universal book of rules and have a tendency to be quite arbitrary (at least here in Germany), it means that you will have to fight a lot of fights.

>>14049354

I knew that, Anon. It still hurts how badly the dev got fucked over.


3d80df No.14049508

File: 5ccade0d0a4ecb3⋯.png (1003.14 KB, 680x1020, 2:3, 20010604_ken_silverman.png)

>>14049324

>Ken Silverman

SILVERMAN!

SILVERMAN!

SILVERMAN!


396c3a No.14049545

File: 5762b8f42b9ed8e⋯.mp4 (6.63 MB, 1280x720, 16:9, 2017-12-26 17-13-42.mp4)

Lighting looks good enough to me now. Gonna start reading up on terrain modeling on blender, unity terrain sucks, can't even make a cave on it.


9830b3 No.14049582

>>14049545

if you are doing caves in blender don't go sculpt head first, use the boolean modifier to chain entrances and chambers together then sculpt that. also don't overdo the sculpting, most of the detail should be done painting https://cloud.blender.org/p/creature-factory-2/56041520044a2a00caa7b06c

also enable the tree generating add on.

also learn about duplifaces, dupliverts and groups. it will save you lots of time when you are trying to place 9000 trees/lam posts/houses at once


f3e2ca No.14049592

>>14049545

If you're going with a photorealistic look, turning your terrain into a normal mesh is a really bad idea. Texturing and LOD are going to be a royal pain in the ass. It doesn't surprise me that Unity's built-in terrain system doesn't support holes. People have been asking for it for ages. You'd need a third party solution or do it yourself. I don't know if there are any tutorials.


004c81 No.14049600

>>14049545

i think you'd have an easier time just using unity for most of the terrain, converting it to a mesh and then adding caves in blender

there were alternatives like rendering caves over the terrain, but i never managed to get that to work, and i'm even more confused how you'd work out collision that way


6162de No.14049651

File: 8c9a0bb96fc0bea⋯.png (236.53 KB, 1200x1200, 1:1, voxlap_cs_grad.png)


3d80df No.14049655

>>14049592

Like >>14049545 said, using meshes only is likely to be a royal pain in the ass. You might want to look into implementing something like MarchingCubes so you can just edit it in the engine. There's some hits when you type in "Unity Marching cubes" so you might not even have to implement it yourself, or only have to change it a little to add in-editor editing.


3d80df No.14049661

>>14049651

Heh, I used to have a teacher who programmed like that. He also wrote a raytracer that fit on a business card.


6162de No.14049706

>>14049661

I just wish I could read it, but between the two letter variables and the walls of SIMD assembly I cant.

Anyway I have been working in my mouse input, I implemented mouse input using the raw input API's, I also will implement it using directinput as well, I think that will be enough for windows. I don't really have a reason to implement the directinput method yet because all of my windows NT computers support raw input, though. I don't have pre-NT windows versions installed anywhere.


2976e8 No.14049743

Isn't Ken Silverman a Jew?


2f46ec No.14049779

File: abc6011b343e503⋯.jpg (17.56 KB, 276x280, 69:70, ken2013_sml.jpg)

>>14049743

>Look at that schnoz

>Silverman

Nof course you idioto


2976e8 No.14049785

>>14049779

But I guess he's not a *prime* jew since his name is only Silverman instead of Goldman, right?


2f46ec No.14049794

>>14049785

Exactly, that's why he actually produces things instead of jewing goys.


3d80df No.14049815

>>14049706

I could probably translate and comment it a little, might do it if I feel like being not lazy.

>>14049785

God dammit anon give me my sides back.

>>14049794

I've met plenty of really stereotypical jews, but all the autistic ones I've seen have been really unkike-y. We should ask China how they made those monkeys autistic and force it upon the jews.


6162de No.14049876

>>14049815

It's not so horrible, its just that I dont know assembly that well and translating that code would take a while before I could understand it. The engine is 12000 lines of that, so it's really not going to be easy.


8fe097 No.14049947

File: 67c9bf07dd8f622⋯.png (335.95 KB, 600x642, 100:107, smugvamp.png)

>>14049815

>I've met plenty of really stereotypical jews

I know one who made a game that crashed on launch and jewed his way into getting it accepted for a game jam and graded by four judges, none of which even mentioned the game wouldn't fucking load by default. His game was the blandest SJWeeb jrpg knockoff you could possibly imagine and even with all the grooming from the judges and excusing him from the jam's basic quality standards they still couldn't give him an award.


803982 No.14050123

is it feasible for me to write a 3d game in C, rather than C++?

I'm rather hesitant to learn C++ solely to make a game, especially if I can do it in C instead.


8fe097 No.14050159

>>14050123

Ika is writing his second 3D C engine as we speak. It's uncommon these days but still doable.


2976e8 No.14050170

>>14050123

All the Id engines until Doom 3 were written in C. Yeah it's possible, but


2976e8 No.14050172

>>14050170

Whoops I fucked that up. It's possible, but I can't imagine going back to C personally.


802f94 No.14050189

>>14050123

Personally I'm taking an approach of C-with-classes, in other words the only C++ feature I use is (non-template) classes (so no STL, no template classes, no 'auto', yes some 'new' and 'delete' statements for class pointers).

I think this C-with-classes approach works out really well, but if even C++ classes leave a sour taste in your mouth, there's nothing wrong with a 100% C approach.

It's worth noting that Ocarina of Time was written in C.


1e3995 No.14050216

make a video game about space ship to space ship boarding


6162de No.14050339

>>14050123

Totally doable. I don't think that using C++ will help you write your game faster (although I don't know- the last time I wrote C++ was in 2014…) than it would be if you just used C.

There are tons of old engines that are written in C as well. You could write your own engine, or use someone's engine, or upgrade someone's engine to support features you want.


396c3a No.14050364

>>14049582

>>14049592

>>14049600

>>14049655

Nice, thanks anons. I haven't really decided on an art style yet, I'm a programmer, not an artist so that will take a while for me to decide on something. I'm leaning more to the simplistic/clean design with vibrant colors but not low-poly. For now I'm just gonna continue working on low-detail stuff and later I will make the decision, perhaps with the environment modeled it becomes easier to test out different styles.


c200a3 No.14050531

>>14050189

>It's worth noting that Ocarina of Time was written in C.

And then compiled into assembly for the console.


624900 No.14050657

File: ccf07c9bdf1af72⋯.webm (Spoiler Image, 274.46 KB, 400x400, 1:1, loli_degeneracy.webm)

File: d4e06cb5e3eeff2⋯.gif (Spoiler Image, 2.74 MB, 500x333, 500:333, 1499214715.gif)

File: 681936f3253868b⋯.png (Spoiler Image, 24.5 KB, 366x380, 183:190, 1500186558.png)

My dick has hijacked my comfy loli waifu vr game


ef2e3f No.14050680

>>14050657

you do realize you could make much more money if it was just average 3D porn and stay safe from jail?


2976e8 No.14050684

>>14050680

Only leaves get jailed for polygons.


624900 No.14050687

>>14050680

I'm not doing it for money. I do my thing for fun.


ef2e3f No.14050702

>>14050684

>>14050687

why pedo shit?

sure, I can see the appeal.

but unless you jack off to loli shit I don't see the appeal, and fapping off your own I just can't do it.

loli is ok when is rule 34 I think.


2976e8 No.14050719

>>14050702

>sure, I can see the appeal

>but unless you jack off to loli shit I don't see the appeal

Do you have any clue what you just said? 'Cause I sure don't.


4f1e54 No.14050723

File: 61e10bb85b1b736⋯.webm (7.2 MB, 1600x900, 16:9, garbage.webm)

>>14049004

>>14049014

>>14049116

Thanks. Do you think "Serious Velocity Encounter" would be a too silly of a name for such mod?

>>14049017

>It's not hard to implement, but it's a tad difficult to figure out how to slow down the speed gain.

Not sure what you mean. The speed gained in the air is worthless on its own if you can't carry it. TF2, CS and other games on source don't have a problem with that. They just don't let you carry the momentum between jumps. If you meant speed gained in the air, that is adjusted with multipliers, sv_airaccelerate in source, for example. Have you looked at their code?


be4156 No.14050737

File: 6f23fb17cac51b8⋯.gif (187.24 KB, 1600x1200, 4:3, ed_thing.gif)

>>14050728

>when I was 16 I was into 6 year old girls

what


903bf1 No.14050741

>>14050531

C is compilable to pretty much any CPU Instruction Set's assembly. What is your point?


ef2e3f No.14050790

>>14050737

well, if you're into girls that are younger than you, at some point you'll hit pedo shit when you're a teenager.


624900 No.14050796

>>14050702

Anon that made no sense. Again, I'm doing it for fun. I don't live in a shithole anti-loli state and the appeal of my sim is 100% for my tastes.


ef2e3f No.14050809

>>14050796

post screenshot of your 3D loli.


f3e2ca No.14050818

File: d59d28dade81ef1⋯.jpg (7.11 KB, 272x252, 68:63, c8766b1d122b89ef717c1553ca….jpg)

>>14050728

>when I was 16 I was into 6 year old girls.


ef2e3f No.14050819

>>14050818

>16-8=6

wow


624900 No.14050827

File: d43d1899b8bb022⋯.png (2.39 MB, 1600x1600, 1:1, nopan christmas shinobu.png)

>>14050809

Am away from pc right now but here's a render I did a couple days ago.


f4f7e9 No.14050852

>>14050827

> The location of those tits.


624900 No.14050855

>>14050852

Oh yeah that's an old shirt. I redid the tits you can see my progress thread here: https://8ch.net/agdg/res/30078.html


a721d2 No.14050862

>>14050827

Hey it's Shinobufag. Have you impregnated your loli waifu yet?


f3e2ca No.14050894

>>14050364

Texturing will be a huge pain in the ass. Collisions, too, because you can't just take the terrain mesh and use it as collision mesh. Collision meshes have to be convex so good luck with holes that lead into caves.

Texture blending will require you to write a custom, layered shader unless you want to draw every single texture variation into its own texture maps, which will take forever and run like ass. And you will need blending unless your terrain uses very simple materials. Basically, if you want to use more than one texture per mesh. Shit like the Spyro terrain other Anons posted works fine, but if you want more than that…

>>14050819

Ok.


624900 No.14050906

File: d3fd3a10fedda41⋯.png (170.73 KB, 547x537, 547:537, Screenshot_2017-12-26_17-1….png)

>>14050852

You know what actually they were too low barely. I just raised them up a little bit and double checked with reference. Thanks.

>>14050862

Eventually I'd like to go ham on my model with an onahole and my Vive but I haven't formally started my project I'm just doing basic assets. Also learning about modeling is fun.


f4f7e9 No.14050923

File: 7e8148f8d740352⋯.jpg (Spoiler Image, 775.52 KB, 4000x2667, 4000:2667, 1440375570687.jpg)

>>14050906

That's what I was commenting on. I think they were a little low even for the blonde in this picture.


a721d2 No.14050941

>>14050906

So what is the whole project about? Is it just to have a private little virtual world with you and your waifu?


241259 No.14050955

File: e7dd100392ba3f0⋯.jpg (42.26 KB, 600x400, 3:2, ay la ranita.jpg)

Daily reminder that lolishit is low T. High T is big tiddy and ass.


c200a3 No.14050964

>>14050955

>>14050923

>>14050819

>>14050818

>>14050790

>>14050728

>>14050702

Hey y'all niggers need to focus on gamedev, this shit's too off topic


624900 No.14050973

>>14050941

Pretty much. Ideally I'd like a sim where I can just put my headset on after coming from work and see her smile and play small games with her that give me credits to buy her cute clothes. Kind of like an interactive Steam VR Home world. Sex is not supposed to be a focus but I mean she's too beautiful to miss out on having missionary while handholding.


2976e8 No.14050974

File: 12acc4757248baf⋯.jpg (Spoiler Image, 72.28 KB, 1024x576, 16:9, captive_fattening__shadow_….jpg)

>>14050955

So by that logic, inflation fetishists are the manliest of men?


6dc078 No.14050979

File: b2d63438104bdc5⋯.jpg (49.5 KB, 529x697, 529:697, 1434152570214.jpg)

>>14050955

>Not enjoying both aras and lolis

A true patrician enjoys the best of all worlds


8258db No.14050984

>>14050955

>Daily

where were you yesterday


a721d2 No.14050986

>>14050973

I gotta say, that sounds pretty damn comfy. If I ever met you in the real world, though, I'd buy you a good beverage of your choice for your consumption tbh.

>>14050979

This.


241259 No.14050987

>>14050974

>Gay unnatural shit.

>Same as women with nice tits and ass.

Epic argument dude.

>>14050979

>Implying.


f4f7e9 No.14050990

>>14050955

Even you have to acknowledge that if the blonde in >>14050923 had any larger tits, they'd look like she stole them from an orangutan, or Michelle Obama.

>>14050964

I'm talking about anatomy and art. That's tangentially related to game dev. Games need aesthetic characters.


241259 No.14050992

File: 75a07aabbf6b5ca⋯.webm (6.63 MB, 1280x720, 16:9, Bane the Edge.webm)

>>14050984

At your mum's.


8258db No.14050996

>>14050990

>Games need aesthetic characters.

Ever play Pong?


241259 No.14051000

File: 2df262b64f24fd9⋯.jpg (71.29 KB, 1180x480, 59:24, DEX fags will deny this.jpg)

>>14050996

Pong is the gayest and most boring game ever though.

>inb4 "it wuz da 1 dat begun it allz!1!!"

Not an argument.


2976e8 No.14051011

>>14050996

Not much anymore. It's boring as shit. Now, if it had more porn, that'd be another thing.

>>14050964

You're free to post progress whenever you want.


8258db No.14051019

>>14051011

>he never played strip pong


10a676 No.14051022

File: 02bc3d537db4d36⋯.jpg (47.4 KB, 430x333, 430:333, Consider the following.jpg)

>>14050996

>>14051000

It wasn't even the first game though, fags.

A better argument would be Asteroids or Space Invaders, with regards to "simple" aesthetic - which still managed to have defined entities, not just blocks and ASCII art despite their severely limited hardware.

Visuals have always mattered in games, that's why it's called fucking VIDEO games, not Bleep Bloops for Blind Niggers.


8258db No.14051033

>>14051022

>It wasn't even the first game though, fags.

That's the point. People kept playing those games despite no super appealing characters in it. Because it was fun.


10a676 No.14051059

File: 1f1a8a244f3a2af⋯.jpg (2.27 MB, 2668x2585, 2668:2585, 1423600706358.jpg)

File: e846fa98293cb71⋯.png (3.99 MB, 3840x2160, 16:9, 1441603171970-0.png)

File: 90574c414679426⋯.png (3.84 MB, 3840x2160, 16:9, 1441616697680-0.png)

>>14051033

Or because there wasn't shit fuck all else as an alternative. Most people don't play pong now because its gameplay and visuals are outdated. That being said, graphical fidelity =/= aesthetic. A lot of people get the two mixed up - an example of aesthetic and general usage of simple artistic methods such as color theory would be pics related.


8258db No.14051080

>>14051059

So you're telling me if Minecraft would've had a round aesthetic rather than a blocky one it wouldn't have sold millions because of its gameplay?


10a676 No.14051104

>>14051080

I know that's a rhetorical question, but yeah probably. The blocky aesthetic helped its "simplicity" vibe, causing it to surge in popularity with autists (see: Wurm not doing as great).

Also Minecraft has TERRIBLE gameplay.


8258db No.14051140

>>14051104

>Also Minecraft has TERRIBLE gameplay.

That may be so today, but it could draw you in for hours and hours even after you've seen all there was to see aesthetic and environmental wise.

Personally I'd say rather than a game needing aesthetics or aesthetic characters I'd go with "it can only benefit" from having them when done right.

And to me done right is when it doesn't interfere with the gameplay but rather supports it.

I think that Persona 5 is a great example for that.

The style has changed quite a bit over the years.

The aesthetics have become a bonus, a cherry on top and because they're done so well they make you forget that you're just playing another persona where you go around collecting personas to kick ass.

tl;dr:

The gameplay is there to have fun with while aesthetics take care of the atmosphere and emotions.

They are no must but depending on the game they become invaluable assets.


241259 No.14051212

File: fa0953eeecc9c0a⋯.webm (4.97 MB, 1920x1080, 16:9, Being a dickhead is cool.webm)

>>14051140

Persona 5 is boring as fuck.


c13b21 No.14051309

File: ac71c1ce13bc7cd⋯.mp4 (6.73 MB, 898x566, 449:283, mwgnj_1.mp4)

Animated the hands. Thoughts?


c200a3 No.14052159

File: 68a8145921e4cd1⋯.png (576.22 KB, 500x616, 125:154, ClipboardImage.png)


6162de No.14052168

File: e846152e4a9a764⋯.webm (5.87 MB, 320x200, 8:5, 2017-12-27 01-53-47.webm)

This was a test of camera controls, its a feature that needs a lot of work since I just wrote a very basic version of it to test it out. It's running in 320x200 because my computer isn't that great at encoding videos, so this makes encoding faster. The engine supports this resolution, even if it looks grainy, I did especially fix the font rendering to work in this mode a while back during the summer.


9830b3 No.14052611

File: 32f6578da29d377⋯.jpg (507.12 KB, 1920x1080, 16:9, remember_me_1.jpg)

>>14051140

terrible games benefit more from an aesthetic.

>>14051309

fingers needs more attention, they don't seem to be pulling the gun but the palms, also lacks force.


354ee6 No.14052612

How is Gamemaker Studio 2? I'm familiar with Gamemaker from years ago but not at all with Studio 2. How is it?


ed3c27 No.14053593

File: 4854f88c26a070e⋯.png (30.86 KB, 637x860, 637:860, scarf part1.png)

Can you have an armature inside another? I want to animate hair and cloth with their own bones, but how does it would work? can i anchor an armature (hair-rig) to a specific bone in another one (main-rig head bone)?

I need each cloth/hair to have their own armature because i want to allow players to customize their character and allow NPCs to use different clothes based on the season


4cbc71 No.14053603

>>14053593

I have seen my artist do it, so I know it's definitely possible.

Wouldn't know how tho


ed3c27 No.14053615

>>14053603

could you ask him for a link or at least a search term to look for a guide? i have been trying anything from multiple armatures to nested armatures, cloth rigs, etc… and i can't find something that explains how to do this


903bf1 No.14053636

File: a305c2445041884⋯.png (350.96 KB, 1104x648, 46:27, ClipboardImage.png)

>>14052612

Gay.

>>14053593

>>14053615

Most models I've seen just put everything into one like image related.


ed3c27 No.14053651

>>14053636

Yes, but in my case i cannot do that, as i would have many unused bones on each model if i did that.

I need to make it so the bones will only be there if certain cloth/hair mesh is present


903bf1 No.14053654

>>14053636

and now I feel dumb because I reread

>>14053593

The only way to do what you want is to do each item as a separate model, and have a separate renderer for each, unless you want to write something that will combine the skeletons

Customizable characters are really hard to do correctly, especially if you want clothes to be included in the customization.

Also let me clarify for >>14052612

They made a mistake using HTML5 for the editor, and it sucks. The only good thing about any changes they made was that now projects play nicely with source control, but they screwed almost everything else up.


ed3c27 No.14053708

>>14053654

I talked to my bro, we decided to make like you said, each moving part will be a separated model, and he will make sure the model is attached to a bone on the main rig when you equip it in Unity

Like a hair model will be attached to the head bone, even though it will not be rigged to it through skinning


624900 No.14053710

>>14053651

What I like to do is just temporarily combine the hair skeleton with the body skeleton and animate. Then when it's good I disconnect it from it and keep it as its own skeleton.


903bf1 No.14053769

>>14053708

That's probably the best solution, and for simplicity's sake, try to keep every customization down to a single model, attached to whatever bone you want on the character model. Each thing can be rigged/animated separately.

There's also the question of how to animate it-

The mechanim system makes it hard to duplicate the state of animators, and you'll need a lot of animators that are sync'd up. The legacy system is much better suited to this, since you can just play animations by name at the same time on every animator in some list.

With mechanim you may need to have 'uber animations'/controllers placed on every single animated item, and pump the same parameters into everything. I could see doing it that way become a nightmare.


ed3c27 No.14053784

>>14053710

We can also try that, i will search how its done

>>14053769

Im not sure how it will be animated, but my bro understands this part better, i think he will be using mecanim for the main rig and something else for the other parts


021420 No.14054202

File: 4364da4bf9ad1a4⋯.png (222.5 KB, 1440x900, 8:5, 2017-12-27-143932_1440x900….png)

First baby steps of learning to program.


c200a3 No.14054258

>>14054202

>Java

But I see Linked Lists, so you're starting with fundamentals at least


903bf1 No.14054294

>>14054202

Quick! Stop using Eclipse! Anythings better- Switch to IntelliJ or even fucking Netbeans would be an improvement.


c200a3 No.14054416

New thread when :^)


ed3c27 No.14054422

>>14054416

page 13


44c392 No.14055171

File: 028c2a58d3777e5⋯.gif (1.92 MB, 500x313, 500:313, I_will_not_calm_my_tits.gif)

>>14045641

God damn it, I've been having so much trouble adding a native method for tracking player deaths in his shitheap game, and he goes and does this.

Too bad you can't use that for anything without microsoft suing you for what's left of your 2 billion simoleons, you swedish fuck.


021420 No.14055424

YouTube embed. Click thumbnail to play.

PROGRESS.


2976e8 No.14055474

File: e7b1d85f1f73e21⋯.jpg (39.42 KB, 1024x564, 256:141, think.jpg)

>>14055424

>youtube embed instead of a webm

Well, good luck anyway.


021420 No.14055502

>>14055474

some places dont allow webms


2976e8 No.14055509

>>14055502

Okay? Good thing this isn't one of them.


f712e7 No.14055573

>>14055474

I usually webm if possible since it's more convenient than stuffing my jewtube channel full of shit nothing-progress, but a 10 minute video in 16mb ends up being mediocre quality, so if I make a bigger update or something, I tend to jewtube it.


ed3c27 No.14055593

File: 43b23b71bc72d54⋯.jpg (195.89 KB, 500x500, 1:1, oh goshy 3.jpg)

>>14055424

Its cute to see anon's first steps before the despair hits


903bf1 No.14055690

>>14055424

Wouldn't it make more sense for the values to be inside the boxes, and the indexes to be outside?

Also STOP USING ECLIPSE NOW AND FIND A BETTER IDE. Trust me. You'll be switching away from it soon enough anyway.


6162de No.14055828

>>14055424

why are you using Java? that language will just impede your thinking


c200a3 No.14056097

>>14055171

I think he was half shitposting to prove a point


c200a3 No.14056701

File: 8c02f2f49a981c0⋯.png (17.59 KB, 260x500, 13:25, ClipboardImage.png)

Okay so I have a huge grid of tiles, and I want them to animate based on a common timer. However, depending on their tile type, they animate at different common speeds.

Pic related is the most elegant way I can think of doing it, without having a Timer[] with a non-descriptive index/hash. I can't think of a better way to do it. And no, enums aren't the answer here


903bf1 No.14056814

>>14056701

why not just use the total elapsed time instead of ticking a bunch of timers that could end up drifting?

something like

int frame = ((int)(Game.time / rate)) % numFrames;

at the site where you need to determine what frame to display, with rate/numFrames being determined on a per-tile basis?


c57c61 No.14056859

File: 18cbcbd3e0cbce5⋯.png (197.6 KB, 299x292, 299:292, angry Felix.png)

Apologies for the blogpost, but I just need to vent somewhere relevant.

>been modding [game] for a while

>people start coming to me with a shitload of issues I can't replicate

>eventually deduce that something must have happened in the dependency everyone needs to go through to mod the game in a timely manner

>verify as much and go report it to dependency

>guy in charge of dependency insists that it isn't his problem and that we don't know what we're doing

>collaborators help prove that we do know what we're doing

>he briefly eats a piece of humble pie and admits that we're not stupid

>but not even an hour later, he's back to raging asshole mode and even trying to gatekeep people from using our mods, saying we're "shitty coders" that "should be avoided at all costs"

>several weeks pass, and he eventually fixes everything everyone was bitching about

>changelog for the fixes is written in the most passive-aggressive way possible

Fucking neckbeards.


f5a509 No.14056964

File: 153c363d1321990⋯.jpg (161.29 KB, 998x1600, 499:800, Slip.jpg)

>I want to model my bullets' flight path accurately

>Here's a physics paper with information on how to do just that

>Linear algebra everywhere

>Even the supposedly normal algebraic equations are linear algebra in disguise

>They're doing things with calculus I didn't even know was possible

>"And this variable is the angular velocity of the earth"

I don't have enough autism for this.


c200a3 No.14056984

>>14056814

>timers that could end up drifting

What, like getting inaccurate over time? My timers shouldn't do that, since floats are accurate with whole numbers, and they'll automatically update and reset very predictably.

My maps are 16,000 tiles in size (though I'm only drawing about 160 tiles in total each frame). This is how my Sprite class looks (in particular the GetFrame method will accept a GetPercent() value from a timer)

https://hastebin.com/fopujaxihe.cs


6162de No.14057002

>>14056964

>he doesn't know linear algebra

>he doesn't know you can just set the angular velocity of the earth to whatever you want


bf0a2b No.14057026

>>14056859

Are you modding for GZDoom?


c57c61 No.14057292

>>14057026

Nah, something that's being held together with a lot more duct tape.


903bf1 No.14057371

>>14056984

Timers may still drift if you're not properly accumulating and consuming time, since I don't know the implementation of your timer, I have to assume you're not ticking multiple times if needed, and just setting a timeout to zero every time it ticks, like most (even pretty experienced) programmers end up doing.

And even past that, why use a ticking timer for these, when you can calculate the desired frame efficiently, ad-hoc?

Do you have one instance of the sprite per tile, or are they batched to some extent? Can't really tell just from the Sprite class itself- it would be more useful to know how the timers provide frame indexes for the sprites when they are drawn. If you're just using a percentage, you can just use something like

float frame = Game.time * rate % 1.0f;

and completely avoid timers. (Changed from / to * because reasons)

If they're batched, calculating the frame index per individual tile can be avoided, and the system can be made more flexible as well (never fixed to what rates timers provide, or could have custom animation functions like Ping Pong (0-1-2-3-4-3-2-1-repeat) to replace the modulo.)

If they're not batched, you can still find a way to cache that information in a way that is accessible to each tile with a given animation.


12d893 No.14058098

Can someone help me with making the game harder GameMaker? It's a SHMUP that runs endlessly until you die and I need it to get harder as time passes, with more enemies spawning, and with harder enemies spawning, but I'm not sure how I'd go about doing this.


f712e7 No.14058114

>>14058098

As time passes? Easiest ways would be to have a global variable run throughout the game that counts either how many enemies you have killed, or just how long the game itself has gone on for. The former, I think, would be better. It should probably work in waves, of "hey, if you've killed this many enemies, you should start spawning some harder versions of them"


8d5bf5 No.14058122

File: 33f674501fcea89⋯.png (268 KB, 389x581, 389:581, worry.png)

>>14057292

>>14056859

That sounds fucked up. Where is the changelog of it?


c200a3 No.14058466

>>14057371

Timer is here

https://hastebin.com/exetafutef.cs

Basically if time>=duration, then time=time%duration, so in the case of multiple ticks or ticking by a large value, it will roll over and set the elapsed value to true for one frame/tick/whatever

Sprite is only used by Actor objects, it didn't make sense to define all that extra weight for 16,000 tiles. Instead, I have a TileType that has a reference to an Image object (contains a texture and its texture coordinates). Then, it's just a matter of looking up the tile's image and drawing it on the fly.


35b6e1 No.14058945

>>14056964

well nigger, time to master calculus and linear algebra.

Is not imposible to learn it, you just need to actually be motivated and do it.

Is like those people who make millions on the asset store from people who are too dumb to learn trigonometry.


35b6e1 No.14058948

>>14058098

>>14058114

yeah, just have a variable called dificulty or levels that take into account how many points you have (score) and time.


ed3c27 No.14058954

File: 353841bba8dbeb5⋯.webm (983.57 KB, 1290x518, 645:259, clothing system.webm)

After weeks of radio silence, I finally have something to show.

Tomorrow I will probably be back with the terrain generator


6162de No.14059232

>>14058945

This anon is right, also linear algebra is like 1000x better than trig, in general you want to try and replace everything you use trig for with linear algebra because the process is so much better


cf230c No.14059349

>>14059232

Faster too.

Some languages implement a lookup table for trig functions but they are inherently slow


f5a509 No.14059460

>>14059349

>>14058945

>>14057002

>>14059232

I guess I need to bite the bullet and start learning.


4cbc71 No.14059513

File: 3f322ed4125f8c0⋯.png (82.38 KB, 645x729, 215:243, 3f322ed4125f8c0b1289ab0f6d….png)

>>14056964

Realism is gay as fuck, do what works in your game. Wasting time on complex algebra so that a bullet is 1% more realistic is a fucking waste of manpower

you know this to be true


35b6e1 No.14059533

>>14059513

>being this brainlet to spend time and learn linear algebra

wow, just spend your money on the assets store, there's no need to remake the weel.

kys


1ade3d No.14059545

File: 6c211d0b8ace0fa⋯.png (56.3 KB, 447x599, 447:599, ClipboardImage.png)

Hi guys,

This is with SFML and C++.

I have a base game object class that my other objects inherit from.

I'm running into an issue with player input and command handling. I'm not sure the best way of applying the command queue to the game objects and how I would be able to call specific functions inside those game objects.

I plan on my players being able to essentially control more than one GameObject based on their input. If I hold down control and press wasd it'll move the secondary unit instead of the main character.

So I was thinking of serializing the input with the entity id. Which I like since I want these secondary units to be essentially swappable.

The main issues I'm having are:

How do I call a specific function of a derived function when I only have a reference to the base class?

IE: When I'm handling the input from the command queue and I've entered cntrl + 1. Say my secondary unit is a wizard and his #1 ability is to cast fireball. Or its an elf and he shoots an arrow out in front of him.

How do I make it generic enough that I'm not ending up with a yandev-tier conditional tree for input.

I guess to simplify it down, what is the best way to map input to a function and how do I callback a derived class's functions when I only have a reference to the base class.


4cbc71 No.14059550

>>14059533

Learning linear algebra to add pointless realism isn't going to make your game better

>b-but I need to count for the rotation of the earth and the elevation from the sea

fuck off, come on now


6162de No.14059571

>>14059545

What I am doing is catching WM_CHAR or WM_INPUT on my message pump, not sure what SFML does to handle windows/Xlib messages, but anyway once I get the key pressed from the message, I then have an array of "keybind_t" structs that the key press is tested against in a linear search. The array of keybind_t's is generated by calls to the "bind" console command, usually in the default.cfg file that loads console commands on startup. What "bind" does is it binds a key so that when you press it, an associated command held in its respective keybind_t is immediately processed by the command processor, this is then interpreted into whatever command I associated the keypress with, so if I tell the console "bind x quit" and press X while the console is closed, the game will shut down. Input only happens as an extension of message processing, so I don't call some kind of "input_update" every frame.

>>14059550

You cant even do anything in a 3D game without linear algebra. Also linear algebra != realisim. Just set the rotation of the earth and whatever else to "1" if you don't want to consider it.


35b6e1 No.14059595

>>14059550

>linear algebra isn't usefull for games

lmao unitykid.


1ade3d No.14059629

File: 770d18d65d05921⋯.png (61.62 KB, 604x638, 302:319, ClipboardImage.png)

>>14059571

I handle the events SFML generates in my games loop and then have to add them to an InputQueue to then be processed by the "world" later on.

Before I had held onto a reference to the specific player object and would just look for the WASD keys being pressed and would just call the move() function which just modified the x y positions.

I kind of want to be able to have my main character "posess" teammates or baddies and move them around and use their skills n shit.


1ade3d No.14059650

>>14059629

>>14059571

I might be retarded.

I could map keys to specific generic actions

such as GameObject.perform(int action) and pass it the keycode as an int.

And then when the command queue is being processed it would just invoke the action of the specific entity id of action of integer whatever?

I guess I was overthinking it and stuck on invoking the derived objects specific function. Such as if I'm controlling the wizard and i press 1 call Wizard.castFireball().

When I could just have the Wizard Overwride a perform(int action) function and handle it that way instead.


6162de No.14059694

>>14059629

I process input immediately, this is then converted into a console command, and if this is to move the player around, that command then alters the packet flow from the client into the server- the way movement works is that the client is constantly telling the server which movement types are active, in a packet that is sent every frame. Then the server actually interprets the movement and tells the client what the position of the player is.

>>14059650

You can do it that way, but You'll need to make a translation layer that has a set of keybinds (to support rebindable keys) and translates those into actual in game "commands" like casting a fireball. Posession of other character shouldn't be an issue since, the game knows what character to send "commands" too, and thus the input doesn't need to be aware of what character is being controlled, it just spews out commands like "move forward" at whatever is being controlled, which can then process those commands in their own way.


35b6e1 No.14059729

File: 89d7a42273764c5⋯.png (166.08 KB, 1440x900, 8:5, 2017-12-28-142329_1440x900….png)

PROGRESS


2976e8 No.14059770

What's the big deal with linear algebra?

Isn't that like middle school shit?


6162de No.14059789

>>14059770

You don't need any more math than PEMDAS to understand how it works. All of the more useful functions of it for programming involve trigonometry in combination with it though.


903bf1 No.14059791

>>14059729

I'm going to keep telling you, stop using Eclipse. Better yet, stop using Java.

>>14059770

It's easy enough that middleschoolers could probably do it, but modern people are so dumb that it gets put off until college, as a more advanced course.

Matricies and Vectors and Spaces, oh my.


35b6e1 No.14059798

>>14059791

eclipse is fun because the other IDES are even worse.

also java is fine for 2D shit.

also I'm just learning myself it.


903bf1 No.14059807

>>14059798

Eclipse is the worst Java IDE out there.

IntelliJ is one of the best, but even Netbeans is preferrable to Eclipse.

Hell, I'd rather use the command line exclusively than ever touch Eclipse again.


35b6e1 No.14059842

>>14059807

>stop using things I don't like


903bf1 No.14059982

>>14059842

Sooner or later you will run into a brick wall with eclipse, fighting it to get things to work properly that used to work just fine before something somewhere changed. Switch now, you will save yourself tons of time and headache later.

I speak from experience when I had a pretty large project that I could just no longer get to build successfully in eclipse. I even installed Eclipse fresh on a new computer, and it still refused to build that project properly.

I migrated the project to Netbeans, and it worked 100% of the time, and never had any odd issues since. Eclipse is one of the worst, buggiest pieces of software ever written, heed my warning and switch asap.


f712e7 No.14060557

>page 14

>no new thread

i'd make one but i'm pretending to work


35b6e1 No.14060620

YouTube embed. Click thumbnail to play.

>>14059982

I don't give a fuck.

everyone is triggered by some reason by java.


6162de No.14060638


781bb9 No.14061680

>>14026310

>What I have now is a trail and error grown, hard to read mess but it just works so I'll leave it the way it is and do other things.

Sometimes it's just a good idea to say to a project "good enough" and give it a rest. Step back and give it a rest for a while and when you begin work on a new project you can look back over you're old approach and may be able to look at the problems with a fresh perspective and figure out a better way anon.


781bb9 No.14061688

>>14060620

Because it's system design is a steaming pile of shit. Even LUA is better in comparison.




[Return][Go to top][Catalog][Nerve Center][Cancer][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / 1cc / hikki / lds / leftpol / sl / strek / sw / x ]