07:55 Jul 18, 2015 |
English to French translations [PRO] Tech/Engineering - Computers: Software | |||||||
---|---|---|---|---|---|---|---|
|
| ||||||
| Selected response from: Thomas Rebotier Local time: 19:17 | ||||||
Grading comment
|
Summary of answers provided | ||||
---|---|---|---|---|
4 +1 | l'objet bills |
|
Summary of reference entries provided | |||
---|---|---|---|
SKSpriteNodes |
|
Discussion entries: 1 | |
---|---|
bills-object (zork language) l'objet bills Explanation: C'est un nom d'objet, comme un nom de variable si vous voulez. Surtout à ne pas traduire sinon le lecteur ne comprendrait plus rien! (Ou alors, vous allez traduire aussi dans le code source!) |
| |
Grading comment
| ||
Login to enter a peer comment (or grade) |
19 mins |
Reference: SKSpriteNodes Reference information: for (int i=0; i < howManyDollars; i++) { SKSpriteNode *bills = [SKSpriteNode spriteNodeWithImageNamed:@"bills.png"]; int startX = arc4random() % (int)self.size.width/3; int startY = self.size.height; bills.position = CGPointMake(startX, startY); bills.physicsBody = [SKPhysicsBody bodyWithRectangleOfSize:CGSizeMake(bills.size.width/2, bills.size.height/2)]; bills.physicsBody.affectedByGravity = YES; [self addChild:bills]; SKAction *wait1 = [SKAction waitForDuration:1.5]; SKAction *wait2 = [SKAction waitForDuration:2]; SKAction *removeDynamics = [SKAction runBlock:^(void) { // this is the spot I am confused at. //bills.physicsBody = nil; }]; SKAction *fade = [SKAction fadeOutWithDuration:15]; SKAction *remove = [SKAction removeFromParent]; [bills runAction:[SKAction sequence:@[wait1, removeDynamics, wait2, fade, remove]]]; (http://stackoverflow.com/questions/21503454/how-to-reference... |
| |
Login to enter a peer comment (or grade) |
Login or register (free and only takes a few minutes) to participate in this question.
You will also have access to many other tools and opportunities designed for those who have language-related jobs (or are passionate about them). Participation is free and the site has a strict confidentiality policy.