
-----------------------------------
colinlamm
Sun Dec 18, 2011 4:14 pm

Cant get envelope moving in next scene for pixel graphics
-----------------------------------
What is it you are trying to achieve?
Hey guys, right now im trying to make my envelope move when i change scenes. Heres the code for the envelope moving:


var x2 : array 1..7 of int := init (846, 846, 878, 877,846, 859, 877)
var y2 : array 1..7 of int := init (155, 132, 132, 154, 154, 145, 154)
% This polygon was created using Gurjant Kalsi's Polygon Generator
  drawpolygon (x2, y2, 7, 1)
    for n : 1 .. 7
          x2 (n) := x2 (n) -counter
    end for
    if x2 (5) 