| Welcome to Thunder Services. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| New Conversion Code; [Tutorial] | |
|---|---|
| Topic Started: December 29, 2007, 3:30 am (1,705 Views) | |
| Eric | December 29, 2007, 3:30 am Post #1 |
![]()
Administrator
![]()
|
This new method of converting games will allow for better security from cheat attempts.
This is the new code. Simply paste this at the end of the game and modify what is in red. If you want to have a button to submit, remove: verifyscore(); And paste this on the button's action code:
|
![]() ![]() ![]() ![]()
| |
![]() |
|
| Chris | December 29, 2007, 2:39 pm Post #2 |
![]() ![]()
|
Actually its flawless. I can't get around it with Tamper Data
And actually it would be better if the verify came right after you reach the submit button - so people couldn't be ready for it. |
| |
![]() |
|
| Mike | December 29, 2007, 2:41 pm Post #3 |
![]()
|
Whats This Part Mean "submit.gscore = Score;" |
![]() It is back, and better than ever! | |
![]() |
|
| Chris | December 29, 2007, 2:43 pm Post #4 |
![]() ![]()
|
That is the variable containing the score. Its kind of obvious, isn't it? Ex: submit.gscore = _root.score; |
| |
![]() |
|
| Mike | December 29, 2007, 2:44 pm Post #5 |
![]()
|
oo yea that part but how do you know what to change it to? still trying to figure that one out. |
![]() It is back, and better than ever! | |
![]() |
|
| Chris | December 29, 2007, 2:48 pm Post #6 |
![]() ![]()
|
On your index.php you look for the number that is your score. Look to the left of it, past the = sign, and you have the variable that should go where Score is. Ex my score is 125 _root.name = My Game _root.something = blah _root.gname = mygame_TA _root.points = 125 _root.time = 600 and alot of other stuff. As you can see, _root.points would hold my score, so the line should be: submit.gscore = _root.points; |
| |
![]() |
|
| Mike | June 18, 2009, 11:50 pm Post #7 |
![]()
|
wow sorry to bring an old topic back but in the gname do you need the quotes? |
![]() It is back, and better than ever! | |
![]() |
|
| Chris | June 19, 2009, 2:23 am Post #8 |
![]() ![]()
|
Yes; for any script (Flash, PHP, Javascript, etc.) any non-number values need quotation marks around them.
|
| |
![]() |
|
| Mike | June 19, 2009, 6:32 pm Post #9 |
![]()
|
ok thanks yea this is the first time converting for me again in a year im trying to get back on my feet with this lol |
![]() It is back, and better than ever! | |
![]() |
|
| Christian | June 19, 2009, 7:13 pm Post #10 |
![]()
|
The thing about converting games are that most of it is just copying & pasting... |
Kicking Trolls in the face since 2005
| |
![]() |
|
| Springer | June 20, 2009, 3:36 am Post #11 |
![]()
|
There is a little more to it than that Goku, if only all games were that simple. |
Please visit Lightning Games for over 3,900 more converted games for your arcade!
| |
![]() |
|
| Christian | June 20, 2009, 7:39 pm Post #12 |
![]()
|
No, I'm a seasoned converter... I know what I'm saying, most of it IS just copying and pasting. The only other steps are: Finding the gscore variable and were to paste the submit score function... That's it! And if you're adding a bunch of unnecessary steps just to submit a score, then you're just making things hard on yourself. |
Kicking Trolls in the face since 2005
| |
![]() |
|
| Eric | June 21, 2009, 2:06 am Post #13 |
![]()
Administrator
![]()
|
Some games are harder than others to work with. Springer has experience also, you know. She has converted about 1,400 games. |
![]() ![]() ![]() ![]()
| |
![]() |
|
| Springer | June 21, 2009, 4:43 am Post #14 |
![]()
|
Some games are EASY to convert. Others are right pigs! |
Please visit Lightning Games for over 3,900 more converted games for your arcade!
| |
![]() |
|
| Keedo | July 10, 2009, 7:05 pm Post #15 |
![]() ![]()
|
OK, I'm making my first stab at converting a game, but am a little fuzzy on what you mean by "end of the game". Does that mean to post it in the Action box of the last frame in the Action Layer, or am I looking for something more specific? |
![]() ![]() I love this woman! | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Tutorials · Next Topic » |
- Pages:
- 1
- 2


















6:20 AM Sep 6