-
Posts
2,491 -
Joined
-
Last visited
-
Days Won
196
Content Type
Profiles
Forums
Events
Everything posted by Dayo
-
Escaping user input and losing newlines in forum posts
Dayo replied to dnenb's topic in Engine Support
when out puting the text do it like this echo nl2br($database['text']); -
Buttons - Noted back/forward buttons - thanks As for AJAX i just think there is more you can do with it i.e. adding effects to the page loads as well as that it should reduce the amount of HTTP requests and once you have your template loaded you wont have to keep reloading your graphics/styles/javascript
-
I have nearly finished on the ajax page loader a demo of this can be found at http://www.cdhost.co.uk/my_sites/glscript.net/v2-demo/ would appreciate any opinions you have on the way ive handles the page loads
-
@!angel i only used it as it was the first one i googled :| as for the JS it would double my development/testing time if i have to think "will this work without JS" @a_bertrand thats exactly what i thought of, and the people who do disable JS are they going to be playing a mafia game lol. And thanks i am planning on getting something up by the end of the month so people can have a play about and comment on the way im taking it as it will be very different to before
-
Its been a while since i have posted anything up about GL v2 so i thought i would post up some details. Currently there is very little work done, there is no point in me saying anything different. But now i have some time on my hands i have finally started work on the script below are a few features i intend to implement - The game should be ajax driven - There should be no page loads (i know i will be excluding people without java-script enabled but there cant be many left who have it disabled) - percentage done 75% (page loader built (back/forward buttons work)) - The script should be modular - explains itself really - percentage done 5% - Use PDO for the database class - explains itself - percentage done 100% - Have a better template structure - Ive never liked the header.php/footer.php setup started work on a JS template builder but only as an experiment - percentage done 25% (maybe 0%) - Ship out with several default modules needed to start a game - This will not be a out the box ready game but should ship with a few default modules. - percentage done 0% - Admin panel - Previously GL had a very basic admin panel, in V2 the admin panel will be much more advanced and usable - percentage done 0% - Installer - GL v.0.8.* was a pain in the ass tyo install if you were trying for the first time, GL v2 should ship out with an installer - percentage done 0% I have made a source forge project that can be found here there is not much here at the moment but you should see how the project is coming along without having to ask me :P
-
I agree with what a_bertrand said, the bonus with JSON is you can read it in PHP as-well so if you are making a application that uses both its very useful
-
will there be any contract wrote up if so what clauses will be implemented (im guessing your not just going to sign over 30% of your business on the chance they will generate business)
-
I work for a company called heatingsave/heatsave, I don't work on there websites as I work on the web applications controlling the systems
-
im almost the exact same, i have 4 GCSEs and got my job from my experience, and when we were looking for another developer the ones with degrees struggled more with our little "questionnaire" we made even on the simplest of questions
-
how are you planning on doing this, writing your own script or using google translate?
-
@NationGamer & a_bertrand Yes he used a tutorial but it is something he can learn from. @Script47 1) Look into clearInterval() to fix the bug with the click to speed up/down 2) Instead on an alert use a custom css alert as you can click on prevent additional popups 3) maybe add different skill levels, ie easy, medium, hard (the same as 1, 2 and 3 clicks) 4) Add items like a shield that when you hit into it you get 3 lives 5) spawn the elements above the canvas (enemyYPositions.push(-100); )
-
i did have a FB engine a while ago (maybe a year or two) but that is now out dated as it ran the old FBML
-
So I've designed a couple of generic company type templates
Dayo replied to Kr3W's topic in Art and Content
maybe had a little too much to drink that night? :P -
When i "attempt" to make a layout i usually stick to three fonts max 1 for the logo, one for the headings and one for everything else. Also are you using @font-face or using images for the headers. p.s. i just went to http://canadian-mafia.com/ and on my screen the background was off center and made the design look weird. #hea you would be better off changing your background to "background: #000 url(body.png) repeat-y center;" and changing your #header/#header::after css property "left"" to "left: calc(50% - 300px);"
-
looks very good, the font of the navigation items needs changing as it looks very out of place
-
Yea I use it when I want to code something quickly, if its a larger project of my own I would code it myself. An example of a very quick prototype is http://plugins.cdcoding.com/forum the whole site took me only a day or so to code
-
have you looked into bootstrap for quick prototyping.
-
You almost have the same identiclke problems as Kr3w the typography is messed up (i count 3 fonts in the top 20% of the design), the colors do not complement each other and the sizing of the elements needs some work. But with a bit of work you will be able to make something good out of it.
-
Thanks, if im honest i sort of forgot about this, been hectic at work so not had much time to work on it :P
-
So I've designed a couple of generic company type templates
Dayo replied to Kr3W's topic in Art and Content
Not a bad start just a few things, 1) Typography can make or ruin a website 2) colors - for the 2nd templaye you are using light/dark grey, blue and lime green the later dosent fit the scheme (look at http://dribbble.com/colors/cccccc for some inspiration) 3) The canvas you are working on is too small for larger monitors currently it only takes up 55% of one of my screens so there would be 45% unused white space, the first one you can get away with as its fixed width the later one not so much. 4) The background on the 1st one is a little too distracting but that may just be me -
looks like they needed your answer 5 years ago ...
-
Over react much? he was just seeing if you owned it or was going to rip it as for submitiong the form you can add this $(".show_panel").bind('click', function () { if ($(this).val()=='LOGIN') { $.post('login.php', {username:$('.login[type="text"]').val(), password:$('.login[type="password"]').val()}, function (data) { if (data=='true') { document.location = 'loggedin.php'; } }); } }); * Untested
-
ive not worked with NWE but i should imagine it works like this 1) User logs in (with save option selected) 2) Server sets cookie with a random session key 3) Server inserts a row into a sessions table holding the same random session key and a user id 4) On each page load the server will check for the cookie, if its there it will search the DB for the same session key if its there the software will load the data for the user ID. 5) if its not there it will prompt the user to login. 6) it may have a feature if your session key is incorrect XX times it may lock you out the system (so you cant just keep changing the cookie)
-
is there going to be plans for a template system anytime soon?