
Joel
Members-
Posts
1,169 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Joel
-
Thanks, and yes the database class definitely needs work, currently only supports mysqli. Examples will come soon, the framework was released just yesterday.
-
I developed a PHP Modular MVC Framework, also supports themes so you can have multiple templates. Released under the MIT license, check: https://github.com/Jo3la/Modular-MVC-Framework Does not require a database connection to work.
-
<script type="text/javascript"> var id = window.location.search.split("id=")[1]; var url = "http://example.com/user.php?id="; setTimeout(function(){ id--; window.location.replace(url + id); },1000); </script> ?
-
Removed Quick search and it appears to be on sourceforge.
-
What do you install on a new or reformatted computer?
Joel replied to Jan Kaufmann's topic in Chit Chat
Google Chrome Notepad++ Skype Steam Minecraft Photoshop FileZilla VLC 7-Zip Visual Studio IDM ShareX -
What are your favorite all time top 5 Movies?
Joel replied to Jan Kaufmann's topic in Media Entertainment (FKA Tv Shows)
1. Forrest Gump 2. The Shawshank Redemption 3. Good Will Hunting 4. Indiana Jones 5. Star Wars I have more these are just the ones I can think of right now. -
Warning: include(.php) [function.include]: failed to open stream: No such file or directory in /home/mafiadre/public_html/index.php on line 2 Warning: include(.php) [function.include]: failed to open stream: No such file or directory in /home/mafiadre/public_html/index.php on line 2 Warning: include() [function.include]: Failed opening '.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mafiadre/public_html/index.php You may want to fix this.
-
I still prefer to use Notepad++ but sublime text 3 is good also. Not tried many others.
-
Laravel 4 is in development, you can download from there github. Its the most stable release. Its also 20% faster than CodeIgniter 3.
-
I prefer laravel - clean and classy. You can use any you like though, it all depends on personal preference and performance / security.
-
Sweet... published :)
-
http://www.speedtest.net/result/2603693833.png Fibre Optic
-
Ahh... I must have missed it while looking at the default template file, i'll update it now. =D
-
Updated: - fixed code editor problem - temp - using ImageGameTitle(); for the game title http://img16.imageshack.us/img16/9527/20130327003706.png EDIT: code editor css/js not in default template? possibly a_bertrand needs to add support for other templates for it to work correctly. mctemplate.nwp
-
Okay I'll add the function, remove the text and just add ImageGameName(); The code editor is probably due to the width of the content, not sure that is changeable via a templates folder? file?
-
Neither, using PNG.
-
Thanks! cookies for you!
-
Well I got bored and wasn't diggin the default dev theme, so I created a Mccodes-like template: Enjoy! P.S. I submitted to market place also. EDIT: fixed and updated, download attachment. mctemplate.nwp
-
http://2.bp.blogspot.com/_bpMgKpXKabQ/TKMrEZGoOLI/AAAAAAAAARQ/JNp1BmVlEB4/s1600/Monkey-Mia-MJK-Australia.jpg
-
I'm not going to list every language to date but obviously you get the picture. http://en.wikipedia.org/wiki/List_of_programming_languages_by_type
-
Congrats a_bertrand! I downloaded the free version to check the features and must say it is much better than other text based engines, I like the module system, seems cool and easy to develop modules. Might have to request a developers license, need to get myself back into PHP coding XD
-
Hmm, not sure your requestAnimationFrame code will work with most browsers e.g. Opera, IE and Webkit. You should use something like this: (function() { var lastTime = 0; var vendors = ['ms', 'moz', 'webkit', 'o']; for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; window.cancelRequestAnimationFrame = window[vendors[x]+ 'CancelRequestAnimationFrame']; } if (!window.requestAnimationFrame) window.requestAnimationFrame = function(callback, element) { var currTime = new Date().getTime(); var timeToCall = Math.max(0, 16 - (currTime - lastTime)); var id = window.setTimeout(function() { callback(currTime + timeToCall); }, timeToCall); lastTime = currTime + timeToCall; return id; }; if (!window.cancelAnimationFrame) window.cancelAnimationFrame = function(id) { clearTimeout(id); }; }()) Source: http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating This will loop through the vendors and detect support for IE, Firefox, Chrome, Opera and other Webkit browsers. If it doesn't detect requestAnimationFrame it will just use setTimeout. You then only need to use this: function gameLoop() { window.requestAnimationFrame( gameLoop ); //code here... } I prefer to use Chrome as my JavaScript developing web browser, it has the best JavaScript engine. But I still check compatibility for other browsers.
-
True, you can make it run faster canvas or not. Not sure if you have looked at requestAnimationFrame, but it can make the animation smooth - ideal replacement for setTimeout. Only downside is that it runs at 60 fps, you cannot change it. You can see a comparison here: http://ie.microsoft.com/testdrive/Graphics/RequestAnimationFrame/Default.html It's ideal for game loops and animations.
-
Interesting... developers have there own approach for games, depends on what they prefer and the performance.
-
Yes that is true, they only have awful performance loading at large numbers. However you wouldn't notice a difference for a game as small as this, canvas or not. I wasn't saying "canvas is better use this" I was asking for a comparison, code wise that would be. Wouldn't notice any difference by playing the game unless you are running at a higher fps which results in smoother animating. Does depend on the type of game, you can render using DOM, Canvas or SVG - each one have there own advantages.