<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>AQUILAX’S DEVELOPMENT BLOG - Latest Comments</title><link>http://devhoremag.disqus.com/</link><description></description><atom:link href="https://devhoremag.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 07 Aug 2013 07:26:35 -0000</lastBuildDate><item><title>Re: PHP Maze Generator class</title><link>http://dev.horemag.net/2008/03/01/php-maze-generation-class/#comment-991304423</link><description>&lt;p&gt;Hey,&lt;br&gt;I did one too, using another method.&lt;br&gt;You can find it over here :&lt;br&gt;&lt;a href="http://codes-sources.commentcamarche.net/source/54416-generateur-de-labyrinthes-parfaits-avec-gd" rel="nofollow noopener" target="_blank" title="http://codes-sources.commentcamarche.net/source/54416-generateur-de-labyrinthes-parfaits-avec-gd"&gt;http://codes-sources.commen...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gallien69</dc:creator><pubDate>Wed, 07 Aug 2013 07:26:35 -0000</pubDate></item><item><title>Re: Smooth tile scrolling with Slick</title><link>http://dev.horemag.net/2009/05/05/smooth-tile-scrolling-with-slick/#comment-824056353</link><description>&lt;p&gt;It's been a while but looking at the code these are constants set in the tile-map, which indicate the initial position of the hero. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aquilax</dc:creator><pubDate>Sat, 09 Mar 2013 10:10:49 -0000</pubDate></item><item><title>Re: Smooth tile scrolling with Slick</title><link>http://dev.horemag.net/2009/05/05/smooth-tile-scrolling-with-slick/#comment-824012441</link><description>&lt;p&gt;Thank you very much, Lad. &lt;br&gt;The last question, because I just started using "tiledmap", I don't get this 2 lines:&lt;/p&gt;&lt;p&gt;hero.xtile = Integer.parseInt(map.getMapProperty("herox", "16"));&lt;br&gt;hero.ytile = Integer.parseInt(map.getMapProperty("heroy", "8"));&lt;/p&gt;&lt;p&gt;Can you explain what is it? Coordinates of the player on the map (in tiles of course)?&lt;/p&gt;&lt;p&gt;And once more thanks for Hero Class.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nan0Br3aker</dc:creator><pubDate>Sat, 09 Mar 2013 09:17:14 -0000</pubDate></item><item><title>Re: Smooth tile scrolling with Slick</title><link>http://dev.horemag.net/2009/05/05/smooth-tile-scrolling-with-slick/#comment-823752127</link><description>&lt;p&gt;This is the Hero class &lt;a href="https://code.google.com/p/jmuonline/source/browse/trunk/src/jmu/JmuHero.java" rel="nofollow noopener" target="_blank" title="https://code.google.com/p/jmuonline/source/browse/trunk/src/jmu/JmuHero.java"&gt;https://code.google.com/p/j...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aquilax</dc:creator><pubDate>Sat, 09 Mar 2013 02:05:17 -0000</pubDate></item><item><title>Re: Smooth tile scrolling with Slick</title><link>http://dev.horemag.net/2009/05/05/smooth-tile-scrolling-with-slick/#comment-823446119</link><description>&lt;p&gt;Where did you take "Hero" class?&lt;br&gt;I'd to see your map settings.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nan0Br3aker</dc:creator><pubDate>Fri, 08 Mar 2013 18:16:10 -0000</pubDate></item><item><title>Re: Inheritance in go (golang)</title><link>http://dev.horemag.net/2012/03/01/inheritance-in-go-golang/#comment-626474729</link><description>&lt;p&gt;Yes it's not, because go is not a OO language, but that's the closest to inheritance it can get.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aquilax</dc:creator><pubDate>Thu, 23 Aug 2012 04:11:47 -0000</pubDate></item><item><title>Re: Inheritance in go (golang)</title><link>http://dev.horemag.net/2012/03/01/inheritance-in-go-golang/#comment-626434992</link><description>&lt;p&gt;That is not called inheritance at all.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josh1966</dc:creator><pubDate>Thu, 23 Aug 2012 03:08:01 -0000</pubDate></item><item><title>Re: Disable KDE file dialog in Chrome</title><link>http://dev.horemag.net/2012/02/02/disable-kde-file-dialog-in-chrome/#comment-575231620</link><description>&lt;p&gt;:-(&lt;/p&gt;&lt;p&gt;Thanks anyway&lt;/p&gt;&lt;p&gt;Mal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Malcolm</dc:creator><pubDate>Tue, 03 Jul 2012 09:56:54 -0000</pubDate></item><item><title>Re: Disable KDE file dialog in Chrome</title><link>http://dev.horemag.net/2012/02/02/disable-kde-file-dialog-in-chrome/#comment-575134811</link><description>&lt;p&gt;I tried it and it goes to the last used directory. Unfortunately I'm not aware of a setting that can change the default directory.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aquilax</dc:creator><pubDate>Tue, 03 Jul 2012 06:34:50 -0000</pubDate></item><item><title>Re: Disable KDE file dialog in Chrome</title><link>http://dev.horemag.net/2012/02/02/disable-kde-file-dialog-in-chrome/#comment-575133801</link><description>&lt;p&gt;Do you know how to get Chrome to go to the users home&lt;br&gt;directory rather than /home ? if you use the KDE dialogs&lt;/p&gt;&lt;p&gt;See &lt;a href="http://forum.kde.org/viewtopic.php?f=17&amp;amp;t=102892" rel="nofollow noopener" target="_blank" title="http://forum.kde.org/viewtopic.php?f=17&amp;amp;t=102892"&gt;http://forum.kde.org/viewto...&lt;/a&gt;&lt;br&gt;for why I asked this&lt;/p&gt;&lt;p&gt;Ta&lt;/p&gt;&lt;p&gt;Mal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Malcolm</dc:creator><pubDate>Tue, 03 Jul 2012 06:31:39 -0000</pubDate></item><item><title>Re: PHP Maze Generator class</title><link>http://dev.horemag.net/2008/03/01/php-maze-generation-class/#comment-546177730</link><description>&lt;p&gt;Thanks for sharing, I've used this class as a base for a user profile minigame here: &lt;a href="http://codegolf.stackexchange.com/questions/5933/create-a-user-profile-mini-game/6171#6171" rel="nofollow noopener" target="_blank" title="http://codegolf.stackexchange.com/questions/5933/create-a-user-profile-mini-game/6171#6171"&gt;http://codegolf.stackexchan...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">christophed</dc:creator><pubDate>Sun, 03 Jun 2012 05:20:50 -0000</pubDate></item><item><title>Re: chomp for bash</title><link>http://dev.horemag.net/2008/10/28/chomp-for-bash/#comment-467272466</link><description>&lt;p&gt;echo $variable | tr "\r" " "&lt;br&gt;worked for me &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rogerdpack</dc:creator><pubDate>Fri, 16 Mar 2012 17:06:13 -0000</pubDate></item><item><title>Re: Perlin noise generator in PHP</title><link>http://dev.horemag.net/2008/03/02/perlin-noise-generator-in-php/#comment-390971867</link><description>&lt;p&gt;Thank you for clarifying, working great here!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nikke1234</dc:creator><pubDate>Tue, 20 Dec 2011 17:07:53 -0000</pubDate></item><item><title>Re: Perlin noise generator in PHP</title><link>http://dev.horemag.net/2008/03/02/perlin-noise-generator-in-php/#comment-375320960</link><description>&lt;p&gt;Aquila. I fixed your generator! It had two problems that I addressed.&lt;/p&gt;&lt;p&gt;1. Negative values, when fractional, were backwards (but only fractions were backwards) - when you get the integer value at the very beginning of the noise, floor it - for both x and y. This way, -.75 doesn't have 0 as its 'integer' nearest it, it instead has -1, so it doesn't become a repeat of .75.&lt;/p&gt;&lt;p&gt;2. The problem some have been talking about running out of perlin is due to the noise() function - when the combination $x * $y * 57 gets over about an absolute value of 4360 or so (-4360 in the other direction) the noise stops. What I did is send $n back the other direction like this:&lt;/p&gt;&lt;p&gt;while(abs($n)&amp;gt;4360) $n = $n - (($n-(4360*($n/abs($n))))*2);&lt;/p&gt;&lt;p&gt;Right after $n is calculated in the noise function. This creates on a large scale a 'reflection'. Perlin himself said that repeating on a large scale is something that the Perlin Noise doesn't care much about, but I'd imagine if you'd want it to be super-solid, you would need 9 sets of random values; Whenever $n is greater than ~4360 (don't know the exact value) depending on your $x and $y values, you choose different sets of r1,r2,r3. This way, you can eliminate the repeat.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RiverC</dc:creator><pubDate>Tue, 29 Nov 2011 17:55:40 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-369196415</link><description>&lt;p&gt;I'm at work now and don't have much time. You have to implement the other actions. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aquilax</dc:creator><pubDate>Mon, 21 Nov 2011 02:08:33 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-368183133</link><description>&lt;p&gt;Hey Aquilax .. can you tell me in what hours are you available?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Fajger</dc:creator><pubDate>Sat, 19 Nov 2011 04:52:45 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367593073</link><description>&lt;p&gt;We need some actions, classes and controler i think to finish this blog.. do you have a time to help me how to do this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Fajger</dc:creator><pubDate>Fri, 18 Nov 2011 10:43:16 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367583733</link><description>&lt;p&gt;ReflectionException [ -1 ]: Class controller_user does not exist&lt;br&gt;ReflectionException [ 0 ]: Method action_2 does not exist&lt;br&gt;ReflectionException [ -1 ]: Class controller_submit does not exist&lt;br&gt;ReflectionException [ -1 ]: Class controller_latest does not exist&lt;/p&gt;&lt;p&gt;I see you didn't finish your tutorial in Kohana on yuor blog. What should we do first now? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Fajger</dc:creator><pubDate>Fri, 18 Nov 2011 10:30:24 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367582306</link><description>&lt;p&gt;It works&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Fajger</dc:creator><pubDate>Fri, 18 Nov 2011 10:28:00 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367549847</link><description>&lt;p&gt;No. It should be where your index.php file is: &lt;a href="http://code.google.com/p/kohana-tutorial/source/browse/#svn%2Ftrunk%2Fkohana%2Fknh%2Fassets" rel="nofollow noopener" target="_blank" title="http://code.google.com/p/kohana-tutorial/source/browse/#svn%2Ftrunk%2Fkohana%2Fknh%2Fassets"&gt;http://code.google.com/p/ko...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aquilax</dc:creator><pubDate>Fri, 18 Nov 2011 09:40:06 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367548619</link><description>&lt;p&gt;where shoul I add this folders and file of .css?&lt;br&gt;/assets/css/style.css&lt;/p&gt;&lt;p&gt;in views/ ??&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Fajger</dc:creator><pubDate>Fri, 18 Nov 2011 09:37:46 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367507609</link><description>&lt;p&gt;problem solved my friend... I just added new user with all permission and access .. I don't know why It didn't work on basic root without password :) thanks..&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Fajger</dc:creator><pubDate>Fri, 18 Nov 2011 09:00:50 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367484680</link><description>&lt;p&gt;Did you setup the database properly, I don't see the username in the error. Check this example config: &lt;a href="http://code.google.com/p/kohana-tutorial/source/browse/trunk/kohana/knh/application/config/database.php" rel="nofollow noopener" target="_blank" title="http://code.google.com/p/kohana-tutorial/source/browse/trunk/kohana/knh/application/config/database.php"&gt;http://code.google.com/p/ko...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aquilax</dc:creator><pubDate>Fri, 18 Nov 2011 08:36:07 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367481214</link><description>&lt;p&gt;There is another problem with: &lt;br&gt;Database_Exception [ 1044 ]: Access denied for user ''@'localhost' to database 'khn'&lt;/p&gt;&lt;p&gt;I am using WAMPP server &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Fajger</dc:creator><pubDate>Fri, 18 Nov 2011 08:31:54 -0000</pubDate></item><item><title>Re: Kohana Tutorial</title><link>http://dev.horemag.net/2010/10/16/kohana-tutorial/#comment-367478464</link><description>&lt;p&gt;ofc... I solved this cuz it shoyulb be Database_Espression.. the underline was needed&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Fajger</dc:creator><pubDate>Fri, 18 Nov 2011 08:29:28 -0000</pubDate></item></channel></rss>