How r u all,
I'm new to the site, decided to say hello as is customary. I briefed through the tutorials hoping to learn something, unfortunately I think I'm already beyond it.. any hope for more advanced tutorials? I'm hoping this site can offer the learning I seek. In turn I'll offer my own meagre skills to others.
Privyet (hello)
- SpiritWebb
- Posts: 3107
- Joined: Sun Jul 12, 2009 11:25 pm
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Privyet (hello)
Welcome. What are you looking for in PHP that is more advanced? Classes? Better Arrays? ect..
What are you trying to do with PHP?
What are you trying to do with PHP?
Re: Privyet (hello)
Have you dealt with writing SQL scripts? things that can automated during the SQL process? or in PHP dealing with cleaning up code? My big issue myself is sorting out things to be stored in the <Head> and things to be stored in the <body> then sending it all to screen AFTER all the code has been worked out, to ensure I don;t forget any css scripts,
Another one is trying to keep the HTML send to an ABsolute minimum, bandwidth is the bigger problem for out little projects, I don;t like pages to load more than 1/5th of a second, and am always looking for sites or info on how to send just the bare minimum..
right now, for example when my player moves south, Why should I load the entire map screen again, it seems much smarter to load only the bottom line of map objects, create new Divs for them, and have the existing divs all slide up into the new location.. both animating my map and sending a bare 40 objects (in XML) to the user.. Its harder to figure out than I write but the logic seems to be correct from what I'm reading on forums and instructions..
I'm also a code nazi.. I don't like to copy paste other programmers.. I like to know WHY each piece of code works the way it does, so I have the ability to improve on it..
I want you to know that while I felt that I was ahead of most of the tutes, they did have some key points that I know I'll go back and watch a again, things that may prove very useful, or at the least are very interesting to try out,.. thankyou for that. I appreciate greatly your enthusiasm to improve the community of text + click MMO's,
Another one is trying to keep the HTML send to an ABsolute minimum, bandwidth is the bigger problem for out little projects, I don;t like pages to load more than 1/5th of a second, and am always looking for sites or info on how to send just the bare minimum..
right now, for example when my player moves south, Why should I load the entire map screen again, it seems much smarter to load only the bottom line of map objects, create new Divs for them, and have the existing divs all slide up into the new location.. both animating my map and sending a bare 40 objects (in XML) to the user.. Its harder to figure out than I write but the logic seems to be correct from what I'm reading on forums and instructions..
I'm also a code nazi.. I don't like to copy paste other programmers.. I like to know WHY each piece of code works the way it does, so I have the ability to improve on it..
I want you to know that while I felt that I was ahead of most of the tutes, they did have some key points that I know I'll go back and watch a again, things that may prove very useful, or at the least are very interesting to try out,.. thankyou for that. I appreciate greatly your enthusiasm to improve the community of text + click MMO's,
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Privyet (hello)
ah I see, well Javascript is the way you need to go to bring down reloading of items on the page. In a real game environment I also try to minimize the amount of reloading going on.
The tutorials are made to be a base for everyone to work off of and can definitely be cleaned up for efficiency.
Using DOM (Document Object Model) Reference's will also help.
The tutorials are made to be a base for everyone to work off of and can definitely be cleaned up for efficiency.

Using DOM (Document Object Model) Reference's will also help.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Privyet (hello)
A fairly simple technique that can speed up graphic-heavy PBBGs is the CSS sprite technique, which can be done in several different ways, with and without Javascript. You basically have larger images that store many different images in them, and position them so only certain parts are viewable at a time. First, it cuts down on the number of requests made, and second, it will be cached on the user side, so it only has to be downloaded once.
The indelible lord of tl;dr
Re: Privyet (hello)
Yep, these are the topics I'd like to discuss further, you both seem to know more than me about it, so I'd be happy to discuss these things over the coming months..
I've only just started creating a game, and only recently started to put any effort into it, so I'm not even 1/100th as far as your game, hoping to catch up.. I'm still creating things like character movement, let alone development and combat,.. but I also have alot of background stuff going on, cron jobs to tell creature migrations, trees growing, etc..
so, when I have my next few tasks cleaned up, I'll provide you guys a link..
I've only just started creating a game, and only recently started to put any effort into it, so I'm not even 1/100th as far as your game, hoping to catch up.. I'm still creating things like character movement, let alone development and combat,.. but I also have alot of background stuff going on, cron jobs to tell creature migrations, trees growing, etc..
so, when I have my next few tasks cleaned up, I'll provide you guys a link..
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Privyet (hello)
sounds great!
I just stored the images in a array and changed the image to simulate running or walking. No requests needed. pressing the up arrow changes the image to a up image. All very fast and using JS. Several different ways to do it.
like so
http://www.forsakensanctum.com/testretro/index.php
not sure if it works in IE so use firefox or another.
I just stored the images in a array and changed the image to simulate running or walking. No requests needed. pressing the up arrow changes the image to a up image. All very fast and using JS. Several different ways to do it.
like so
http://www.forsakensanctum.com/testretro/index.php
not sure if it works in IE so use firefox or another.
Re: Privyet (hello)
Thanks for the link halls, took a look at the source, and I didn't imagine that this was archived that easily.