When I say the physics are all off, I meant that this isn't using proper equations, just a kind of make-believe method of calculations I put together for simplicity
A new version of this scenario was uploaded on Sat Mar 10 22:43:03 UTC 2012
Forgot to include source code :L
A new version of this scenario was uploaded on Sat Mar 10 22:46:17 UTC 2012
Minor change
@Morran I actually participated in that thread, but it was when I was just starting so I didn't do much. Anyway if this was to be a true clone I'd have to add in all the levels, boxes, collisions etcera that I don't have the time for - This scenario took almost no time to make
@danpost actually its the first time I've used this particular method for scrolling (generally I have a different approach) - I'd recommend this method for ease of use.
This is what I'm talking about btw:
while(((Actor)getObjects(Bird.class).get(0)).getX() > getWidth() - 65)
for(Actor a : (List<Actor>)getObjects(null))
a.setLocation(a.getX()-1, a.getY());
^That (though you need to either always have an instance of Bird.class in the world or enclose it in an if(!getObjects(Bird.class).isEmpty()) check
However when it comes to setLocation(...) I'd have to write out all that again in the x parameter. Instead I stored it as a variable so that i can access it twice while only calculating it once.
I haven't been no - I didn't realize anyone had noticed it.
When I get home from college tomorrow I'll implement zooming (I'm 95% sure I know exactly how to do it). Well, once I've done an english essay anyway
Its nice to know that it has actually got seen (well maybe not much, but at least _someone_'s seen it) :p
Ah yeah - I was going to attempt an equation parser, however I couldn't see myself getting one fully functioning, and less than fully functioning I saw as pointless.
Good luck though :) I hope to see it uploaded in the not-too-distant future!
A new version of this scenario was uploaded on Thu Mar 15 23:44:36 UTC 2012
Height indicator when bird goes off the top of the world
A new version of this scenario was uploaded on Thu Mar 15 23:50:49 UTC 2012
Clearer height indicator.
2012/3/10
2012/3/11
2012/3/11
2012/3/11
2012/3/12
2012/3/12
2012/3/12
2012/3/12
2012/3/12
2012/3/13
2012/3/13
2012/3/13
2012/3/13
2012/3/13
2012/3/13
2012/3/13
2012/3/13
2012/3/13
2012/3/13
2012/3/13