Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Remade

Pages: 1
Ask a Question / Re: Using Newgrounds Music for a sponsored game?
« on: July 16, 2015, 05:06:52 am »
How 'bout you just ask the artist, easiest way to do stuff

Ask a Question / Re: Getting an actor to move downward.
« on: July 13, 2015, 04:33:39 pm »
I'd say you use "When created" and in it "set x speed to [number]"
But that just sounds too easy for me so that can't be the answer.

I feel like doing an exam and the teacher gave me a really easy question and now I'm asking myself if I overlooked something.

But whatever

Ask a Question / Re: [Question] Save Game
« on: July 13, 2015, 03:10:42 pm »
You've asked couple of questions about your game today, and kinda made me wanna see it. Mind sending me a link after you're done? :D

"Why didn't I think of that?"
- Me

Hello Stencyl Community!

I have another problem that I can't seem to find anywhere on the web. Here's the situation: I have multiple points on the screen and I have to have a connection between all of them. Depending on the level, I will have different numbers of points, and to spawn the connections I would need an algorithm that calculates how many we actually need. There's a picture attached that explains what I need.

Thanks in advance, especially because (to me) this is a tricky one.

I somehow fixed it. Don't know how. I just tinkered around a little bit and hoped for the best. Posting the block I used would be pointless because there's a lot of stuff in it that most of you won't need since it is only useful in my situation. Thanks for trying to explain though.

Resolved Questions / Re: Textposition / Alignment
« on: July 13, 2015, 05:01:16 am »

Resolved Questions / Re: Textposition / Alignment
« on: July 13, 2015, 04:54:14 am »
I don't really know how to align it to the right, but how about you just swap the direction of the box?

Hello Stencyl Community!

If I have 2 moving actors, and an actor exactly between them at all times, what blocks should I use make the actor in the middle face one of the two moving actors? I guess since it's exactly in the middle, if it faces one, then it'll face the other anyway. Yeah so that's it.

Thanks in advance, Remade

Ask a Question / Trying to make a line to detect collision
« on: July 12, 2015, 06:29:57 am »
Hello Stencyl Forums,

Lately, I've been working on some ideas I've had about AI and Pathfinding, since I really don't understand how to do smooth A* pathfinding in Stencyl. During my thoughts I've come to the conclusion that before doing pathfinding, I need to have a way to detect any collisions between two objects. For that I've made a 2x100 line and have already "coded" (It's more drag-and-drop, don't know how to call it) the position between the two objects and the size so that the two objects are connected through the line at all times. One problem that I've encountered, though, is that I do not know how to make the line face an actor that is moving all the time, while even the line itself is moving. That means I need a few blocks that do that and keep the line facing the actor. In the attachments you can find the blocks I've used and a video of what I already have.

Thanks in advance, Remade.

-Line Behavior
--Position between the actors (+50 and +1 to get the exact middle):

-Positions of the blue actor
--Blocks to send position (+10 each because the actor is 20x20 big, thus it's the middle):
--X and Y counters under the actor:

The green actor has the exact same blocks.
In the actual game I will probably use lists where I save all the X and Y data, instead of using a seperate variable for all of them. I will also make a custom block for each of those chunks of blocks to make it easier for me to "code".

Pages: 1