How do I fix and efficiently create a pick up & throw system

Get help using Construct 2

Post » Fri Sep 09, 2016 1:24 pm

Thank you very much for the information, 99Instances2Go. :mrgreen: I learn a lot from you. By the way, I wonder how heyguy will come up with the solution now. :mrgreen:
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Post » Sat Sep 10, 2016 4:41 am

How would this work for a game with 8 directional movement (like a beat em up game)?
B
13
S
7
G
10
Posts: 22
Reputation: 6,223

Post » Sat Sep 10, 2016 1:15 pm

@corporatedrone Good question, I'm not sure the answer! I'm not sure but I can try and I'll make an attempt.

TFor a 8 Direction Game, that's probably different in some ways since you have you account for all 8 directions and z axiz. Am I right guys? If it's a beat em up, presumably you can't have a solid on your ground? I have no idea how to work with z axis but this is the system I would create, if things work similarly. I'd give the throwable an booleen called inAir (though an instance v may be better) and set a timer to have it switch off. Or switch it off When the throwable destroys on the ground or the enemy.

If you had bat enemies that fly, this though, would mess up when throwing in the up or down directions I think though.

@99instances2go Thanks so much for the awesome capx example! Will implement the changes soon. I love that little extra creature too!! I'm currently making a bunch of different A.i. pattems so it's great to see examples of different code! It's really helpful checking out example likes of unique behaviors.
B
30
S
15
G
22
Posts: 183
Reputation: 14,221

Post » Sun Sep 11, 2016 3:12 pm

corporatedrone wrote:How would this work for a game with 8 directional movement (like a beat em up game)?


Show me an example of using 8 directional in a beat em up? I dont see 'it'.

I can see 8 directional in a top down, but trowing is then just a straight line ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Sep 12, 2016 2:37 am

99Instances2Go wrote:
corporatedrone wrote:How would this work for a game with 8 directional movement (like a beat em up game)?


Show me an example of using 8 directional in a beat em up? I dont see 'it'.

I can see 8 directional in a top down, but trowing is then just a straight line ?


I've been using this
https://www.scirra.com/store/royalty-fr ... lling-1134
B
13
S
7
G
10
Posts: 22
Reputation: 6,223

Post » Mon Sep 12, 2016 12:55 pm

Dont know what exactly to do with the ground.

https://drive.google.com/open?id=0B1SSu ... Xd5NVBMeTg
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Sep 14, 2016 4:30 am

99Instances2Go wrote:Dont know what exactly to do with the ground.

https://drive.google.com/open?id=0B1SSu ... Xd5NVBMeTg



Thanks for this!
B
13
S
7
G
10
Posts: 22
Reputation: 6,223

Previous

Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 30 guests