Fashion Design

Get help using Construct 2

Post » Wed Jan 27, 2016 11:28 pm

Hello ,
if i want to make a fashion design game and i have a dress which is outlined with dotted line plus scissors is it possible to make scissors follow the dotted line pass " as if it is cutting " starting from a start point to the same point and how ? and how to make score for following the right path and subtract from it for following the wrong path ( the dotted line ) ?

P.S : please if you know answer if you don't then don't tell me check tutorials .
Last edited by semaso on Wed Feb 08, 2017 7:12 pm, edited 1 time in total.
B
22
S
8
G
2
Posts: 78
Reputation: 2,701

Post » Thu Jan 28, 2016 1:38 am

semaso wrote:if you know answer if you don't then don't tell me check tutorials .


I got lost here, so I had to rewrite that into algorythm:

Code: Select all
// if you know answer
if ( isAnswerKnown === true )
{
   // if you don't
   if( isAnswerKnown === false )
   {
      // dont tell me check tutorials
      echo ':X';
   } else {
      // well I am here, but there are no functions to trigger :(
   }
}


;)... ok that was a joke... and regarding your question. There is no built-in functionality to make an object move along the custom path. I think all you can do is to use some invisible sprites, put them on the "corners" of your dotted line and then use "Move forward" and "Move at angle" functions for your scissors.... or use some clever math!
ImageImageImage
B
27
S
16
G
80
Posts: 1,021
Reputation: 44,761

Post » Fri Jan 29, 2016 4:54 pm

@BackendFreak this was helpfull , thanks very much :)
B
22
S
8
G
2
Posts: 78
Reputation: 2,701


Return to How do I....?

Who is online

Users browsing this forum: lesthevrlover, mekonbekon, plinkie and 24 guests