Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Ah, thanks in advance! And here, I'm not sure what kind of screenshot you were looking for, so I just took three of them, with varying angles.



Hope these are what you are looking for, I can take more shots, if you need them!

That's enough

(5 edits)

- Select the missile, in the Tags field enter "missile" and reset the z offset back to 0 then hit Adjust 

- Select the Scripting Tab, for the name enter "missile_adjust" or whatever you want, for the Tags field enter "missile" and for the content enter:

function UpdateS()

-- print(shape2D.TStart.x);

-- print(shape2D.TStart.y);

if (shape2D.TStart.x == 2 and shape2D.TStart.y == 4) then -- if it is located at the counter position then apply the offset

    shape.Offset.z = shape.Offset.z - 25;

end

end

Hit add script and resume the game.

If it doesn't work,  please uncomment two print calls (remove -- at the beginning) and hit adjust then resume the game then view the log window at the right of Scripting tab to detect those values. Then replace == 2 and == 4 with the correct values,  and of course re-comment or delete the print calls and finally hit Adjust again.

Hooray, that works perfectly! Thanks so much for your help! 

I did end up having to detect the values with the print function, and after plugging them in, it worked perfectly! If I ever encounter this problem again, I will make sure to use that code again.

I did have something funny happen though, where the game heavily lagged, but then I realized I left the print function on, hah! Fixed it of course, and it is running perfectly now... Thanks again for your help!

Glad that you did it finally :)