<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Video of what I&#39;ve been doing</title>
		<link>http://www.allegro.cc/forums/view/608418</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 30 Sep 2011 13:18:01 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><div class="media-player youtube"><div style="margin: 1em 2em; background: url(/images/movie.png); width: 180px; height: 100px; text-align: center;"><a href="http://www.allegro.cc//www.youtube.com/watch?v=UDt7opJdc9s" target="_blank"><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/object/0/7/07a947d63ca257ccb6e1dc08f9ebf9dd.jpg" border="0" alt="video" title="Click to play video" /></a></div></div></p><p>Hi guys</p><p>Thought I&#39;d share this with you. I really hope this isn&#39;t the wrong forum to post it in... But either way it&#39;s a sort of 2.5D &quot;engine&quot; that I use Allegro for.<br />Some day... some day. It will be finished <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Feel free to comment or question
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SpectreNectar)</author>
		<pubDate>Fri, 23 Sep 2011 01:45:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Embed it!<br />(<tt>[<a href="http://www.youtube.com/watch?v=UDt7opJdc9s">http://www.youtube.com/watch?v=UDt7opJdc9s</a>]</tt>)</p><p>Looks nice. Any plans on what you&#39;re going to use it for? <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (gnolam)</author>
		<pubDate>Fri, 23 Sep 2011 01:49:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What is it exactly?  The red thing reminds me of the terrain editor in Transport Tycoon, and I guess the tiny little moving thing is testing collision detection and the (in)ability to climb steep slopes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Fri, 23 Sep 2011 01:51:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thank you!</p><p>I intend to make a game of it. A sort of 2.5D sci-fi/horror game with platform and top-down-shooter elements. I&#39;m working on a story too but I&#39;m not much of a story writer, heh, but I know I guy who is so I manage.</p><p>Right now it is sort of a terrain editor yes, only the focus is on getting the walls and floors to look right so the green goblin guy (a stand in actually) can move around on everything.</p><p>I have a ton of plans for it like transparent tiles and maybe better lighting (etc.) but right now that&#39;s all it is <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Everything is subject to change heh...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SpectreNectar)</author>
		<pubDate>Fri, 23 Sep 2011 02:00:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Brilliant.</p><p>What about shadows - could make the scenes easy for the eye to understand.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Fri, 23 Sep 2011 17:53:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yhea it looks cool... What resolution are you using? it seems very small.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AMCerasoli)</author>
		<pubDate>Fri, 23 Sep 2011 18:29:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>marble madness
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Fri, 23 Sep 2011 19:14:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
Shadows huh? <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> Well I haven&#39;t really a clue how to do those yet. At least not the &quot;right&quot; way. I&#39;ll look into it one way or the other. Also I might add a frame at edges. Oh, and I&#39;m thinking of lighting the cells that are higher in the &quot;grid&quot; like so:<br />(see attachment)</p><p>(only problem is transparency of textures (which I may or may not need))</p><p>Resolution is 640x360 (16:9) which is working out great so far. At least on my own monitor heh. For future videos I&#39;ll try and record in full screen and see if that looks better.</p><p>Hehe Neil Walker, you are absolute right there are many similarities. Especially at this stage but that&#39;s subject to change quite a lot too.</p><p>Thanks for your comments
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SpectreNectar)</author>
		<pubDate>Fri, 23 Sep 2011 20:00:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/608418/931970#target">SpectreNectar</a> said:</div><div class="quote"><p> For future videos I&#39;ll try and record in full screen and see if that looks better.</p></div></div><p>If you record a 640x360 windows in fullscreen that is not going to change anything... actually you will get something like this:
</p><pre>
********************************** &lt; -- Monitor resolution
*            * &lt; -- Game resolu..* 
* your game  *                   *
*            *                   *
*            *                   *
*            *                   *
**************                   *
*   and all the rest in black    *
*                                *
*                                *
**********************************
</pre><p>

640x360 isn&#39;t not compatible with my 1920x1080 monitor. I think the best &quot;fixed resolutions&quot; are 800x600 and 1024x768 &lt; -- but this one is not good for mini laptops, I don&#39;t know if Windows 7 is automatically changing the aspect ratio of my game or if it&#39;s the graphics card driver, but now I can put my 800x600 game in fullscreen and somethig adds the black bar at left and right mayically <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />, which is great... less work... <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><p>Now if your game isn&#39;t intended to run in fullscreen you have no problem... Otherwise think about it... <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />. </p><p>Keep going!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AMCerasoli)</author>
		<pubDate>Sat, 24 Sep 2011 02:11:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>

doesn&#39;t allegro just stretch the buffer to fit the screen?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Sat, 24 Sep 2011 02:43:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes... But since I installed Windows 7 in my new machine I&#39;m getting free aspect ratio adjustation... no code... Aaaaallll for free... Obviously I&#39;m not counting with that to happen in others PC besides mine. <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AMCerasoli)</author>
		<pubDate>Sat, 24 Sep 2011 03:47:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Let this be the answer to your question:</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">  1</span><span class="k1">void</span> Application::fullscreen<span class="k2">(</span><span class="k1">bool</span> is_fullscreen<span class="k2">)</span> <span class="k2">{</span>
