28.04.2019 Views

[JAVA][Beginning Java 8 Games Development]

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

■ index<br />

Background image (cont.)<br />

toBack() method, 415<br />

toFront() method, 415<br />

Bagel.java class, 223<br />

Bagel() constructor method, 224<br />

collide() method, 225<br />

update() method, 225<br />

Blank white screen, 187<br />

Blender, 15<br />

bulletGravity, 451<br />

Bullet types, 443<br />

Button object instantiation, 53<br />

• C, D<br />

Captive vs. streaming audio, 118<br />

CastingDirector.java class<br />

ArrayList (see ArrayList)<br />

CastingDirector() constructor method, 222<br />

CURRENT_CAST object, 216<br />

HashSet class, 208, 213<br />

HashSet Object<br />

addAll() method, 221<br />

addToRemovedActors() method, 220<br />

getRemovedActors() method, 219<br />

removeAll() method, 221<br />

List public interface, 210<br />

Set public interface, 212<br />

threading, 217<br />

cheeseGravity, 451<br />

Codecs, 114–115<br />

Collision detection, 343<br />

bounds object, 372<br />

getBoundsInLocal() method, 373<br />

getBoundsInParent() method, 373<br />

intersects(Bounds localBounds) method, 374<br />

CastingDirector object, 378<br />

checkCollision() method, 370, 385<br />

boolean collide() method, 372<br />

update() method, 370<br />

getBoundsInParent() method, 376<br />

getChildren().remove() method, 380<br />

InvinciBagel.java class, 365<br />

addCurrentCast() method, 369<br />

collide() method, 366<br />

iBagel Bagel() constructor method, 368<br />

parsing algorithm, 368<br />

private access control keyword, 369<br />

testing, 368<br />

invinciBagel.playiSound0() method, 376<br />

object.getSpriteFrame() method, 381<br />

PhysicsEditor (PhysEd), 363<br />

resetRemovedActors() method, 383–384<br />

scoringEngine() method, 389<br />

Shape class intersect() method, 374<br />

SVG Path data (see SVG Path data)<br />

SVGPath.intersect() method, 376<br />

using Group class, 386<br />

setBoundaries() method, 389<br />

setLayoutY() method, 388<br />

StackPane UI container, 387<br />

createActorCollisionData() method, 236<br />

createCastingDirection() method, 238<br />

createGameActors() method, 235<br />

createSceneEventHandling() method, 231<br />

createSplashScreenNodes() method, 128, 240<br />

addNodesToStackPane() method, 137<br />

configuration code, 136<br />

.getChildren().addAll(), 136<br />

<strong>Java</strong> code, 136<br />

createStartGameLoop() method, 239<br />

• E<br />

EditShare Lightworks, 14<br />

empty constructor method, 132<br />

Enemy() constructor method, 408, 429<br />

if() structure, 436<br />

pauseCounter variable, 435<br />

randomLocation variable, 431<br />

shootProjectile() method, 433<br />

extends keyword, 149<br />

• F<br />

Framecounter, 281–282<br />

FXML UI design<br />

CSS styles, 120<br />

definition, 121<br />

HelloWorld, 121<br />

Inspector panel, 120<br />

Scene Builder Kit API, 120<br />

• G<br />

Game design<br />

concepts<br />

collision detection, 104<br />

physics simulation, 104<br />

sprites, 104<br />

digital audio<br />

amplitude, 116<br />

analog audio, 117<br />

baseline file format, 118<br />

captive vs. streaming, 118<br />

codecs, 118<br />

digital audio, 117<br />

frequency, 116<br />

optimization, 119<br />

pulse wave, 116<br />

456<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!