🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Untitled

posted in DruinkJournal
Published July 10, 2006
Advertisement
I fixed the problem with my sprites - I forgot to change the texture coordinates. It was using (0,0) to (1,1) on a 4096x4096 texture. I'm surprised it showed up as it did...

Anyway, the good news is that I fixed it. The bad news is that it sucks at performance [smile]
Without much modification, I was getting 11 FPS (The original method got ~90FPS). After getting the sprites for the tiles added directly into the sprite manager instead of into the scene graph and then added to the sprite manager frok there at render time, I got to 40 FPS. After screwing around for a while and letting the sprites persist (Basically making another scene graph), I got 60 FPS. Still a fair bit slower than the 90FPS I was getting before I started [sad]

So, I'll go back to my original method for now I think. I'm also going to assume all sprites have alpha with them, that'll tidy the code up a fair bit, and most of the sprites will be using alpha anyway (The only place they may not be is in the background maps, and that's a special case here anyway).

My intentions for my ~2.5 hours of free time tomorrow are to bin the sprite-based map, and maybe tinker with audio a bit. That's probably best left till later though. I'll probably do some actual "game" code too, like the login screen, etc etc.
Some nice UI code wouldn't go amiss either, since there'll be pleanty of UI in the game. Feh, I'm sure I'll find something constructive to do.

I didn't get much done today. I got home from work, then had to go straight back out again to see Pirates Of The Caribbean 2. Which is awesome, although it really begins to drag on near the end, particularly when the cinema is like a shitting sauna. So my day has consisted of: Go to work, go to the cinema and then go to bed, with a brief 5 minute journal entry in there. Feh.

Ok, I'm off. I have to be up in under 7 hours >_<
Previous Entry Untitled
Next Entry Untitled
0 likes 3 comments

Comments

ukdm
Out of interest is that 2.5hrs of free time today from your time on the train and lunch times or do you have a work thing where one day a week you get an afternoon to do your own stuff?
July 11, 2006 06:41 AM
Evil Steve
Quote: Original post by ukdm
Out of interest is that 2.5hrs of free time today from your time on the train and lunch times or do you have a work thing where one day a week you get an afternoon to do your own stuff?
Nup, that's from the train and lunch break. About 45 mins each way on the train, and an hour for lunch.
July 11, 2006 08:03 AM
ukdm
Ahh, shame more companies don't do that :-) thanks for the reply.
July 11, 2006 04:34 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement