A platform game

Need programming help? Want to post programming tips? Are you programming a game and want to show it off? That and more here.

Re: A platform game

Postby Buff_ » June 3rd, 2010, 6:16 am

What do you mean by "in a platform"?
User avatar
Buff_
A rather stellar gentleman

Error contacting Twitter
 
Posts: 2827
Joined: August 7th, 2009, 6:48 am
Location: Under the sink

The Start of Something Big

Thumbs Up given: 10 times
Thumbs Up received: 104 times

Re: A platform game

Postby Konradix » June 3rd, 2010, 6:25 am

What scripts should i put in platform movieclip to make character stop falling.
"Men cry not for themselves, but for their comrades"

Check out my newest level called:
Image
Be sure to leave a comment and a rating ;)
Fun and Games: show
Levels that I may make by 20XX
- Remake of Airship Armada
- Level using the Turbo FLUDD
- Level using the Flying Cap
- A level on the moon

- Syzygy Labs
- Maybe some sort of Metroidvania level
- Sneaking level
- A mystery


Random Stuff
Image
Image
Czasoprzestrzen/Spacetime... If only somebody knew this hidden gem...

Huh?
GENERATION 31: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
User avatar
Konradix
The Legacy

 
Posts: 689
Joined: May 12th, 2010, 8:14 am
Location: Studying the Grand History in the Ruins of the World

Runolympics 2015 Participation

Thumbs Up given: 85 times
Thumbs Up received: 39 times

Re: A platform game

Postby Buff_ » June 3rd, 2010, 6:49 am

You need to give the platform an instance name of "ground". If you look at the coding I'm using, it says


Code: Select all
while (_root.ground.hitTest(_x, _y, true)) {

      tjump = false;
      _y--;
      grav = 5;


the "_root.ground.hitTest" means that when the character his something that has the instance name of ground, it stops.

The rest of it is so that you can jump when you hit the ground.
User avatar
Buff_
A rather stellar gentleman

Error contacting Twitter
 
Posts: 2827
Joined: August 7th, 2009, 6:48 am
Location: Under the sink

The Start of Something Big

Thumbs Up given: 10 times
Thumbs Up received: 104 times

Re: A platform game

Postby Konradix » June 3rd, 2010, 11:22 am

I did everything you said an its not working! Mycomputer is not helping me as well! One click - laaaaags! Hes still falling through. I named movie clip "Character", named platform "ground" named everything u said and he is still falling. Im just annoyed because of PC. Im using normal Mario sprites from M&L: Superstar saga. What ive done wrong?
There is link wat i did: http://www.filefactory.com/file/b1fg0ab/n/Game.rar
Check it.
Last edited by Konradix on June 3rd, 2010, 12:01 pm, edited 2 times in total.
"Men cry not for themselves, but for their comrades"

Check out my newest level called:
Image
Be sure to leave a comment and a rating ;)
Fun and Games: show
Levels that I may make by 20XX
- Remake of Airship Armada
- Level using the Turbo FLUDD
- Level using the Flying Cap
- A level on the moon

- Syzygy Labs
- Maybe some sort of Metroidvania level
- Sneaking level
- A mystery


Random Stuff
Image
Image
Czasoprzestrzen/Spacetime... If only somebody knew this hidden gem...

Huh?
GENERATION 31: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
User avatar
Konradix
The Legacy

 
Posts: 689
Joined: May 12th, 2010, 8:14 am
Location: Studying the Grand History in the Ruins of the World

Runolympics 2015 Participation

Thumbs Up given: 85 times
Thumbs Up received: 39 times

Re: A platform game

Postby Buff_ » June 3rd, 2010, 11:34 am

I don't use that site, and not sure how to download it... seems untrustworthy. Can you use mediafire?
User avatar
Buff_
A rather stellar gentleman

Error contacting Twitter
 
Posts: 2827
Joined: August 7th, 2009, 6:48 am
Location: Under the sink

