Search found 3693 matches

Re: How do I random enemy after destroyed object?

Use System.Create, not Spawn. Spawn uses the source object to spawn "another" object. If you have no sprites in the first place, it will never work.

Also use int(random(1,4)) to get the numbers 1,2,3. Random never actually reaches that second number.
by blackhornet
Sun Sep 24, 2017 3:43 am
 
Forum: How do I....?
Topic: How do I random enemy after destroyed object?
Replies: 2
Views: 46

Re: How do I Convert db in a scale of 0 to 100 ?

http://www.blackhornettechnologies.com/Construct2Stuff/Fenix18_volume.capx The easiest way is to just let the slider do the work for you. Just use your positive reference point (30) and set the slider's Maximum to that. Then juggle the values around to get the negative result. The volume can go muc...
by blackhornet
Sun Sep 24, 2017 2:20 am
 
Forum: How do I....?
Topic: How do I Convert db in a scale of 0 to 100 ?
Replies: 1
Views: 31

Re: How do I insert music into my project?

Use "On start of layout" -> Play ...
by blackhornet
Sun Sep 24, 2017 1:35 am
 
Forum: Beginner's Questions
Topic: How do I insert music into my project?
Replies: 1
Views: 23

Re: How do I check if variable is equal to multiple numbers

AND is correct. If the value is not an apple AND the value is not an orange, then it must be a strawberry.
by blackhornet
Tue Sep 19, 2017 3:57 am
 
Forum: How do I....?
Topic: How do I check if variable is equal to multiple numbers
Replies: 25
Views: 990

Re: How get url param and save to variable ?

Yes, no semicolon.
by blackhornet
Mon Sep 18, 2017 7:23 pm
 
Forum: Construct 2 General
Topic: How get url param and save to variable ?
Replies: 15
Views: 422

Re: How get url param and save to variable ?

No, the initial value can only be a constant. Add an action in On Start of layout, and use System.Set value to set it.
by blackhornet
Mon Sep 18, 2017 6:52 pm
 
Forum: Construct 2 General
Topic: How get url param and save to variable ?
Replies: 15
Views: 422

Re: How get url param and save to variable ?

I've updated the link.
by blackhornet
Mon Sep 18, 2017 6:16 pm
 
Forum: Construct 2 General
Topic: How get url param and save to variable ?
Replies: 15
Views: 422

Re: Pick an instance and set object position to that instanc

No, add Pick all with (but before) Pick Door=1 in event 3 only.
by blackhornet
Mon Sep 18, 2017 5:49 pm
 
Forum: General Discussion
Topic: Pick an instance and set object position to that instance
Replies: 4
Views: 120
Next

Return to advanced search