come chat about your new game maker studio problems discord.gg/2PAVY
Adam Collins
So in /jp/ Someone posted some Loli Simulator. Any-words on what happen?
Aiden Hernandez
How do I stop being an unmotivated lazy fuckhead and actually get down on some good ole' gamedev?
Jackson Sullivan
Archive
Brody Howard
any link?
Isaiah White
Ask on Great Chan's /agdg/
Colton Reyes
posting again for visibility, a GML problem
the "bullet" im shooting is just a very long sprite that is spawned at the barrel of the gun. I want it to cut off when it reaches collision with a wall. either stretching it to fit or just stopping drawing once it reaches the collision are both fine.
how would i do that?
and how do I reference the specific point of collision with the specific wall im colliding with, in GML?
Matthew Richardson
>tfw you finally get your stub working >tfw when your dream of jlmg went from being a dream to being feasible >tfw when enginedev
Never give up
Hudson Turner
do It's a giant pain in the ass but it'll work.
Austin King
there really has to be an easier way.
Tyler Nelson
Without an inbuilt raycast that is the easiest way. If you really want to jank it up you could shoot a small invisible object at max speed in the same direction with move_contact_solid, then use its position to calculate the scale. That might work.
Asher Edwards
Can't you shoot raycast line til it collides with something and return the vector2 if it collides with something.
Kevin Wright
What's the functionality? It travels to the edge of the screen unless it hits a wall or enemy?
Angel Cruz
it's just a very long sprite. i know. im terrible
Asher Young
GML doesn't have built in 2D raycasting as far as I can see.
Andrew Taylor
That sounds like a good excuse to build one yourself. Get to work, user.
Adam Collins
I'm actually , and yes, I'm doing it right now :^)
Wyatt Morales
>GML doesn't have built in 2D raycasting Wow I thought "gamemaker is shit" was supposed to be just a meme
Landon Campbell
I'd say that you'll be getting rid of the sprite and replacing it with a line draw in probably every fix anyone will give you. Off the cuff, I'd say do a loop along the vector of the line from the gun to the edge of the screen and do a point collision check every iteration and if you do get a collision return, then save that point and break out of the loop. Then just draw a line between the gun and that point.
Andrew Lopez
What was the last original game anyway?
Austin Ortiz
Oh I didn't know there isn't a built in raycast. You can build one yourself though.
Create an end point for your laser (or count going off screen as collision). Then when you fire your laser check if there is any collision between the start point of your laser and the end point of your laser.
Using those four points ( x,y,h,w ) you can do math to find if there is any collision in between before firing. If there is a collision, log the vector2 of whatever you collided with and use that as your new end point before actually firing the laser. If there is no collision fire to the original end point.
Isaiah Diaz
z
Adrian Perez
He used to post here an year ago, and he posts in the other chan now.
Kevin Ross
Who in their right mind thought it was a good idea to make micro plugins of every tiny mobile feature for construct 2?
these are just the ones i managed to fit on one screen
Luis Barnes
How long did it take for you to display a sprite?
4 years?
Andrew Sullivan
Do loop that goes lengthdir with len increased each iteretion until it collides, then break; the number of iterations/sprite_width is the xscale you set the sprite to, put origin at the left edge of sprite. Done.
Jason Peterson
HOLY FUCK THANK U GUYS
i set the width of the sprite back to 0 and wrote this, fuck tha haterz
Ethan Martin
>enemy attack animation sends finish notification >enemy begins next attack >on the same frame >animation gets locked into attacking mode because it thinks the state hasn't changed fuck, what do I do
I need a way to restart the animation every time a new attack comes in
Leo Ward
>i set the width of the sprite back to 0 i meant 1, sorry
Levi Kelly
you obviously make it wait an extra frame before beginning the next animation and of course ensure the state has changed and check for it.
James Anderson
post code
Christian Ortiz
anyway I think I'm gonna try making it wait for the animation to finish before the enemy finishes his turn cause I think I might want it to do that anyway
Angel White
About 4 hours What I really wanted was to get my RTS dream game running, with both local and global lighting, map editor and actual scripting for levels. That took me 6 months because OpenGL is fucking retarded and there are no good resources out there.
Lucas Stewart
dropbox.com/s/tfxcqa16t15ac6y/raycasting.gmz?dl=0 Well, just in case you need to use "proper" raycasting at some point, keep this. Give it an origin and a direction (and some parameters referring to precision), and it'll give you an array of x and y of where the ray hit.
Charles Carter
thanks user!
Ethan Rodriguez
No prob broski, it's also a binary search example.
Brandon Barnes
I'm reading on structuring your game with a component system, like Unity for example. I'm especifically reading from here gameprogrammingpatterns.com/component.html But there's one thing it doesn't explain and I don't understand, pic related.
What if we only want certain components in a gameobject instance? What if we want them in a different order? What if we want to add components during runtime?
How do you actually do that? do you just make 9999 constructors with each possible combination? What about runtime?
Blake Rogers
surely there's an addComponent() function or something
Jaxon Hall
>$1.39 for vibration plugin >shit's no doubt like 1 line of code if you did it yourself fff
Noah Mitchell
Why is this thread boring. Interest me.
Parker Anderson
It's not about already written systems like Unity, it's about how to implement systems like those
So for example, how does addComponent() actually work?
Christian Price
I would, but I'm suffering from crippling procrastination and the pages upon pages of design documents I've written up will never become reality because the moment I actually commence work on a game I have to drop it because it's important and I can't start or finish important tasks.
Jeremiah King
Breh why not use montages for attacks? This way you have full control over exactly when the animation starts running.
Nicholas Reyes
Congrats man. Looks really good.
Christopher Nelson
I don't know how to use those. Can I run a montage separate from my animation graph, and then have it go back to the anim graph once the montage is finished?
Jordan Williams
>buy the plugin >use it in the code like so: >Plugin.Vibrate(); >the original way to vibrate without the plugin is likely Base.Vibrate() >the source of the plugin is: public void Vibrate(){Base.Vibrate();}
Grayson Rivera
Can you not just go
myComponents.Add( new ExplosiveComponent());
Adrian Morgan
That's pretty much what montages are. They overpower whatever current animation is running and resume from where it was once they're finished.
So basically i am using the pirated unity, but i need to switch to the normal free edition so i can compile my game project in it and release it looking like it was made in the free verson Can i do that? I don't want to install unity on another computer or in a VM i just want to disable the paid licence in my current editor for a bit
Ian Allen
Why would you use pirated unity?
Aiden Watson
I actually like how this turned out a lot. I think M&M worked the same way where the enemy turn didn't end until they finished attacking. I was worried the game would be too slow with this but I think as long as I keep the animations really fast like this it should be fine. Previously, each enemy would attack the next tick after the last enemy, so effectively all enemies would attack at the same time which could make it harder to figure out what's going on (who's doing the most damage, who's in range, etc).
I also fixed a bug in turn based mode when a party member was dead, so as far as I know, I've fixed all the bugs which soft-lock the game in turn mode. With these fixes, I think my AI is in a good enough state that I can continue on developing the dungeon.
Neat, I might try that tomorrow. I suspect I won't even have to change any code except for switching the 1 line from IsAttacking = true to Montage.Play() or whatever.
Levi Mitchell
The free version lacks some important functionality i need
Ryder Gutierrez
Like what?
Jason Phillips
darker theme?
Jaxon Davis
not him, but the dark theme is one of the most important features, anyone serious about dev stares at the unity editor countless hours every day and the light theme would literally make you kill yourself
Jonathan Hall
The free version hasn't been functionally different from the pro version since 4.x
Asher Hughes
Oh yeah? Let's see how you run your shitty game without a gayass splash screen and dev it in the sexy tier dark themed editor.
Logan Hill
I already want to kill myself so I guess the light theme doesn't add much to it
Mason Morales
Soon you will be able to customize the splash screen and even change its color.
Isaac Cooper
too bad that version is so broken it cant even build right now
Luke Hill
Does the free one even have the profiler?
Tyler Brooks
If anyone was interested in this I've just gone to github and check out the source code of entity-component systems that are out there
Cooper Long
Well hopefully i will be able to save my overscoped i game i spent lots of time on. I got actually not a shit idea on how to cut shit down but still keep it interesting. Let's see how it goes
Adam Nguyen
Son, this board is for professionals, we all know how basic stuff like this works, you should perhaps go to the reddit instead if you need help with complete basics such as that
Julian Hall
bait too obvious have your withdrawal (you) and work on your addiction
Jason Torres
In your example above the components are hard coded for quick access but say in unity most components are (no longer) given that kind of access and instead it probably goes and it probably keeps a hash table or some shit.
Hudson Williams
>this board is for professionals 90% of this general uses GameMaker and drag-and-drop 8% use Unity and Playmaker 1% use RPG Maker 1% use Unreal Engine 4 + visual scripting
No one here can code.
John Jackson
progress haha :')
Aiden Collins
Sup attentionboy here is a (You). Glad I could help! Let me know if you need another.
Or just reply to yourself about how disgusting source is (a cry for (Yous)) and I'll give some more (You)s to you then!
Andrew Kelly
>playmaker >paying for a unity plugin
Jonathan Turner
is this the kind of """"""""""""""work""""""""""""" that passes for game dev in this general
disgusting
Juan Turner
:^)
Robert Torres
I like it. Doesn't seem like you've added to this for a while though, so perhaps work on that?
Jaxon Jones
delet
Thomas Powell
What about me, user
James Lee
Here's another (You) for you! If you ever need attention again just post this again. Every day if need be (as you have been).
We're here for you!
Logan Moore
It's Unity with Playmaker. You can't code.
Ethan Nguyen
That's Doom with SLADE as an editor though, you krungus
Ryan Green
...
Jeremiah Russell
Another (You) for our beloved attentionboy. Basically a mascot of AGDG by now.
Jonathan Miller
That sword throw is sick as fuck.
Jaxson Cooper
i know i've posted this webm multiple times now but its the best reference for my question. Im trying to limit the characters movement between each other, atm im thinking of adding collision spheres or pawn sensing components to each character and then on overlap or on sensed check a bool for inRange and the opposite for end overlap or they go out of the sense range. Just wondering if there is a better way to do this in UE4 with blueprints.
Asher Mitchell
why havent we murdered who ever makes this yet
can we not mail him a b*mb or something
Joseph Campbell
>krungus What?
Brayden Morris
...
Levi Murphy
That's what I said when I got the sprites in and got the mechanics down in a way that feels good.
How about this powered sword attack?
I don't know. I use other insults other than just "faggot" for the sake of variety. If I managed to make you stop and wonder what the fuck I just said, I must have done something right.
you donut
Mason Thomas
lmao who actualy thinks this is ok
Henry Butler
It'd be helpful if I understood what it is he is trying to accomplish, because I have literally no idea at this point...
David Smith
Holy shit Godot has really gone a long way since I tried it last year
might consider using it desu, anyone using Godot can chime in?
Wyatt Brooks
==|AGDG Weekly Recap|== Game Name: Monolith Dev Name: AlexMdle, PureQuestion & ArcOfDream Tools Used: Game Maker: Studio, Paint.net, pxTone Website(s): monolithdevs.tumblr.com/ Progress: + quality of life demo day feedback fixes (slider clickability, button sizes, 16-aim, layout changes and a window lockup fix) + added water + floor 3 assets (background, blocks, props, etc.) + mouse is now both rebindable and rebindable to + waterfall and waterfall source objects
Lincoln Powell
There are many things here that need to be removed.
Logan Cox
Looking great user
Chase Hill
looks good man.
Gabriel Moore
More cries for help! Glad you're reaching out.
Here's that (You) you needed.
Easton Williams
I can't find any trustworthy torrents for Marvelous Designer 5. Is it even cracked?
Benjamin Evans
...
Samuel Rivera
You plan on keeping the sci-fi walls?
It feels that if you could get some medieval environment it would be GOAT.