i think the way it works is
getObjectsAtOffset
or getOneObjectAtOffset, not sure which one
then the parameters would be (x,y,Class)
xy have to be different depending on if you're pushing up down left or right. class would have to be Obstacle.class or Tree.class or whatever you're using
tip: if you want multiple types of obstacles, make them (ie tree, rock, river) subclasses of the superclass obstacle. maybe. i dunno
i couldnt get it to do exactly what i wanted. but this was close.
essentially i wanted it to look like you're looking up at the sky, and it's raining, and you're sending a bunch of balloons up into the air, which pop and spray colors.
thanks a lot tho, i had fun making it and i learned a lot (a lot of things would not work at all, and then some things did...it was interesting)
i had fun. very nice graphics, flow, and controls.
one way to fix the eagle's spinning at the world's edge is to add a "move(-5)" inside the if loop, but before the turn method. that way, it'll move the eagle away from the edge before turning.
awesome sim. this thing ran forever on my pc.
one thing i noticed is that the RPG does not have it's own sound effect. perhaps you could include an rpg_fire and rpg_hit sound effect?
2012/4/5
Parking Escape
2012/4/2
Hanoi
2012/3/28
SØL
2012/3/27
Odysseus
2012/3/26
The Maze Factory
2012/3/23
mze
2012/3/23
CS12GP Piano
2012/3/22
Gerbil Munch
2012/3/22
Marines vs Nazis