Disappointment and obstacles

Chat about anything not covered in these forums, but keep it civil!

Post » Wed Jan 15, 2014 10:25 pm

I figured out the "find the objects in the range" I talked about.
Easy enough, object X Is on Screen... yeah. :)

I effed up with the saves, so I lost the changes I did with the sprites -> tilebackgrounds, so I am redoing it now. No biggie, I know what to do.
B
58
S
18
G
13
Posts: 447
Reputation: 10,740

Post » Wed Jan 15, 2014 11:12 pm

Sorry, old ctrl+v, whoops. Editing now, typing from memory.

I am spamming my thread, I know.

I have optimized the game as you suggested (I think I got em all, or at least mostly) and some my own optimizations.

I decided to give it in a try in cocoonjs, not really excepting anything. But now it runs at 45-60 fps, before 5.

I notice, the more blocks one level has, lower fps. As the blocks disappears, and less collision checks to do, higher fps. naturally.

Fifth level is ice block level and that's the slowest level, only 25-30 fps. And I spotted a couple of bugs there too. Other than those the game runs as it should.

I feel more optimistic now. Thanks.helena2014-01-15 23:15:03
B
58
S
18
G
13
Posts: 447
Reputation: 10,740

Post » Wed Jan 15, 2014 11:49 pm

Grats.
Image ImageImage
B
171
S
50
G
180
Posts: 8,396
Reputation: 113,986

Post » Thu Jan 16, 2014 12:24 am

@helena Good to hear that the optimizations have indeed helped. I do have couple more points for the future (if you'll need)

When making collision checks, use square bounding boxes when it's feasible .. I noticed that many Sprites (Paddle and Ice blocks at least, also some other) use polygons.. Those complex polygons can eat (relatively) much CPU power but won't in real world affect the game play much.

Expecially check, if you could get some speedup by simplifying the collision polygon for the ball, since it's making most of the near.miss collisions during came.


As a visual note.. At least on previous version the paddle was light pink. It's nice color, but can cause quite a lot a eye stress for people trying to play your game. Especially when the background is light green. Also, please take into account the fact that quite many people are (partially) color-blind and details like that can make game unplayable. Perhaps you could add some extra color/contrast to the paddle so it would be easier to see.
Need help? Upload .capx file with your question.
B
16
S
4
G
2
Posts: 233
Reputation: 2,560

Post » Thu Jan 16, 2014 3:45 am

@Joannak, thank you, yet more suggestions!

Good thinking about the polygons. I am going to look at this, I think polygons is unnecessary in many cases.

And about the graphics. Oh, do not worry. I agree it is not ideal and I think it is straining eyes too, but now basically everything is placeholder sprites with exception for the blocks and their stuff, and the tube. I am also gonna replace the ball, I am not happy with it because of same reason you mentioned.

Regarding the tube. It is fuzzy now when I replaced it with tilebackground instead for sprite. Have to look it up.

Joannak, btw, have to give you compliment, you seem to just have been here basically as long as me but you already are like a guru. Wow, color me impressed. :)
B
58
S
18
G
13
Posts: 447
Reputation: 10,740

Previous

Return to Open Topic

Who is online

Users browsing this forum: No registered users and 1 guest