rogue type/fatal labyrinth movement

New releases and general discussions.

Post » Sat Apr 06, 2013 5:18 pm

Hi , anybody have any idea how i make movement similar to some rogue types..where i take a move (in one grid space) , then the enemies (already randomly spawned) take a move toward me, or randomly

thanks alot :D railslave2013-04-06 17:18:25
B
16
S
4
G
4
Posts: 179
Reputation: 4,688

Post » Tue Apr 09, 2013 11:11 pm

Grid movement is do-able with RTS object, not sure how to advance just one grid position at a time just yet though.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Wed Apr 10, 2013 9:13 am

Thanks, so far i have grid movement with wander set pretty high . But like i said i want them to move when my guy moves also to make there way toward him :|
B
16
S
4
G
4
Posts: 179
Reputation: 4,688

Post » Wed Apr 10, 2013 5:34 pm

I'm trying to make this using grid movement. Hope this can help you :)


https://www.dropbox.com/s/x7q7b731hdipj0l/grid_move.cap
B
7
S
2
G
1
Posts: 21
Reputation: 692

Post » Wed Apr 10, 2013 11:29 pm

Hey thanks that is awesome. So far beyond my capability so i have alot to study , im struggling with how arrays work in construct atm.
thanks alot..
B
16
S
4
G
4
Posts: 179
Reputation: 4,688

Post » Sun Apr 14, 2013 8:10 am

Hi , could someone make me a very simple 2d array ?... i realy cant get the hang of the arrays in construct


And i mean very simple
B
16
S
4
G
4
Posts: 179
Reputation: 4,688

Post » Mon Apr 15, 2013 12:21 pm

-Start of layout : array - set size to 5x10x1
   -for each element : array - set index (Array.CurrentX, Array.CurrentY) to array (Array.CurrentX*Array.CurrentY)

This will be:
+----------------------+
X \Y01020304050607080910
01 1 2 3 4 5 6 7 8 9 10
02 2 4 6 8101214161820
03 3 6 912151821242730
04 4 81216202428323640
05 5101520253035404550
+----------------------+

get value at (x,y):
array(1,5)==5
array(3,8)==24poewar2013-04-15 12:23:23
B
7
S
2
G
1
Posts: 21
Reputation: 692


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests