I am trying to move a pencil by dragging the eraser end which will make the tip the pivot and when I drag the tip, the eraser end becomes the pivot.
That means the pivot of the pencil will be according to the part that is being dragged by the user.
Please help
Saved me 12min of coding.
Thanks Bro
Beautiful
My method may be crude, but I am writing a log file to the server anytime I call the game through the URL using the Room, ID and NickNames. I read the log file from my server with AJAX from within C2. If they match, game plays.
Yes. Add the browser object, and get the URL via the browser.URL expression.
Thanks.
It worked.
My problem is now security. In case someone decides to type the string into the browser address bar without registration on the sight first.
The Browser object has a URL expression that will return the current URL. You can then parse out the room number with tokenat, and use that to join a room.
Is it possible to pass a string like this "http://game-url/?room=Room120a&user=101&nick=JohnD" when launching a game from a web page?
Hello Good people.
I want to create a multi playergame with pre-registered users on my site. The game should pair users based on unique rooms.
e.g. 2 Players (PlayerA and PlayerB) will be matched together not automatically but because their urls share the same room (Room120a)
http://game-url/?room=Room120a&user=101&nick=JohnD
http://game-url/?room=Room120a&user=102&nick=KenS
How do I read this extensions on a sent URL?
RexRainbow is one of the developers I admire in the C2 community.
Does anyone have the time to work on video tutorials on his plugins?
Are the existing Videos?
This will help a lot.
Develop games in your browser. Powerful, performant & highly capable.
Thanks you for your help. I read the post, but, it does what my game already does.
The problem is, the taps overlap sometimes. I need help with randomly positioning the holes in the wall, such that, the taps do not overlap when they are spawned.
I have this game I am working on for a client.
https://www.scirra.com/arcade/other-gam ... -game-6075
The problem is, the taps overlap sometimes. I need help with randomly positioning the holes in the wall, such that, the taps do not overlap.
Thanks you.
I am working on this game:
I want a way of spacing the randomized taps. Can anyone help?
After this, you need to go into the "develop" tab and delete the whole segment for cordova-plugin-game. This text is generated by the construct 2 plugin and you will need to remove this piece of code every time you want to make a new build. Or at least everytime you export your C2 project
From with file?
additions.xml (there are two of them. What exact code do I get rid of?)
Try this.
Going through "Exporting Hell" right now.
Exporting is a pain in C2. I have been able to publish just a single App to Android since I started using it. I have about 6 projects done and all had to end up as webApps.
Sad.
I mean, I am VERY SAD. Very VERY.