The Start of Something Big

Thumbs Up given: 10 times
Thumbs Up received: 104 times

Re: A platform game

Postby Konradix » June 3rd, 2010, 12:02 pm

I uploaded it on Sendspace: http://www.sendspace.com/file/ltemxl
there is a Download link on bottom of the page.
"Men cry not for themselves, but for their comrades"

Check out my newest level called:
Image
Be sure to leave a comment and a rating ;)
Fun and Games: show
Levels that I may make by 20XX
- Remake of Airship Armada
- Level using the Turbo FLUDD
- Level using the Flying Cap
- A level on the moon

- Syzygy Labs
- Maybe some sort of Metroidvania level
- Sneaking level
- A mystery


Random Stuff
Image
Image
Czasoprzestrzen/Spacetime... If only somebody knew this hidden gem...

Huh?
GENERATION 31: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
User avatar
Konradix
The Legacy

 
Posts: 689
Joined: May 12th, 2010, 8:14 am
Location: Studying the Grand History in the Ruins of the World

Runolympics 2015 Participation

Thumbs Up given: 85 times
Thumbs Up received: 39 times

Re: A platform game

Postby Buff_ » June 3rd, 2010, 12:03 pm

What's a .rar file?
User avatar
Buff_
A rather stellar gentleman

Error contacting Twitter
 
Posts: 2827
Joined: August 7th, 2009, 6:48 am
Location: Under the sink

The Start of Something Big

Thumbs Up given: 10 times
Thumbs Up received: 104 times

Re: A platform game

Postby Konradix » June 3rd, 2010, 12:07 pm

WinRAR. Just open it there will be folder with Game in it.
"Men cry not for themselves, but for their comrades"

Check out my newest level called:
Image
Be sure to leave a comment and a rating ;)
Fun and Games: show
Levels that I may make by 20XX
- Remake of Airship Armada
- Level using the Turbo FLUDD
- Level using the Flying Cap
- A level on the moon

- Syzygy Labs
- Maybe some sort of Metroidvania level
- Sneaking level
- A mystery


Random Stuff
Image
Image
Czasoprzestrzen/Spacetime... If only somebody knew this hidden gem...

Huh?
GENERATION 31: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
User avatar
Konradix
The Legacy

 
Posts: 689
Joined: May 12th, 2010, 8:14 am
Location: Studying the Grand History in the Ruins of the World

Runolympics 2015 Participation

Thumbs Up given: 85 times
Thumbs Up received: 39 times

Re: A platform game

Postby Buff_ » June 3rd, 2010, 12:09 pm

I can't open it, I don't have the program to do it. I'm using Mac, is there any way you can upload the direct flash document?
User avatar
Buff_
A rather stellar gentleman

Error contacting Twitter
 
Posts: 2827
Joined: August 7th, 2009, 6:48 am
Location: Under the sink

The Start of Something Big

Thumbs Up given: 10 times
Thumbs Up received: 104 times

Re: A platform game

Postby Konradix » June 3rd, 2010, 12:13 pm

"Men cry not for themselves, but for their comrades"

Check out my newest level called:
Image
Be sure to leave a comment and a rating ;)
Fun and Games: show
Levels that I may make by 20XX
- Remake of Airship Armada
- Level using the Turbo FLUDD
- Level using the Flying Cap
- A level on the moon

- Syzygy Labs
- Maybe some sort of Metroidvania level
- Sneaking level
- A mystery


Random Stuff
Image
Image
Czasoprzestrzen/Spacetime... If only somebody knew this hidden gem...

Huh?
GENERATION 31: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
User avatar
Konradix
The Legacy

 
Posts: 689
Joined: May 12th, 2010, 8:14 am
Location: Studying the Grand History in the Ruins of the World

Runolympics 2015 Participation

Thumbs Up given: 85 times
Thumbs Up received: 39 times

PreviousNext

Return to Programming