AirConsole Game Dev Contest 2017

Discussion and feedback on Construct 2

Post » Sun Nov 20, 2016 4:46 am

Heyy @BackendFreak. Can you show me how to display the player's name using the NicknameJoin. i tried assigning it to a variable and set it to print the text but when i try it,it prints blank. Any suggestions?
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325


Post » Sun Nov 20, 2016 6:29 am

@Psychokiller1888 will test that out later and see! Thank you
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325

Post » Tue Nov 22, 2016 2:58 pm

@Psychokiller1888 I got it working. Thank you very much for your help :) One last question is it possible for when the player joins that i can use css to change the background color of the controller. eg. player 1 being red player 2 blue etc.? I know it's most likely using the send data but not sure how to transverse from there.
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325

Post » Tue Nov 22, 2016 3:09 pm

Sure it is. Send a message from your game, capture that message on the controller, within onMessage, then use jQuery to set a div's background color per exemple, based on the message received
B
36
S
12
G
3
Posts: 239
Reputation: 4,557

Post » Tue Nov 22, 2016 3:24 pm

@Psychokiller1888 Thank you! Just wanted to clarify and greatly appreciate the help
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325

Post » Tue Nov 29, 2016 9:13 pm

I'm not good at HTML... Could one of you please make me a controller with just two buttons? A 'Left' and a 'Right'. That would be amazing.


Thanks!
B
10
S
2
Posts: 4
Reputation: 558

Post » Fri Dec 09, 2016 1:39 am

Hey @Psychokiller1888 or anyone else here. i'm using the platform behaviour for a simple left right simulation however the issue i'm having is if i tap the left or right button on the controller and it would go straight to the end without stopping. What i'm trying to do is that if the person is not holding down left or right that the player would stop. Any suggestions are greatly appreciated :)
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325

Post » Fri Dec 09, 2016 5:45 am

On your controller send a message when mousedown and when mouseup. Start moving on construct 2 when you get a mousedown message, stop moving when you get a mouseup message
B
36
S
12
G
3
Posts: 239
Reputation: 4,557

Post » Fri Dec 09, 2016 3:09 pm

@Psychokiller1888 I got it working thank you so much for your help :D :D . Greatly appreciated
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: bp6, tumira and 1 guest