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

Comments for Test game(collision and scrolling world)

Return to Test game(collision and scrolling world)

ArtyoumArtyoum

2013/11/15

I don't think the scrolling would cause too much lag though, I mean, there is only going to be a set number of pieces in total.
RUMMAKERRUMMAKER

2013/11/15

yeah, the thing causing most lag is my super inefficient unit collision thing but theres really no way around that :/
A new version of this scenario was uploaded on Fri Nov 15 03:13:32 UTC 2013 *changed unit collision a bit(absolutely no improvement on lag) *fixed some minor buggs with scrolling world(got rid of some magic numbers along the way) *changed background and some art
ArtyoumArtyoum

2013/11/15

Yeah, well, you should add the song perfect day by lou reed as a soundtrack ^_^, lol.
A new version of this scenario was uploaded on Fri Nov 15 23:29:23 UTC 2013 *heiarchy makes more sense now
RUMMAKERRUMMAKER

2013/11/15

i fail to understand how that song will fit the game
MatheMagicianMatheMagician

2013/11/16

How are you checking the collision? You could post a new discussion with. It would be worth a shot. Anyway, I really like the scenario, and it is not very laggy for me.
A new version of this scenario was uploaded on Sat Nov 16 02:46:09 UTC 2013 * at the cost of movement percision, tanks no longer spin. (bug fix sorta?) *added rocks to teh game(can push other but cant be pushed)
RUMMAKERRUMMAKER

2013/11/16

Thanks for liking the scenario. But i feel to solve the lag caused from the collision will require rewriting the entire collision code Dx. The way it works now is through a loop, more it loops the more smooth the collision(its currently set to loop 8 times but every loop there is a nested loop which checks all the Moveable objects (somewhere around 150 objects at a time) ... so yeah).
ArtyoumArtyoum

2013/11/16

The irony is what drives it. Also, the lag can be due to pc performance.
RUMMAKERRUMMAKER

2013/11/16

The irony is what drives it???
A new version of this scenario was uploaded on Sat Nov 16 23:52:11 UTC 2013 * bugs no longer pick a destination that is outside of the world's max boundiery.(bug fix)
A new version of this scenario was uploaded on Sun Nov 17 04:24:06 UTC 2013 *changed art around *cleaned up code(got rid of a bunch of instanceof code)
A new version of this scenario was uploaded on Thu Nov 28 00:28:54 UTC 2013 *tanks leave trail behind *double click to select all units of the same type
KartoffelbrotKartoffelbrot

2013/12/5

Very nice graphics!
DieKatze117DieKatze117

2013/12/6

wow so wow, you just made my day now make a menu and a story and you got yourself a game. i love my rts
MatheMagicianMatheMagician

2013/12/31

I won! (i.e. I killed all the bugs)
RUMMAKERRUMMAKER

2014/1/1

:P congrats
UpupzealotUpupzealot

2014/1/15

It's SOOOOOOOOOOOOOOOOOOOOOOOOOO AWESOME! How much I hope I can hit&run with those sute marins.