<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>Borne Games Forum &#187; Tag: actionscript - Recent Topics</title>
		<link>http://www.bornegames.com/forum/tags/actionscript</link>
		<description>Borne Games Forum &#187; Tag: actionscript - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Feb 2012 16:15:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://www.bornegames.com/forum/rss/tags/actionscript/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>wingdemon on "AS2/AS3 Platformer Tutorial"</title>
			<link>http://www.bornegames.com/forum/topic/as2as3-platformer-tutorial#post-79653</link>
			<pubDate>Mon, 18 Jul 2011 11:36:14 +0000</pubDate>
			<dc:creator>wingdemon</dc:creator>
			<guid isPermaLink="false">79653@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p><strong>Okay, first lets start of by saying, i will give you the syntax and pseudo-code, you write it yourself, some parts where the code is complex i will post it, but for the most part your gonna have to do the work. this is more of a guide than a tutorial. so use it wisely.</strong></p>
<p>now each following post will have a lesson related to the posts title written at the top, understanding of a further post may not be possible unless you read all previous posts or have decent mastery of actionscript. there will be 2 parts to each post, one in as2, on in as3.</p>
<p><strong>LESSON ONE</strong><br />
<em>Moviclips</em></p>
<p>make 2 movieclips to start off,</p>
<p>Movieclip1 - a long rectangle<br />
name: &#39;mc_obj_ground&#39;<br />
instance: &#39;ground&#39;</p>
<p>Movieclip2 - a square<br />
name: &#39;mc_char_main&#39;<br />
instance: &#39;player&#39;</p>
<p>thats it.</p>
<p>the next post will have the next lesson.  <img src='http://www.bornegames.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> 
</p>]]></description>
					</item>
		<item>
			<title>Pencilmaster on "ActionScript 2.0 Codes"</title>
			<link>http://www.bornegames.com/forum/topic/actionscript-20-codes#post-79338</link>
			<pubDate>Mon, 11 Jul 2011 14:58:14 +0000</pubDate>
			<dc:creator>Pencilmaster</dc:creator>
			<guid isPermaLink="false">79338@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>Hey guys I am working on a game, but I need a few more codes. This are the codes I have:</p>
<p>CHARACTER CODE:</p>
<p>onClipEvent (load) {<br />
	speed = 5;<br />
	gravity = 0;<br />
	r = _height / 2;<br />
	jumping = false;<br />
	jumpheight = 10;<br />
}</p>
<p>onClipEvent (enterFrame) {<br />
	if (Key.isDown(Key.RIGHT))<br />
	{<br />
		_x += speed;<br />
	}</p>
<p>	if (Key.isDown(Key.LEFT))<br />
	{<br />
		_x -= speed;<br />
	}</p>
<p>	if (Key.isDown(Key.UP) &#38;&#38; !jumping)<br />
	{<br />
		gravity = -jumpheight;<br />
		jumping = true;<br />
	}</p>
<p>	if (!_root.ground.hitTest(_x, _y, true))<br />
	{<br />
		gravity++;<br />
		_y += gravity;<br />
	}<br />
	else<br />
	{<br />
		jumping = false;<br />
		gravity = 0;<br />
	}</p>
<p>	while (_root.ground.hitTest(_x, _y - 1 + r, true))<br />
	{<br />
		jumping = false;<br />
		_y--;<br />
	}<br />
}</p>
<p>ENEMY CODE:</p>
<p>onClipEvent (enterFrame) {<br />
	if (this.hitTest(_root.character))<br />
	{<br />
		_root.hp -= 5;<br />
	}<br />
}</p>
<p>HP BAR CODE:</p>
<p>onClipEvent(enterFrame){<br />
	this._xscale = root.hp;<br />
	if(_root.hp &#60; 0){<br />
		_root.hp = 0;<br />
		_root.gotoAndPlay(2)<br />
	}</p>
<p>}</p>
<p>FRAME CODE:</p>
<p>_root.hp = 100</p>
<p>I need the codes for the spring and for talking with other figures in the game.</p>
<p>Thnx!<br />
PS The main Hero of the game is now my Avatar!
</p>]]></description>
					</item>
		<item>
			<title>wingdemon on "The development of Wingys Crappy AS3 Engine!"</title>
			<link>http://www.bornegames.com/forum/topic/the-development-of-wingys-crappy-as3-engine#post-69692</link>
			<pubDate>Tue, 07 Sep 2010 13:55:06 +0000</pubDate>
			<dc:creator>wingdemon</dc:creator>
			<guid isPermaLink="false">69692@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>i thought we were spamming the Inkman thread enough at it is...well to be to the point, im learning AS3 cuz my computers messing with me and wont load AS2 documents, im tryin&#39; to create a game engine (whoop de doo) and decided to start with getting keys down (since AS3 dosnt recognize the keyDown function, we have to use advanced boolean crap and import classes and stuff!) heres my key detection code:</p>
