121
TI-Nspire / Re: [Ndless] nKaruga
« on: October 17, 2014, 08:43:21 pm »
Hey ! This is not dead ! Holy shit !
As school has been violent on me lastly, I quite put this on hold. But now it's back, because that one project I really want to get done !
So what I did first is implementing an idea I had had since quite a long time, that is, a "drawing candidates" system.
So what is that ? Basically, it's a way of ensuring that every drawing is synced together and with the screen refreshes. So instead of directly drawing a sprite to the buffer, I create a drawing candidate with the X, Y coordinates of the sprite and the sprite itself (and a few more things, like angle of rotation, if rotation is needed at all etc). It acts kind of like a "drawing hook", meaning I can make special things happen each time a drawing is being performed. That's not the only advantage : since I use frameskipping, bringing all drawing in a single loop means I can do only one check to see if we actually have to draw anything or not, instead of one test per drawing !
I also started on the boss system, as I FIIIINALLY figured out how to do it. It's been hard, and it'll be even harder to code but brace yourselves for impact when it's done
So yeah, I don't have anything new to show, but my future life has been made a lot easier today (drawing candidates will be extremely useful, if not needed, in levels 2, 3 and 4).
But but wait what am I talking about ! I also set up this nice procedural explosion generation engine !
Can someone with a color Nspire tell me what the speed is like ? http://www.mirari.fr/eTV6
As school has been violent on me lastly, I quite put this on hold. But now it's back, because that one project I really want to get done !
So what I did first is implementing an idea I had had since quite a long time, that is, a "drawing candidates" system.
So what is that ? Basically, it's a way of ensuring that every drawing is synced together and with the screen refreshes. So instead of directly drawing a sprite to the buffer, I create a drawing candidate with the X, Y coordinates of the sprite and the sprite itself (and a few more things, like angle of rotation, if rotation is needed at all etc). It acts kind of like a "drawing hook", meaning I can make special things happen each time a drawing is being performed. That's not the only advantage : since I use frameskipping, bringing all drawing in a single loop means I can do only one check to see if we actually have to draw anything or not, instead of one test per drawing !
I also started on the boss system, as I FIIIINALLY figured out how to do it. It's been hard, and it'll be even harder to code but brace yourselves for impact when it's done
So yeah, I don't have anything new to show, but my future life has been made a lot easier today (drawing candidates will be extremely useful, if not needed, in levels 2, 3 and 4).
But but wait what am I talking about ! I also set up this nice procedural explosion generation engine !
Can someone with a color Nspire tell me what the speed is like ? http://www.mirari.fr/eTV6