I'll try to keep it up-to-date, but I bet I will forget to update
Basically, I will use this as a log and day review
Who knows, maybe a new, fellow game programmer will have fun reading how I learned it?
20 October - DirectX 10
I've been working on changeing from DirectX 9 to 10, and I've done some more work on the projectile engine.
I've also started on writing the GUI engine.
Todo:
Comment my code! (I wish I had done that on the projectile engine!)
Add the first part of the enemy engine.
Add a collision detector.
Write in-game GUI system.
13 October - Projectile engine
Now that I've gotten a hang of virtual functions and base classes, I've written the
first part of what will become the shooting engine in the game. It uses a sprite sheet
with 25 50x50 sprites on it. The projectile handler of the players projectiles can at the moment
handle 128 individual bullets. The projectiles are based of the OBJECT class, that is the general
purpose class for objects that I have. The bullets does not use everything in this class, including
an individual sprite holder, so it's a lot of wasted memory space. It's based on the OBJECT class because
of the setActive and getActive functions, which is ridiculous, as that's only 5 lines of code.
The projectile handler is also based on this general purpose class, however, it uses the Sprite
in the OBJECT, so for the time being, not much space is wasted, and I will leave it as it is,
until it gets too complicated.
My goal with this engine is to have all attacks have their own projectile handler that supports an unlimited
amount of bullets and be able to control each individual bullet, without being a resource hog.
I also have a 48-byte memory leak in my TextField class, but it's 1024 bytes to 1kb, so it's not a big deal
at the moment.
Long log today
Todo:
Comment my code!
Add the first part of the enemy engine.
Add a collision detector.
6 October - Rewriting
I've learned a lot of C++ and DirectX the last days, so I've decided to give my code a rewrite.
I will keep some code, but I will remove all crap, and rewrite them all.
Why didn't I learn about virtual functions before now?...
Todo:
Find bad code and rewrite.
Rewrite all class objects.
3 October - No more DirectInput!
So, I've read that DirectInput is nothing more that a wrapper to the WM_INPUT message,
so I've completely rewritten the DirectInput part,
and instead check WM_INPUT myself. Pain in the ass, I tell you..
At least now I have 100% control over the input devices.
Because of this, I have almost no use for the DirectInput.cpp (Will be renamed),
as Input.cpp deals with most of the "Translation" from WM_INPUT to the InputData struct,
and WinMain.cpp deals with gathering the raw input from the devices.
Todo:
Find a better way to "translate" the raw input.











~angel
--
I LIKE CHEESE
i love him ~shadic02
i like tv
i love music
i love to chat ^^
and i love my friends!!
-----
icon by the lovely *cnc16 ^^
Also you have to tolerate feedback, even though I never intended you to read what I had to say about your art, so the one that should go to hell and jerk off are the ones that don't really know what privacy is.
And you only count the time you actually spend editing the image. If I was to count the time from start to finish, I'd be up in weeks on everything I've ever made..
And please do block me, that is of no offense to me, as I've already blocked many persons I do not like, and besides, I don't even know you
--
AnimeAlliance, join us!
Mar game:
FINISHED!!
C++ game engine:
Total: 4% (Makeing enemy engine)
--
I LIKE CHEESE
i love him ~shadic02
i like tv
i love music
i love to chat ^^
and i love my friends!!
-----
icon by the lovely *cnc16 ^^
Do you see a comment from me on that deviation?
I am allowed to discuss art with someone I know, don't I?
--
AnimeAlliance, join us!
Mar game:
FINISHED!!
C++ game engine:
Total: 4% (Makeing enemy engine)
--
/ just loving my girl
--
AnimeAlliance, join us!
Mar game:
FINISHED!!
C++ game engine:
Total: 4% (Makeing enemy engine)
--
/ just loving my girl
--
fangkingagito says... "LardLeopard is my fan!"
come to #ForeverBleach ~ ^^
--
I screwed in a light bulb,
Crossed the road,
and walking into a bar,
and then I realized...
My life was just a big joke!
--
AnimeAlliance, join us!
Mar game:
FINISHED!!
C++ game engine:
Total: 4% (Makeing enemy engine)
Previous Page12345...Next Page