Top-Down Zelda Sword Arc

Get help using Construct 2

Post » Wed Sep 28, 2016 6:06 am

Message: Tebbo can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
https://i.imgur.com/hfTeRBM.jpg?1

That's what I have right now. I'm trying to have the sword arc 1/4 of the way around the player on click, with a cooldown so only one sword is created at a time. Haven't gotten it to work yet.
B
4
Posts: 8
Reputation: 218

Post » Wed Sep 28, 2016 6:22 am

You may be overthinking it - try this https://www.dropbox.com/s/urj0lhkonwuix ... .capx?dl=0

Cooldown system can be added separately, but in the example the sword sprite simply cannot be spawned if one already exists.
Mistakes were made.
B
52
S
26
G
109
Posts: 1,616
Reputation: 61,653

Post » Wed Sep 28, 2016 7:19 am

Message: Tebbo can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
https://i.imgur.com/tFTwdN2.png?1

I made a "lazy" version, but it looks horrible. There has to be a better way than this.
B
4
Posts: 8
Reputation: 218

Post » Wed Sep 28, 2016 7:35 am

I have no idea what you want it to look like.

Generally if you want it to look good, as in traditional animation, the entire swing should be drawn out frame by frame and collision boxes applied per frame as an animation, rather than moving and rotating a static sprite.
Mistakes were made.
B
52
S
26
G
109
Posts: 1,616
Reputation: 61,653

Post » Wed Sep 28, 2016 7:42 am

I have a method that may work for you, but it uses an entire animation (player, sword, and all) instead of pinning a sword sprite to the player and uses a player line of sight as replacement for collision boxes, just so you know.
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Wed Sep 28, 2016 7:42 am

Yeah I agree, but I couldn't figure out how to implement what I have now using that scheme. Right now I'm just redrawing it, but it should move naturally instead. I can't figure out how to get it to do that.
B
4
Posts: 8
Reputation: 218

Post » Wed Sep 28, 2016 7:44 am

I want this to be multiplayer eventually, so I actually like that idea better. I'm all ears. This was just the "quick and dirty" way. Eventually players will be able to switch weapons and hands(reversing arc of sword) and use different weapons like 2-handers (a much wider arc).
B
4
Posts: 8
Reputation: 218

Post » Wed Sep 28, 2016 8:32 am

Message: Tebbo can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I can't post URLS yet, but I did upload the version I have to the arcade. I can't see it under my profile yet, but it's there.

here is the link if you can see it, if not I guess I'll just have to wait till I have enough rep.
https://www.scirra.com/arcade/role-play ... ject-11263
B
4
Posts: 8
Reputation: 218

Post » Wed Sep 28, 2016 5:57 pm

Break up the http://www and the rest of the link to post long URLs without rep.
Mistakes were made.
B
52
S
26
G
109
Posts: 1,616
Reputation: 61,653

Post » Thu Sep 29, 2016 3:57 pm

s c i r ra. co m/ a r c ad e /r ol e- pl ay i ng -g a mes/ new -p ro je ct -11 301
B
4
Posts: 8
Reputation: 218

Next

Return to How do I....?

Who is online

Users browsing this forum: Darknessed and 46 guests