Recent posts by antonio0003 on Kongregate

Flag Post

Topic: Game Programming / Idle Left and Right

Originally posted by MoonlaughMaster:
Originally posted by antonio0003:

Thanks, this worked! what does a boolean actually mean?

A boolean is simply a true or a false. 0 or 1. On or off. That sort of thing.

Oh, ok.

Now ive got a problem with the jumping, the jumping is just facing to the camera. But when you release the left or right button it just goes psamming the jumping sound and animation

 
Flag Post

Topic: Game Programming / Idle Left and Right

No wait, it does not.

I fixed it! I cant get the code thing to work eee

onClipEvent (load) { var ground:MovieClip = _root.ground; var grav:Number = 0; var gravity:Number = 1; var speed:Number = 10; var maxJump:Number = -20; var touchingGround:Boolean = false; var lookingLeft:Boolean = false; } onClipEvent (enterFrame) { _y += grav; grav += gravity; while (ground.hitTest(_x, _y, true)) { _y -= gravity; grav = 0; } if (ground.hitTest(_x, _y + 5, true)) { touchingGround = true; } else { touchingGround = false; } if (Key.isDown(Key.RIGHT)) { _x += speed; gotoAndStop("runr"); lookingLeft = false; } else if (Key.isDown(Key.LEFT)) { _x -= speed; gotoAndStop("runl"); lookingLeft = true; } else { gotoAndStop("idler"); if(lookingLeft){ gotoAndStop("idlel"); } } if (Key.isDown(Key.UP) && touchingGround) { grav = maxJump; } if (ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) { _x -= speed; } if (ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) { _x += speed; } if (ground.hitTest(_x, _y - (height), true)) { grav = 3; } }

 
Flag Post

Topic: Game Programming / Idle Left and Right

Thanks, this worked! what does a boolean actually mean?

 
Flag Post

Topic: Kongregate / Whats is Worst Rated COMMENT on kong.

I’ve seen a comment that was NaN, probably a bug or something hehe.

 
Flag Post

Topic: Collaborations / Beta Testers needed for Multiplayer Game

If you still need beta testers, please! Count me in:D

 
Flag Post

Topic: Game Programming / Is Flash a hard code program to learn?

Originally posted by Cartmane:

Wow everyone, thanks for all the help! I think i’m going to learn flash, then.

Dont post stupid games here, serious, i mean like first games, i did, i got bad comments hehe. Good luck, im busy with creating a game to, im 13 too lol :D

 
Flag Post

Topic: Game Programming / Idle Left and Right

I dont want to do as3 since i want to code simple buttons, and code on entitys, maybe i will learn it in the next game, but you got a fix for this; since i already coded it.

 
Flag Post

Topic: Game Programming / Idle Left and Right

Hello, im trying to make a idle pose for left and right wether if your gonna release the right or left arrows.

This is my script:
onClipEvent (load) {
var ground:MovieClip = _root.ground;
var grav:Number = 0;
var gravity:Number = 1;
var speed:Number = 10;
var maxJump:Number = -20;
var touchingGround:Boolean = false;
}
onClipEvent (enterFrame) {
y += grav;
grav += gravity;
while (ground.hitTest(
x, _y, true))
{
y -= gravity;
grav = 0;
}
if (ground.hitTest(
x, _y + 5, true))
{
touchingGround = true;
}
else
{
touchingGround = false;
}
if (Key.isDown(Key.RIGHT))
{
_x += speed;
gotoAndStop(“runr”);
}
else if (Key.isDown(Key.LEFT))
{
x -= speed;
gotoAndStop(“runl”);
}
else
{
gotoAndStop(“idlel”);
}
if (Key.isDown(Key.UP) && touchingGround)
{
grav = maxJump;
}
if (ground.hitTest(_x + (
width / 2), y – (height / 2), true))
{
x -= speed;
}
if (ground.hitTest(_x – (
width / 2), y – (height / 2), true))
{
x += speed;
}
if (ground.hitTest(
x, _y – (height), true))
{
grav = 3;
}
}

Can anyone add it into the code, and put //[INSTRUCTIONS] there. So i know what it all means, and what and where you added.

And i can learn that way, im not a really good programmer yet, but i want to learn.

 
Flag Post

Topic: General Gaming / Gamertags (XBL, Wii Codes, PSN, etc)

PS3 Username: Steppor123
STEAM ID: DigiDigi0003

 
Flag Post

Topic: General Gaming / What are your'e games or consoles

wad ar thay?

Mine are:
PS3 – Games:
1.Black Ops
2.Little Big Planet
3.GTA IV
4.Dragon Ball Z (Dont know what one lol)
5.Bad Company 2
6.Modern Warfare 2
7. Tom Clancy – New Vegas 2
8.Pool or something :D

PC – Games:
Garry’s Mod (Ragdoll death included + Ragdolls)
Counter Strike: Source (Ragdoll death included)
Fallout 3 (Ragdoll death included)
SumoDreams (FUN RAGDOLL GAME)

DSIDONT KNOW :D:D:D\
Ipod touch – Games:
City Story
Crush The Castle
DoodleJump
Finger Skate
COD Zombies
Cut the Rope
Doom
Flight Control
BassGuitar
Doodle Army
Drum Kit
Ghost Radar
I-Gun Ultimate
IChalky
Isoda
Ouch!
HottrixPhone
IgunPro
JellyCar 2
Pac-Man
Ibeer
IMunchies
Lie Detect
IRagdoll
Mazefinger+
Phineas&Ferb
PlunderLand
RealGuns
Talking Tom
Pocket Ants
PocketGuitar
Slide
Tetris
Pocket God
Real Racing
Stunt Stick Biker
TouchGrind
Pocket Piano
Tap Tap Revenge
We City
We Doodle
Angry BIrds
We Farm
Fatbooth
Wind OS
Black Shades
Mirror’s Edge
WR Quest

 
Flag Post

Topic: Kongregate / Suggestions

Oh and that you can delete games you dont like. I mean, only the developers.
WAIT!
Idea.
A Poll to delete the game if you press delete, after 7 days (week) that people vote YES or NO.
If example: 51 Yes and 50 No’s then its not deleted.
If (lol looks like im scripting now) 50 Yes and 51 No’s then its not deleted.

Good idea Greg?

edit Lol i could edit my other post EDIT hey, another IDEA, Change game names without messasing.
 
Flag Post

Topic: Kongregate / Suggestions

I want that you can make games bigger, then the chatroom is down the game or something. or that you can scroll to the right to watch whats going on.

 
Flag Post

Topic: Game Programming / AS2: Adding Achievements to my game

Or make the instance name complelvl10

 
Flag Post

Topic: Game Programming / AS2: Adding Achievements to my game

I will help you a little.

You said: (I renamed the movie clip to complelvl10)
what you have to do is at your movieclip. you have to press RIGHT click on your movieclip then properties.
Press Advanced… then Export for ActionScript. then at ID you can now write, change the name to complelvl10.
Now it should work.