346
Programming Questions / Re: How to actually START making a fangame?
« on: June 29, 2015, 05:57:37 PM »
Right click the engine .gmk or .gm8 or w/e
'Copy'
Paste in new folder
b
'Copy'
Paste in new folder
b
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
b
Make sure the tiles have a higher depth value than the object running the code that is creating the fruit.
httpss://www.ssyoutube.com/watch?v=EhM4g66Xk50
)
//argument0=x
//argument1=y
//argument2=distance between 2 points
//argument3=number of points per half of each axis
var i,xx,yy,dist,num;
xx=argument0;
yy=argument1;
dist=argument2;
num=argument3;
for(i=-num;i<=num;i+=1){
draw_line(xx,yy+i*dist,xx+(num-abs(i))*dist,yy);
draw_line(xx,yy+i*dist,xx-(num-abs(i))*dist,yy);
}

//stepcounter coding beforehand and bla
xx=room_width/2;
yy=room_height/2;
dist=76;
num=4;
for(i=-num;i<=num;i+=1){
a=instance_create(xx+i*dist,yy+i*dist,cherry);
}