/agdg/ - Amateur Game Dev General

Space Jam Ends In Four Days Edition.

>Current Game Jam (Space)
itch.io/jam/agdg-space-jam

>Next Demo Day (X)
itch.io/jam/agdg-demo-day-10

Helpful Links: tools.aggydaggy.com/# (Still in beta, as if that's an excuse)
New Threads: Archive: boards.fireden.net/vg/search/subject/agdg/
SoundCloud: soundcloud.com/groups/agdg-audiofriends

>Previous Demo Days
pastebin.com/X6fLvtzA

>Previous Jams
pastebin.com/hVhvNWLw

>Chats
discord.gg/chquY2e
steamcommunity.com/groups/vgamedevcrew
webchat.freenode.net/?channels=vidyadev

>Engines
GameMaker: yoyogames.com/gamemaker
Godot: godotengine.org/
Haxe: haxeflixel.com/
LÖVE: love2d.org/
UE4: unrealengine.com/what-is-unreal-engine-4
Unity: unity3d.com/

> Models/art/textures/sprites
opengameart.org/
blender-models.com/
mayang.com/textures/

>Free audio
machinimasound.com/
freesound.org/browse/
incompetech.com/music/
freemusicarchive.org/

Other urls found in this thread:

docs.unity3d.com/ScriptReference/Networking.NetworkClient.html),
dl.dropboxusercontent.com/u/81836683/HalloweengameLv2.1.zip
youtube.com/watch?v=rCetN193LmI
youtube.com/watch?v=9CKECm42D70&list=PLtRuYKzs3Kx_thWAKAj9qXBaTYXsQz8S6&index=7
youtube.com/watch?v=PQ8EedQJk7Y
youtu.be/u1nQxH3kugg?t=3m57s
twitter.com/SFWRedditImages

first for dance gem

...

...

tip top OP, friend

Unity dev here, I'm trying to access a value from NetworkClient (docs.unity3d.com/ScriptReference/Networking.NetworkClient.html), but an error shows up saying 'An object reference is required to access non-static member'. The exact line of code is this: Console.Log("Server started on IP" + NetworkClient.serverIp;

I appreciate any help, couldn't find anything on google regarding this specific class and how to access it.

Nothing spoopy in this webm. Move along.

>gem
what the fuck is wrong with me, it should have been jam

sugardev why do you tease us with your large amounts of progress and then do a 180 and become nodev for months at a time

Looks like the serverIp variable in NetworkClient is not static. Presumably you need to an instance of the NetworkClient to access it.

only if you post lewds

>too spooped to open it

Good game user, 10/10

Reposting

Halloween bullet hell game work in progress, currently has 2 playable levels.

dl.dropboxusercontent.com/u/81836683/HalloweengameLv2.1.zip

Bugs, feedback, i can't draw, change the fucking bullets already, etc. Also I know I'm several months early.

Is New Game the new Umaru in this general?

Yeah apparently I need to use 'new' keyword in some way? NetworkClient exists for sure, I can connect to the server and all, it's just that I can't retrieve this value.

Not really, I just aim to finish my main project before starting a new one.

Does anyone know how to solve this? l've been thinking about it for 15 minutes and the fact that the angles can be negative and once an angle hits 360 or -360 goes back to zero fucks up my mind

either G,B or α can be any number between -360 and 360

l'm trying to do an small AI for the enemies to detect the player, G is supposed to be the angle where the enemy is looking, α the view range of the enemy, and B the angle between the player and the enemy

...

fuck, now I have to make some progress.

>i can only see when i stop moving, have to let my eyes get a good exposure time

Music is 40% of a game.
Nothing beats the first time I entered QuasiSpace and heard this: youtube.com/watch?v=rCetN193LmI
I still get teary-eyed listening to it.

>AGDG-tan will never seduce you the the point of lunacy but then only fug when you make progress

Never has a feel felt more bad

Yes, create a new NetworkClient field and then use the constructor to create a reference.

Essentially something like this.

Wow, what a dignified way to die

You might want to check out the atan or atan2 functions.

If the angle between the center line of the enemy and the hero's position is greater than the overall FOV of the enemy, the the enemy does not see him. If it's smaller, then he does.

Search for getting an angle between two points on StackOverflow or MathOverflow.

Its to prevent VR-sickness, in the headset you can see quite well even when it looks completely black on the webm. You'll be able to turn it of if you aren't affected by it.

...

I love you, user. Thanks a lot.

Okay, you fucked up your diagram (mixed up G and B in different places) but going by your actual post, what you want to do is calculate P = B - G, then normalize P to the range (-180 .. 180). You can do this with the % operator (or the fmod function, depending on your language):
> P += 180
> P %= 360
> P += 360
> P %= 360
> P -= 180
Steps 3 and 4 are only needed if the % operator can return negative numbers.

Anyway, once you've calculated P this way, you can check abs(P) < Alpha, and bob's your uncle.

Curious, can you make a webm of the same thing without that feature?

Create a 2d vector, store the AI's position in it and then subtract the player's position. The magnitude of the vector is the distance between the AI and the player, the angle of the vector is the atan2 of the Y and X components of the vector (returns radians, multiply by 180/Pi to get degrees).

All you need to do next is check if the result is greater than your lower bound and less than your upper bound.

