[QUOTE=Bomber9900;35733797][url]http://vizze.net/home/index.html[/url] - Worked on this last night. Nowhere near finished but am I off in a good direction with the site design?[/QUOTE]
The link is broken
Started working on a stalker-like MMORPG.
Written in PHP, Javascript and bits of AJAX, here's a little bit of it:
The world printing code, reads the maps from external files in a specific format and prints it as divs (why overload your pc with <img>s)
this is the result:
[img]http://i.imgur.com/6pG5Q.png[/img]
this is the map code (E.g. map1.txt)
[code][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,1,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,1,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,1,][,1,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,1,][,1,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,1,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,1,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,1,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,b,]
[,1,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,b,]
[,1,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,1,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,1,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,1,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,1,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,b,]
[,0,][,0,][,0,][,0,][,0,][,0,][,0,][,0,][,1,][,0,][,0,][,0,][,0,][,0,][,b,][/code]
Player movement is tile based, I am currently in the middle of coding pathfinding.
[img]http://gabrielecirulli.com/p/20120427-231936.png[/img]
This is how important design decisions are taken in our team.
[QUOTE=TerabyteS_;35734808]The link is broken[/QUOTE]
fixed it i think
Looks nice man.
Feels good to be doing be actually working on some front-end stuff after bashing out a modular login / registration system!
[img]http://www.jboden.org.uk/images/registration.png[/img]
[QUOTE=TerabyteS_;35735539][img]http://gabrielecirulli.com/p/20120428-000227.png[/img][/QUOTE]
What exactly is this about? Music sharing?
[editline]27th April 2012[/editline]
Also, I see why there are no games written using HTTP as the main networking protocol :v:
How is [url]http://www.vizze.net/home/[/url] not loading?
[QUOTE=toaster468;35735848]Also, I see why there are no games written using HTTP as the main networking protocol :v:[/QUOTE]
Well, the graphics are about to be Diablo II level, so on my side, that's enough.
[QUOTE=Bomber9900;35736051]How is [URL]http://www.vizze.net/home/[/URL] not loading?[/QUOTE]
It is for me
Also does seem like imgur no longer works on facepunch :zoid:
[QUOTE=antiChrist;35736082]Well, the graphics are about to be Diablo II level, so on my side, that's enough.[/QUOTE]
Oh I didn't see your post. HTTP isn't a good way of making games. Try using websockets. They are much better suited for games.
[QUOTE=toaster468;35735848]What exactly is this about? Music sharing?
[editline]27th April 2012[/editline]
Also, I see why there are no games written using HTTP as the main networking protocol :v:[/QUOTE]
Torrent tracker software.
[QUOTE=Sharpshooter;35735750]Looks nice man.
Feels good to be doing be actually working on some front-end stuff after bashing out a modular login / registration system!
[/QUOTE]
There's no email input, how would you get their email?
:v:
[QUOTE=Sharpshooter;35736187]It is for me
Also does seem like imgur no longer works on facepunch :zoid:[/QUOTE]
They seem to be okay for me, I can see the thumb and click it for a larger version fine.
[QUOTE=AndrewPH;35738176]There's no email input, how would you get their email?
:v:[/QUOTE]
Usernamefield = probably registered with information
[QUOTE=Bomber9900;35736051]How is [url]http://www.vizze.net/home/[/url] not loading?[/QUOTE]
Loads for me but there's a minor issue with the home/login/register box at the top right
I'm on 1366x768
[img]http://i50.tinypic.com/2evx5xh.png[/img]
[QUOTE=swift and shift;35741220][img]http://i.imgur.com/QhK1J.png[/img][/QUOTE]
Left that in to see who would notice :v:
It's just a wallpaper I quickly dragged and dropped onto my bookmarks, and it got named that because of the way wallbases tags work
[QUOTE=Adzter;35741215]Loads for me but there's a minor issue with the home/login/register box at the top right
I'm on 1366x768
[img]http://i50.tinypic.com/2evx5xh.png[/img][/QUOTE]
right so im using percentages to size that navbar, anyway I can make it fit all resolutions?
It's not even loading for me now I just get this:
[img]http://i49.tinypic.com/o0zeog.png[/img]
As for your question you could use min-width
EDIT: Quickly messed around using Chrome inspect element and on the #navbar add:
min-width:240px;
min-height:50px;
Then you can tweak it to your liking
EDIT2: Your site seems to load now
i'm not new to web dev, but i am just getting started on working on this as a serious project. Anyways, I like to avoid using pixels but I guess I can try that.
-snip-
[QUOTE=Bomber9900;35741486]i'm not new to web dev, but i am just getting started on working on this as a serious project. Anyways, I like to avoid using pixels but I guess I can try that.[/QUOTE]
You use it as well as percentages it just makes it so it doesn't go really small.
[QUOTE=AndrewPH;35738176]There's no email input, how would you get their email?
:v:[/QUOTE]
Yeah forgot to mention thats a in-development screenshot, its been added now!
man i'm trying to make a fucking login and register and i'm just hitting brick wall after brick wall. I wish I didn't suck ass at php.
[QUOTE=Bomber9900;35742144]man i'm trying to make a fucking login and register and i'm just hitting brick wall after brick wall. I wish I didn't suck ass at php.[/QUOTE]
I'm currently in the process of creating a php login / registration system, its a lot more work than I first anticipated.
I followed this tutorial mainly:
[url]http://tinsology.net/2009/06/creating-a-secure-login-system-the-right-way/[/url]
but I made a few changes such as not storing the password salt in the database and instead having it pick 3 fixed characters only I know the position of and salt these to hash the password with.
Its a decent base but I ran into problems using it too, the major one was 'how the hell do I get the error messages back to the form, I followed another tutorial on form validation for that which basically sent the form back to itself with the errors.
Just keep at it, the tutorial on tinsology is quite easy to get your head around, it does literally just drop you at the other end with an incredibly basic system though.
[QUOTE=Bomber9900;35742144]man i'm trying to make a fucking login and register and i'm just hitting brick wall after brick wall. I wish I didn't suck ass at php.[/QUOTE]
[URL]http://www.openwall.com/phpass/[/URL]
You're welcome :v:
On a serious note this is very secure, and pretty damn easy to use. Just read a tutorial like [URL="http://www.openwall.com/articles/PHP-Users-Passwords"]this[/URL]
[QUOTE=Sharpshooter;35742324]I'm currently in the process of creating a php login / registration system, its a lot more work than I first anticipated.
I followed this tutorial mainly:
[url]http://tinsology.net/2009/06/creating-a-secure-login-system-the-right-way/[/url]
but I made a few changes such as not storing the password salt in the database and instead having it pick 3 fixed characters only I know the position of and salt these to hash the password with.
Its a decent base but I ran into problems using it too, the major one was 'how the hell do I get the error messages back to the form, I followed another tutorial on form validation for that which basically sent the form back to itself with the errors.
Just keep at it, the tutorial on tinsology is quite easy to get your head around, it does literally just drop you at the other end with an incredibly basic system though.[/QUOTE]
that tutorial doesn't seem to mysql escape the form input tut tut tut.
[QUOTE=rookwood101;35748812]that tutorial doesn't seem to mysql escape the form input tut tut tut.[/QUOTE]
Yeah its by no means perfect, stores stuff like salts in the DB which isnt great, but it is a good starting point.
I just updated [url]http://toaster468.com/bm/[/url] with a new analytic API I found! Its called Flexpi and it is for games/web apps and they offer free real-time stats.
My game is just a simple button mashing game, but it is nice practice and getting the API working and everything was a breeze. I really recommend this. I sound like a spam bot but really, check it out.
[editline]28th April 2012[/editline]
Wow already 4,661 mashes. Who the heck is doing it?
Sorry, you need to Log In to post a reply to this thread.