<span class="number">  2</span>
<span class="number">  3</span>    <a href="http://www.allegro.cc/manual/al_toggle_display_flag"><span class="a">al_toggle_display_flag</span></a><span class="k2">(</span>disp, ALLEGRO_FULLSCREEN_WINDOW, is_fullscreen<span class="k2">)</span><span class="k2">;</span>
<span class="number">  4</span>
<span class="number">  5</span>    scale_factor <span class="k3">=</span> <span class="n">1</span><span class="k2">;</span>
<span class="number">  6</span>    <span class="k1">while</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/al_get_display_width"><span class="a">al_get_display_width</span></a><span class="k2">(</span>disp<span class="k2">)</span><span class="k3">&gt;</span><span class="k3">=</span>display_width<span class="k3">*</span><span class="k2">(</span>scale_factor<span class="k3">+</span><span class="n">1</span><span class="k2">)</span>
<span class="number">  7</span>    <span class="k3">&amp;</span><span class="k3">&amp;</span> <a href="http://www.allegro.cc/manual/al_get_display_height"><span class="a">al_get_display_height</span></a><span class="k2">(</span>disp<span class="k2">)</span><span class="k3">&gt;</span><span class="k3">=</span>display_height<span class="k3">*</span><span class="k2">(</span>scale_factor<span class="k3">+</span><span class="n">1</span><span class="k2">)</span><span class="k2">)</span> <span class="k2">{</span>
<span class="number">  8</span>
<span class="number">  9</span>        scale_factor <span class="k3">+</span><span class="k3">=</span> <span class="n">1</span><span class="k2">;</span>
<span class="number"> 10</span>
<span class="number"> 11</span>    <span class="k2">}</span>
<span class="number"> 12</span>    scale_xpos <span class="k3">=</span> <span class="k2">(</span><a href="http://www.allegro.cc/manual/al_get_display_width"><span class="a">al_get_display_width</span></a><span class="k2">(</span>disp<span class="k2">)</span><span class="k3">-</span>display_width<span class="k3">*</span>scale_factor<span class="k2">)</span><span class="k3">/</span><span class="k2">(</span>scale_factor<span class="k3">*</span><span class="n">2</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 13</span>    scale_ypos <span class="k3">=</span> <span class="k2">(</span><a href="http://www.allegro.cc/manual/al_get_display_height"><span class="a">al_get_display_height</span></a><span class="k2">(</span>disp<span class="k2">)</span><span class="k3">-</span>display_height<span class="k3">*</span>scale_factor<span class="k2">)</span><span class="k3">/</span><span class="k2">(</span>scale_factor<span class="k3">*</span><span class="n">2</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 14</span>
<span class="number"> 15</span>    <span class="c">// Apply transformation scale to screen bitmap</span>
<span class="number"> 16</span>    <a href="http://www.allegro.cc/manual/al_identity_transform"><span class="a">al_identity_transform</span></a><span class="k2">(</span><span class="k3">&amp;</span>scale<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 17</span>    <a href="http://www.allegro.cc/manual/al_scale_transform"><span class="a">al_scale_transform</span></a><span class="k2">(</span><span class="k3">&amp;</span>scale, scale_factor, scale_factor<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 18</span>    <a href="http://www.allegro.cc/manual/al_use_transform"><span class="a">al_use_transform</span></a><span class="k2">(</span><span class="k3">&amp;</span>scale<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 19</span>
<span class="number"> 20</span><span class="k2">}</span>
<span class="number"> 21</span>
<span class="number"> 22</span>...
<span class="number"> 23</span>
<span class="number"> 24</span>    <span class="k1">if</span><span class="k2">(</span>config-&gt;get_fullscreen<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span> <span class="k2">{</span>
<span class="number"> 25</span>
<span class="number"> 26</span>        <span class="k1">if</span><span class="k2">(</span>trans.isTransfering<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span> <a href="http://www.allegro.cc/manual/al_draw_bitmap"><span class="a">al_draw_bitmap</span></a><span class="k2">(</span>trans.get<span class="k2">(</span><span class="k2">)</span>, scale_xpos, scale_ypos, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 27</span>        <span class="k1">else</span> <a href="http://www.allegro.cc/manual/al_draw_bitmap"><span class="a">al_draw_bitmap</span></a><span class="k2">(</span>bmp, scale_xpos, scale_ypos, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 28</span>
<span class="number"> 29</span>
<span class="number"> 30</span>
<span class="number"> 31</span>    <span class="k2">}</span> <span class="k1">else</span> <span class="k2">{</span>
<span class="number"> 32</span>        <span class="k1">if</span><span class="k2">(</span>trans.isTransfering<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span> <a href="http://www.allegro.cc/manual/al_draw_bitmap"><span class="a">al_draw_bitmap</span></a><span class="k2">(</span>trans.get<span class="k2">(</span><span class="k2">)</span>, <span class="n">0</span>,<span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 33</span>        <span class="k1">else</span> <a href="http://www.allegro.cc/manual/al_draw_bitmap"><span class="a">al_draw_bitmap</span></a><span class="k2">(</span>bmp, <span class="n">0</span>,<span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 34</span>    <span class="k2">}</span>
</div></div><p>

<img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>Only thing is that all those 16:10 monitors out there will have unused space.<br />1920x1080 happens to be my resolution as well. So it would divide the 1920 with three and fill the whole screen. Same with the 1080.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SpectreNectar)</author>
		<pubDate>Sat, 24 Sep 2011 03:52:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The editing mode already looks very nice! Congratulations!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Michael Faerber)</author>
		<pubDate>Thu, 29 Sep 2011 13:19:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It makes me think of <a href="http://en.wikipedia.org/wiki/Spindizzy_Worlds">Spindizzy Worlds</a>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Karadoc ~~)</author>
		<pubDate>Fri, 30 Sep 2011 13:18:01 +0000</pubDate>
	</item>
</rss>
