Search found 35 matches
- Sun Sep 21, 2014 4:44 pm
- Forum: Beginner Help and Support
- Topic: How can i insert php variable into javascript?
- Replies: -1
- Views: 2026
Re: How can i insert php variable into javascript?
can this second one be done withouth button,i need like 300 variables to be converted in javascript Edit: actually i think i found solution <?php $var=15; //of course this is simplified as much as it can be ?> <script type="text/javascript"> var works= '<?php echo $var; ?>' document.write(...
- Sun Sep 21, 2014 11:12 am
- Forum: Beginner Help and Support
- Topic: How can i insert php variable into javascript?
- Replies: -1
- Views: 2026
How can i insert php variable into javascript?
Hi
I have variable,that i've got from database
$example=$playerinfo3 ['level'];
Now i need to use this $example variable in javascript,how could i do that?
I have variable,that i've got from database
$example=$playerinfo3 ['level'];
Now i need to use this $example variable in javascript,how could i do that?
- Mon Sep 01, 2014 5:16 pm
- Forum: Beginner Help and Support
- Topic: Empty slots for building in towns
- Replies: -1
- Views: 4250
Re: Empty slots for building in towns
No offense, but if you don't understand that code yet maybe you should just stick with the easier way instead. My game is exactly like this and I use easy codes also. actaully i understand that code,but i'm not sure how to use it :D and I now that I'm not yet ready for all of this,i mean,i first ti...
- Sun Aug 31, 2014 8:01 am
- Forum: Beginner Help and Support
- Topic: Drag & Drop Inventory for a Browser MMORPG
- Replies: -1
- Views: 2447
Re: Drag & Drop Inventory for a Browser MMORPG
ok,pleae if you can ( i believe it's 2 minuets for you ) to check this and tell me solutionah, sorry i do not remember those tutorials. I moved to HTML5 than raw javascript. I will need to look back into them.
thanks a lot halls!
- Sat Aug 30, 2014 5:36 am
- Forum: Beginner Help and Support
- Topic: Drag & Drop Inventory for a Browser MMORPG
- Replies: -1
- Views: 2447
Re: Drag & Drop Inventory for a Browser MMORPG
but how to add a href to this code?Just add a <a href> link to the image or a onclick='function()' to the image
whenever i try to put it, it shows me a mistake
Code: Select all
house[counteri].setImage("images/buildings/" + building + "_3.png",75,75);
- Sat Aug 30, 2014 5:29 am
- Forum: Beginner Help and Support
- Topic: Empty slots for building in towns
- Replies: -1
- Views: 4250
Re: Empty slots for building in towns
yes i want something like that 
and Chris metod is really good,but problem is that i don't understand compleetly every part of it,i would have few questions for some coding that he wrote,i sent him PM to ask him but he didn't reply (and i guess my questions were a little bit stupid
)

and Chris metod is really good,but problem is that i don't understand compleetly every part of it,i would have few questions for some coding that he wrote,i sent him PM to ask him but he didn't reply (and i guess my questions were a little bit stupid

- Tue Aug 26, 2014 9:21 pm
- Forum: Beginner Help and Support
- Topic: Drag & Drop Inventory for a Browser MMORPG
- Replies: -1
- Views: 2447
Re: Drag & Drop Inventory for a Browser MMORPG
i have learned that form one of halls tutoprials
but i'm still trying to find out how to add link to this drag and drop inventory ,so it could take me to another page when i click on it.
but i'm still trying to find out how to add link to this drag and drop inventory ,so it could take me to another page when i click on it.
- Fri Aug 22, 2014 4:10 pm
- Forum: Beginner Help and Support
- Topic: Empty slots for building in towns
- Replies: -1
- Views: 4250
Re: Empty slots for building in towns
ok i watched all 5 videos,it helped but it's not exactly same thing i wanted to do but ok. Now i have question. Howell used function that set image of building on green background which is supposed to be my town house[counteri].setImage("images/buildings/" + building + "_3.png",7...
- Fri Aug 22, 2014 9:04 am
- Forum: Browser based RTS Videos
- Topic: Browser RTS Video #4
- Replies: -1
- Views: 7742
Re: Browser RTS Video #4
not sure i understand what is mapr and mapc and why they are = 5? and how to make linked image of building which is placed on maparea? So when player place one building,he shoud be able to cick on that building and open new window in which he could see information about that building and upgrade but...
- Mon Aug 18, 2014 2:28 pm
- Forum: Beginner Help and Support
- Topic: Empty slots for building in towns
- Replies: -1
- Views: 4250
Re: Empty slots for building in towns
found it 
too bad it's not finished.

too bad it's not finished.