
-----------------------------------
DanShadow
Mon Dec 08, 2003 4:59 pm

how to make a scroller game in turing...[FP] scroller demo
-----------------------------------
I asked  this qu estion in help, but right after I posted it, I figured out how. It's all in the array, the almighty array! Make the x, and y for each object, and...well, here, take alook how: 

var object_x,object_y:array 1..10 of int
%....blah blah....
if unit_moves="right" then
    for i:1..10
        object_x(i):=object_x(i)-1
    end for
elsif unit_moves="down" then
    for i:1..10
        object_y(i):=object_y(i)+1
    end for
%And for up and left movement too
%.....
end if


-----------------------------------
DanShadow
Sat Dec 13, 2003 6:36 pm


-----------------------------------
Or you could go to the 
[Tutorial] Graphical RPG
http://www.compsci.ca/v2/viewtopic.php?t=2524
That I just wrote  :D   :D  :D
