Hi guys, I have a few questions that I'm trying to do but I'm stumped.
I used Scrolling SuperWorld to get my side scrolling and I can't seem to add an object that doesn't scroll (exempted from the side scrolling aswell as having so collision) . I'm almost having trouble trying to get objects to spawn when the player (actor class) passes a certain point ie. x: 3000, it spawns another actor object (a title). The code I have for this is:
public void act(){
spawnTitle();
}
public void spawnTitle(){
if (getX() > 300){
getWorld().addObject(igControls, 500, 500);
}
}
Thank you!