<p><em>import flash.events.Event;<br />
import flash.events.KeyboardEvent;</p>
<p>var rightMove:Boolean = false;<br />
var leftMove:Boolean = false;</p>
<p>var xspeed:Number = 5;<br />
var yspeed:Number = 5;</p>
<p>stage.addEventListener(KeyboardEvent.KEY_DOWN, checkKeys);</p>
<p>function checkKeys(event:KeyboardEvent):void<br />
{<br />
	if (event.keyCode == 37)<br />
	{<br />
		trace(&#34;key LEFT is DOWN&#34 <img src='http://www.bornegames.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ;<br />
		leftMove = true;<br />
	}<br />
	if (event.keyCode == 39)<br />
	{<br />
		trace(&#34;key RIGHT is DOWN&#34 <img src='http://www.bornegames.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ;<br />
		rightMove = true;<br />
	}<br />
}</p>
<p>stage.addEventListener(KeyboardEvent.KEY_UP, keyUps);</p>
<p>function keyUps(event:KeyboardEvent):void<br />
{<br />
	if (event.keyCode == 37)<br />
	{<br />
		trace(&#34;key LEFT is UP&#34 <img src='http://www.bornegames.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ;<br />
		leftMove = false;<br />
	}<br />
	if (event.keyCode == 39)<br />
	{<br />
		trace(&#34;key RIGHT is UP&#34 <img src='http://www.bornegames.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ;<br />
		rightMove = false;<br />
	}<br />
}</p>
<p>stage.addEventListener(Event.ENTER_FRAME, Movement);</p>
<p>function Movement(event):void<br />
{<br />
	if (leftMove == true)<br />
	{<br />
		player.x -=  xspeed;<br />
	}<br />
	if (rightMove == true)<br />
	{<br />
		player.x +=  xspeed;<br />
	}<br />
}</em></p>
<p>VideoGuy has his own method, which is probably better, but this is the LAZY mans method! now im gonna start working on incorporating friction, then ill add ground gravity etc. anyone wanna use this as an AS3 thread, feel free to. oh, a AS3 is too hard!
</p>]]></description>
					</item>
		<item>
			<title>Thefox on "Camera"</title>
			<link>http://www.bornegames.com/forum/topic/camera#post-79</link>
			<pubDate>Wed, 09 Apr 2008 02:22:58 +0000</pubDate>
			<dc:creator>Thefox</dc:creator>
			<guid isPermaLink="false">79@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>Ok alot of people have told me to use the V-cam as a camera but i know that just makes flash lag horribly. So I'm wondering how to make a camera like the one in fancy pants or the citrus engine i played.
</p>]]></description>
					</item>
		<item>
			<title>MrActionScription on "Action Script Help"</title>
			<link>http://www.bornegames.com/forum/topic/action-script-help#post-55199</link>
			<pubDate>Wed, 24 Mar 2010 22:54:04 +0000</pubDate>
			<dc:creator>MrActionScription</dc:creator>
			<guid isPermaLink="false">55199@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>Hey,</p>
<p>is there an action i can use that basically says that when your on frame 2 u cant go back to frame 1? not like stop(); though.</p>
<p>ex.  Im creating a skating game, and when my skater goes on the rail, if you dont press the right arrow, you fall, but when the right arrow is pressed after i fall, he goes back to the grind animation. </p>
<p>Any Solution?</p>
<p>Help Would be much Appreciated.
</p>]]></description>
					</item>
		<item>
			<title>MrActionScription on "Walking on curved Slope Help!"</title>
			<link>http://www.bornegames.com/forum/topic/walking-on-curved-slope-help#post-53561</link>
			<pubDate>Mon, 15 Mar 2010 08:33:47 +0000</pubDate>
			<dc:creator>MrActionScription</dc:creator>
			<guid isPermaLink="false">53561@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>Hello!</p>
<p>Im working on a platform game and im having trouble with slope!</p>
<p>my player walks on the slope, but he goes way too fast and he dosnt stay on the ground when going down the slope ( he stays on while going up ). And he jiggles when he is not running.</p>
<p>How do i fix these things?</p>
<p>here is the fla. (flash 8, AS2)</p>
<p>File: <a href="http://spamtheweb.com/ul/upload/150310/16024_stickman_odo_5.fla" rel="nofollow">http://spamtheweb.com/ul/upload/150310/16024_stickman_odo_5.fla</a></p>
<p>here is what i have so far </p>
<p><a href="http://spamtheweb.com/ul/upload/150310/16108_stickman_odo_5.php" rel="nofollow">http://spamtheweb.com/ul/upload/150310/16108_stickman_odo_5.php</a>
</p>]]></description>
					</item>
		<item>
			<title>Nyubis on "My flash engine"</title>
			<link>http://www.bornegames.com/forum/topic/my-flash-engine#post-16777</link>
			<pubDate>Sun, 11 Jan 2009 16:32:39 +0000</pubDate>
			<dc:creator>Nyubis</dc:creator>
			<guid isPermaLink="false">16777@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>Finally, it is publicable. It's far from done yet, but I can finally show it to someone.</p>
<p> <a HREF="http://nyubis.deviantart.com/art/Engine-2-109140276">Here's the link</a>, so tell me what you guys think. And please read the description and tell me which vars fit for you.
</p>]]></description>
					</item>
		<item>
			<title>ArtisticPlatypus on "Starting from square one"</title>
			<link>http://www.bornegames.com/forum/topic/starting-from-square-one#post-7308</link>
			<pubDate>Wed, 02 Jul 2008 17:34:50 +0000</pubDate>
			<dc:creator>ArtisticPlatypus</dc:creator>
			<guid isPermaLink="false">7308@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>Well, i have a few ideas for flash games/movies, but absolutely no way of making them. All i can do is digital art, pixel art, hand drawn art and animations. I don't even have a proper flash program! I have something called 3D flash animator, but it's just a trial and the trial time has run out, so i can't export anything even if i managed to make something.</p>
<p>So, i need help to start. Which is the best (preferably free) program, how does the basics work, etc.<br />
Thanks in advance! ^_^"
</p>]]></description>
					</item>
		<item>
			<title>Niall on "Ragdoll: Solved : D"</title>
			<link>http://www.bornegames.com/forum/topic/ragdoll-solved-d#post-13268</link>
			<pubDate>Wed, 17 Sep 2008 11:39:07 +0000</pubDate>
			<dc:creator>Niall</dc:creator>
			<guid isPermaLink="false">13268@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>A while back steve posted a question on making a ragdoll for a bet, and I helped him solve it. But in all honesty, I wasn't very happy with the outcome. I wanted it to be like a ragdollsoft ragdoll or this: <a href="http://students.washington.edu/axchos/physics/ragdoll.html" rel="nofollow">http://students.washington.edu/axchos/physics/ragdoll.html</a></p>
<p>After many sleepless nights and playless days (awesome saying  <img src='http://www.bornegames.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) I finally got something to work, here:<br />
<a href="http://niallmeister.deviantart.com/art/Angular-Constraints-Ragdoll-D-98131989" rel="nofollow">http://niallmeister.deviantart.com/art/Angular-Constraints-Ragdoll-D-98131989</a></p>
<p>It's not of much importance to you guys, but I just wanted to show off a bit.<br />
Technically I cheated a bit and instead of using angular constraints I used invisible springs between joints, but it's still cool I think.</p>
<p>I MIGHT give out the source at some point but after the work I put into it I'm not sure.</p>
<p>So yeah, I'm happy  <img src='http://www.bornegames.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Discuss?
</p>]]></description>
					</item>
		<item>
			<title>VideoGuy on "Camera Triggers"</title>
			<link>http://www.bornegames.com/forum/topic/camera-triggers#post-13351</link>
			<pubDate>Sat, 20 Sep 2008 16:25:04 +0000</pubDate>
			<dc:creator>VideoGuy</dc:creator>
			<guid isPermaLink="false">13351@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>I've been working on my Flash engine for a while (as you probably know), and I've finally found something I can't find on Google.</p>
<p>I have one level (designed by AP) that is very large. What I'd like to do is split it up into for separate MCs, then load the correct MC for the area the character is in. I would think the best way to set that up would be to have some sort of trigger that tells the next MC to load, but I'm not sure how to set that up.</p>
<p>I don't use any virtual cameras in my game. Just simply moving the level around (the character stays in a constant position). Should I try to implement a real camera, or can I still use this method?</p>
<p>And I use AS1, so I most AS2 answers work, but AS3 doesn't
</p>]]></description>
					</item>
		<item>
			<title>SuitedCriminal on "&quot;Fall Down&quot;"</title>
			<link>http://www.bornegames.com/forum/topic/fall-down#post-967</link>
			<pubDate>Mon, 14 Apr 2008 02:42:19 +0000</pubDate>
			<dc:creator>SuitedCriminal</dc:creator>
			<guid isPermaLink="false">967@http://www.bornegames.com/forum/</guid>
			<description><![CDATA[<p>Hey again.</p>
<p>I need to make a small minigame....and i would like it to be almost an exact clone of the game "FallDown" (the flash game where the ball drops constantly, and you try to get it through a gap on the screen). this type of mini game was used in loads of other games, like grid16, and one of the four second games.</p>
<p>if anyone could help me make this game, i will put their name in the credits of my next game, and i will like them forever and ever and ever</p>
<p>thanks  <img src='http://www.bornegames.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> 
</p>]]></description>
					</item>

	</channel>
</rss>

