How to make the player draw an object?

Get help using Construct 2

Post » Sat Mar 24, 2012 1:54 pm

For example: http://mikengreg.com/solipskier/

In that flash game, the player can draw an object to walk on.
Is there any way to do the exact thing using the Construct 2?

Thank you very much in advance.
B
4
Posts: 4
Reputation: 560

Post » Sat Mar 24, 2012 2:22 pm

interesting game :)
B
170
S
3
G
2
Posts: 65
Reputation: 6,057

Post » Sat Mar 24, 2012 10:18 pm

Any ideas?
B
4
Posts: 4
Reputation: 560

Post » Sun Mar 25, 2012 5:13 am

when mouse click is down create a new object make that object solid (the object created could be a dot so when you mouse click is down it created a line)

have you tried this?
B
14
S
1
Posts: 31
Reputation: 1,208

Post » Sun Mar 25, 2012 5:36 am

http://dl.dropbox.com/u/67202210/lineproject.capx
here is a sample of how to draw lines i made it up quickly around 2 mins :)

there might be some other ways but this way works
you could try improving it
i just added a physics object to test that an object can walk/roll on it
some picutres


hope i helped :Pnoranka2012-03-25 05:37:15
B
14
S
1
Posts: 31
Reputation: 1,208

Post » Sun Mar 25, 2012 5:55 am

[QUOTE=noranka] when mouse click is down create a new object make that object solid (the object created could be a dot so when you mouse click is down it created a line)

have you tried this?[/QUOTE]

u should try this... this would be my first attempt too.. but I think this way could make the game very slow.. so probably may have other solutions that doesn't affect the game's performance.

;)
B
30
S
6
G
5
Posts: 433
Reputation: 6,061

Post » Sun Mar 25, 2012 9:28 pm

@noranka thank you very much for your idea :)
Any other ideas that might work?
B
4
Posts: 4
Reputation: 560

Post » Sun Mar 25, 2012 11:07 pm

Here's another idea:
http://dl.dropbox.com/u/5426011/examples10/slopeGenerate.capx

It's not perfect but should have constant performance.
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Sun Mar 25, 2012 11:10 pm

@R0J0hound your genius thank you very much :D
B
4
Posts: 4
Reputation: 560


Return to How do I....?

Who is online

Users browsing this forum: Kagubro and 32 guests