# Newbie Needs Help, Please Help! :)

**URL:** https://forum.kirupa.com/t/newbie-needs-help-please-help/117174
**Category:** Uncategorized
**Created:** [July 25, 2004, 9:43am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174 "2004-07-25T09:43:07Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![lostn\_notknowin](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@lostn\_notknowin](https://forum.kirupa.com/u/lostn_notknowin)
#### Post date: [July 25, 2004, 9:43am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/1 "2004-07-25T09:43:07Z")

</div>

Hey KirupaForum 🙂  
Well, my friends and I have decided it was time to move on from just graphics and time to start making video games! We are working on are first project and we have come to a stuck! Please help!  
My question  
How do I make ![](http://v4.livegate.net/sao/QUES1.jpg) turn into ![](http://v4.livegate.net/sao/QUES2.jpg) when I click the RIGHT arrow key? (The second picture is of him walking, because of right now, he is gliding on two feet) (Both pictures enlarged by 40%)

Also, I’ve tried 200+ times to find a wall collision script that works, and I have not yet been able to find one that works with my game =  
 ![](http://v4.livegate.net/sao/JUSTAQUESTION.jpg)  
If someone possibly could give me the simplest and shortest wall collision script that would be more than appreciated.

Please download attachments if pictures do not show!

Any tries would be more than appreciated! ty 🙂 and those who do help (maximum of 5) will be listed as a “Special Thanks Programmer” (meaning you helped) this game! (sorry no money will be given, for all games will be freeware) (If you would like to be listed as as programmer when you have helped us, Please use your real name.) Just a first name will do (If your concerned about having your identity stolen). If you need the .FLA file in order to help us with our problems, don’t hesistate to tell us! Ty!

---

<div class="post-metadata">

### Author: ![lostn\_notknowin](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@lostn\_notknowin](https://forum.kirupa.com/u/lostn_notknowin)
#### Post date: [July 25, 2004, 10:10am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/2 "2004-07-25T10:10:25Z")

</div>

Here is a FLA, if someone could download it and edit it to where the character moves from the first position to the 2nd, and fixes it to where there is a wall collision that would be so appreciated and you will be acknowledged for your help!

[http://v4.livegate.net/sao/thefla.fla](http://v4.livegate.net/sao/thefla.fla)

---

<div class="post-metadata">

### Author: ![elPooter](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@elPooter](https://forum.kirupa.com/u/elPooter)
#### Post date: [July 25, 2004, 4:02pm UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/3 "2004-07-25T16:02:24Z")

</div>

Whoa… Your fla is a little off, so here’s something I put together for ya:

---

<div class="post-metadata">

### Author: ![lostn\_notknowin](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@lostn\_notknowin](https://forum.kirupa.com/u/lostn_notknowin)
#### Post date: [July 26, 2004, 12:41am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/4 "2004-07-26T00:41:04Z")

</div>

Thanks el pooter, if you want to be listed as a Special Thanks Programmer, please state your first name and an optional last name!

---

<div class="post-metadata">

### Author: ![elPooter](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@elPooter](https://forum.kirupa.com/u/elPooter)
#### Post date: [July 26, 2004, 12:46am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/5 "2004-07-26T00:46:53Z")

</div>

No credit needed. I just help out 🅱 .

---

<div class="post-metadata">

### Author: ![lostn\_notknowin](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@lostn\_notknowin](https://forum.kirupa.com/u/lostn_notknowin)
#### Post date: [July 26, 2004, 12:49am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/6 "2004-07-26T00:49:14Z")

</div>

Also, I saw the wall collision, but I wasn’t able to find the wall collision code, could you possibly copy and paste it?

---

<div class="post-metadata">

### Author: ![elPooter](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@elPooter](https://forum.kirupa.com/u/elPooter)
#### Post date: [July 26, 2004, 12:52am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/7 "2004-07-26T00:52:39Z")

</div>

sure, here it is:

```php

onClipEvent (enterFrame) {
    if (_root.limits.hitTest(getBounds(_root).xMax, _y, true)) {
        this._x -= 3;
        //this says that he is hitting the wall//
    }
    if (_root.limits.hitTest(getBounds(_root).xMin, _y, true)) {
        this._x += 3;
        //this says that he is hitting the wall//
     }
} 

```

---

<div class="post-metadata">

### Author: ![lostn\_notknowin](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@lostn\_notknowin](https://forum.kirupa.com/u/lostn_notknowin)
#### Post date: [July 26, 2004, 12:58am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/8 "2004-07-26T00:58:45Z")

</div>

ahh thanks man… its great to see people helpin one another… the way it should be… its hard to find those ppl nowadays… thx!

---

<div class="post-metadata">

### Author: ![elPooter](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@elPooter](https://forum.kirupa.com/u/elPooter)
#### Post date: [July 26, 2004, 1:24am UTC](https://forum.kirupa.com/t/newbie-needs-help-please-help/117174/9 "2004-07-26T01:24:12Z")

</div>

Your welcome! :hugegrin:
