Top Down RPG

For questions about using Classic.

Post » Sat Oct 10, 2009 10:42 am

Dropbox public link (latest .cap):
http://dl.getdropbox.com/u/1378330/RPG.cap

A few questions:

1. So I have a sprite with the 8-direction behaviout on it. Thing is, the "perspective" I'm going for is not top down, so I need the sprite to travel slower vertically than horizontally. Any ideas how to acheive this?

2. So my NPC (friendly) AI system basically works like this: NPC's roll a random number to decide if they're going to do something. If they do decide to do something, they look for a "node", and if they can see one, they move to it. For this, I'm using a combination of the RTS behaviour and the LOS behaviour. Problem is, I can't figure out how to get NPC's to move to a different node - right now they only move to the first one I made. I don't want to make it a random choice, however. I need something that takes into account the distance between the NPC and the node, and also a priority level for the node (i.e. my fisherman NPC will be vastly more likely to want to fish). [you know when I said it was slightly solved? I broke it again... It works the first time]

More questions as I come to them I guess...
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Sun Oct 11, 2009 7:12 pm

yo,

In responce to question 1:
[quote="cow_trix":26jwavqr]1. So I have a sprite with the 8-direction behaviout on it. Thing is, the "perspective" I'm going for is not top down, so I need the sprite to travel slower vertically than horizontally. Any ideas how to acheive this?[/quote:26jwavqr]

Add another "8-direction" to your player. Now change one from "8 directions" to "2(left/right)" and the other to "2(up/down)." Now the up/down and left/right movements of your player are isolated and you can change the max speed of each. The only other tweak you need to do in events is when you start or stop ignoring input you have to do it to both behaviors.

Later.
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Sat Sep 28, 2013 10:25 am

lik is dead
B
27
S
7
G
3
Posts: 299
Reputation: 4,521

Post » Sun Sep 29, 2013 9:40 am

Haha that might be because the thread is 3 years old @burningcake ;)
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Sun Sep 29, 2013 6:56 pm

[QUOTE=cow_trix] Haha that might be because the thread is 3 years old @burningcake ;)[/QUOTE]
woot :D
B
27
S
7
G
3
Posts: 299
Reputation: 4,521

Post » Mon Sep 30, 2013 6:37 am

can you reupload it :)
B
27
S
7
G
3
Posts: 299
Reputation: 4,521

Post » Mon Sep 30, 2013 6:57 am

Sorry, I think that project is long dead. I had a look for the source but I have had a few reformats and crashes between then and now, and I think it's gone for good.
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Mon Sep 30, 2013 11:22 am

sh*t..
can you share any similiar to this? :O
B
27
S
7
G
3
Posts: 299
Reputation: 4,521


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest