D
Deityfierezy
Guest
So, im really new with the engine and I have really little experience with java so i ask sorry beforehand for my english and my newbie skills.
Anyway im trying to make a title screen, so I made a sprite with the the tile put it in an object and put it in the first room, I made some lines of code that should go in a step event if im not wrong, but the problem is that the first line is telling me that im missing a argument from the 4 required but I couldnt really tell wath it is, here is the code, I tryed to explain wath i think that everything does, and I dont know if in the end will work for wath i want to do
Thank you very much
Anyway im trying to make a title screen, so I made a sprite with the the tile put it in an object and put it in the first room, I made some lines of code that should go in a step event if im not wrong, but the problem is that the first line is telling me that im missing a argument from the 4 required but I couldnt really tell wath it is, here is the code, I tryed to explain wath i think that everything does, and I dont know if in the end will work for wath i want to do
Code:
if point_distance(obj_title.x, obj_title.y, 608x, 255y) > 1 //this tells the distance from the obj_title to the end point, when that distance is mayor than 1 pixel it should play the next line between brackets
{
move_towards_point(608x, 255y, 1); //I belive this is self explanatory and it couldnt be misslead for other comand, it says that the object should move to the coordinates 608x, 255y, at the speed of 1 pixel
}
else speed = 0;
//this says if the distance of the the obj_title to the ending point is 0 it should start moving at the speed of 0 pixels, wich equals to make a stop.