game design (i think) question

If I am making a 2D game using AABB for collision (and it's working correctly thus far), when an object lands on the floor, what should it's velocity/ySpeed be? I set it to a positive number above zero, so that the fall looks better if they walk off the platform, but should it be zero?

youtube.com/watch?v=9CKECm42D70&list=PLtRuYKzs3Kx_thWAKAj9qXBaTYXsQz8S6&index=7

Zero unless you want it to bounce

For you, yes, but it was extremely painfull.

There's a cut fyi so the video jumps so you didn't have to see me walk all the way.

zero,
but don't make the fall speed linear

what do you mean by "unless you want it to bounce"? the object jumps and falls

For you

Bouncing objects, such as rubber balls are done by multiplying the velocity by a negative value, eg -0.7 rather than setting it to zero.

How many spoopy games do we have again?

my formula for gravity is

ent->vel[1] += value_gravity * timestep;

vel[1] is simply ySpeed, value_gravity is 6, and fixed timestep reports 0.16

tell me there is more

Anyone know when this year's advances in real time rendering go live?

1, I think.

Only this one. But, of course, I have various other lewds about other fine /agdg/ women.

By the way, where's the color picker tool in Aseprite? You know, the one which tells you which color is used at a given pixel?

Press Alt

>Bought a mechanical keyboard last week so i can code better
>Haven't done any work yet

If only I had talent.

> tfw stress is eating into devtime
> tfw might have to move out
> tfw might kill self

I don't even want to dogpost anymore

define "spoopy", because I think it's zero

>programming
>talent

>Have talent
>Remember that I don't have any discipline so I never work

>talent
There's that word again.

I accidentally made a boss.

Thanks!

Is it ok to use it, by the way, if I just downloaded a compiled version, and didn't compile it by myself?

>tfw will never have the balls to kill myself
>still hold onto the hope that I'll just die soon

Good luck user, hope it's better on the other side

...

Whoops looks like I dropped something. I'll just go ahead and pick that up now.

>Particles aren't in world space

Yes.
> 3. You may copy and distribute the Program (or a work based on it,

By OK what do you mean?

It's free if you compile it yourself, the dev sells it essentially as a charge for assembly, but getting it for free already set up is fine I suppose, if you're that concerned either learn how to compile it or just buy it.

Thank you!
Here's a lewd in return.

fixed, ty

If I find it useful, I might buy it later on. Compiling it on Windows is a nightmare. I was trying to make it work for 6-7 hours before I gave up.

Here's your lewd.

If whoever does this doesn't make spoopys lamb into a slut I will be very disappointed.

1-5-7 Dev
2-4-8 Art
3-6-9 Fun
0 GFA

But devving and artist IS fun!

1,3,5,7,9 - Dev
2,4,6,8 - Shower
0 - Fap

>make tons of progress
>never show it to agdg
>finish shit
>show agdg
>get told to fuck off
>remember that only making progress and finishing because never bother with agdg
>still put little nods to agdg in games

Mixed feels, yo.

Rolling for the next 10 minutes of your day? Not very productive.

>Things that never happened: The Post

Which means you can dev/art even if you roll fun!

Just post more frequently and people will stop calling you a whodev, it's a rite of passage of sorts.

here's the version with the fixed face

Worldgen is coming along better.
I think I need to make the rooms not move so linearly, maybe I'll do something so they fill in the empty spaces better.

Spawn them in a random point in a circle instead of always in the middle.

I'll roll again after my fap

don't do it fattie

I am new around here but someone told me "if you post progress you're part of the community"

So post more progress

>when you try to just like make progress but your head is empty and cant focus because of this heat

>never bother with agdg
Best thing a dev can possibly do.

1-3 backgrounds
4-6 bosses
7-9 enemies
0 watch twitch streams

>Implying there is

>>rolling every 10 minutes isn't productive
>i'll roll again in 10 minutes

0-4 - shitpost
5-8 - shitpost
9 - shitpost
let's roll, brothers

...

>never bother with agdg
Good
Do you really want to bother with threads upon threads of source shitposting? All the good devs left long ago, no one in the recaps will ever amount to anything substantial.

Hey, that's my code.
Here's revision two, 100% less if statements, 100% art.

Made a new weapon, it's a laser fired from the left or right side. It has a little wind up phase where all the turrets light up before it fires to give the enemy players a chance to react and get out of the way. The hitboxes are far from perfect atm, but how do you guys think it looks?

why

Looks like three friends pissing next to each other in the urinal

That sounds like a good old time

ARRAYS

youtube.com/watch?v=PQ8EedQJk7Y
>tfw this is being made by people who made sonic fangames

That fucking quality makes me jealous down to my bones.

Mapping 255 possible tiles into 46. I generated this one though, and I don't use it yet because I cant be arsed to modify my tileset to match.

>your head is empty
funny you said that, because there's a figure with an empty head in the same painting (top left).

DEEPEST LORE

I don't get it, other than the music it looks exactly like the old game

can someone dump all the space jam progress we have so far

i need inspiration for my art since im using ugly placeholders

>undertale.gml

>the middle 2 getting it on

Is it illegal to get a boner from this?

The second half of the video is what really shines.
youtu.be/u1nQxH3kugg?t=3m57s