This site requires JavaScript, please enable it in your browser!
Greenfoot back
footsniffer74
footsniffer74 wrote ...

2021/6/25

instantiate new object at specific coordinates

footsniffer74 footsniffer74

2021/6/25

#
i have an object designed to kill the player, at the bottom of the screen. i want this object to rise up slowly so i thought i could just place another object on top of the old one. however i need to be able to get the coordinates of the last object, rise it up slightly, and create a new object there. any idea where to start?
danpost danpost

2021/6/25

#
So, is this object supposed to look like it is moving or growing?
footsniffer74 footsniffer74

2021/6/25

#
growing would be best, its meant to be like a rising sea level
danpost danpost

2021/6/25

#
footsniffer74 wrote...
growing would be best, its meant to be like a rising sea level
Best might be to use one actor that slowly moves up showing more of its image hiding below the world's edge. Using multiple actors will cause a streaking effect along the bottom edge of the images.
You need to login to post a reply.