Page 1 of 1

My starting venture into attempting multi-sprites:

Posted: Mon Nov 10, 2014 3:38 am
by tienkhoanguyen
Well here it is. I have implemented 3+ sprites onto the screen. It works fine. I am trying to fine tune it and see if I can make it 12 sprites. Theoretically it should be possible to have 12 independent sprites flying around WITHOUT messing anything up as it flies across the background solid slow spreading vortex pathway.

So far I am impressed with my own work inspired by Jesus Christ. I always want to give credits to Jesus Christ just in case God takes my talent away. Amen.

http://www.mediafire.com/view/qhoy5b4510skc3z/SPRITE3.C

http://www.mediafire.com/download/1v165 ... PRITE3.EXE

Well, the blinking is a side-effects of rapid movements. The slower it goes the less it blinks. It is just the side-affects of rapid graphics switching going on.

Thank you Jesus Christ for always making me perform "miracles" in my journey into the self-discovery of personal gaming creation!

God, Jesus Christ, is number one!

Posted: Mon Nov 10, 2014 6:59 am
by tienkhoanguyen
Jesus Christ!

http://www.mediafire.com/download/mz473 ... TWELVE.EXE

As I promised. I just refresh finish my 12 sprites independent demo!!!!!!!!!!!!

Although the movements are not smart, it does show each "JC" sprite going over the background without smearing it.

If you wait long enough, the vortex is also still there.

So not only do you have the original slow vortex, but also you have the rainbow background to prove that the sprites work.

TWELVE SPRITES as in 12 apostles of Jesus Christ hehe

So I give all my glories for this success and all future successes to The LORD of all hosts#!!

Posted: Mon Nov 10, 2014 11:29 am
by Quadko
Cool, I look forward to checking it out! You're making great progress. :)

I know it still needs work.

Posted: Mon Nov 10, 2014 3:21 pm
by tienkhoanguyen
Brace yourself, you might get seizures seeing that many sprites! :laugh:

As promised, here is the entire SECRET source code!

Posted: Mon Nov 10, 2014 3:33 pm
by tienkhoanguyen
Well, seeing I am revealing to you my mad scientist life's work and revered just like Einstein for FREE, if you see my mom or me on the streets, please give us a home. After all, she does not work at Panda for her health! :laugh:

http://www.mediafire.com/view/0y0d2i4gg02vxa2/SPRITE2.C

http://www.mediafire.com/download/a00sq ... PRITE2.EXE

Posted: Mon Nov 10, 2014 3:39 pm
by tienkhoanguyen
My source code might not be fifty thousand lines like DOSBox however it is like up to three thousand lines of almost pure assembly!

Posted: Tue Nov 11, 2014 7:59 am
by MrFlibble
Nice progress, as usual! ^_^

As for the length of the code, I have always assumed that programmers try to make it as short as possible? There are those 32/64/128 KiB programme challenges, even. (and/or 100 etc. lines of code challenges)

Posted: Tue Nov 11, 2014 1:14 pm
by tienkhoanguyen
MrFlibble wrote:Nice progress, as usual! ^_^

As for the length of the code, I have always assumed that programmers try to make it as short as possible? There are those 32/64/128 KiB programme challenges, even. (and/or 100 etc. lines of code challenges)
Hmmmmmmmmmmmm. Well, since it is assembly language it naturally is many lines. I believe this program is 3000 lines BUT compiled into only 35KB. Most DOS games are 100KB. However, if I really tried I probably could refactor it into more efficient size.

Programming in assembly is a new art form of mine so it is hard already. So as time goes by I probably most likely write better codes.

Posted: Tue Nov 11, 2014 1:29 pm
by MrFlibble
Good luck! :)

Posted: Tue Nov 11, 2014 1:41 pm
by tienkhoanguyen
MrFlibble wrote:Good luck! :)
Thank you! You always are encouraging. I still remember feeling down and you put some pizzaz into me. Congrats on being a great mod!!!!!!!!!!!!

God, Jesus Christ, is number one!hehe

Posted: Wed Nov 12, 2014 10:53 pm
by tienkhoanguyen
Quadko wrote:Cool, I look forward to checking it out! You're making great progress. :)
As MrFlibble also mentioned too, I am completely a noob!

Look at the R9 from ATI. They have over 3000x3000 pixels. Here I am lucky to do 10% of that. haha

Posted: Thu Nov 13, 2014 12:48 am
by Quadko
And the twelve demo - nice technology jump. Made me start thinking of asteroids or solar winds. Sprites rock!

Posted: Thu Nov 13, 2014 1:18 am
by tienkhoanguyen
Quadko wrote:And the twelve demo - nice technology jump. Made me start thinking of asteroids or solar winds. Sprites rock!
Thanks. For being my friend!!!!!!!!!!!!

Posted: Thu Nov 13, 2014 5:47 am
by MrFlibble
tienkhoanguyen wrote:Thank you! You always are encouraging. I still remember feeling down and you put some pizzaz into me. Congrats on being a great mod!!!!!!!!!!!!
Thanks! Glad to hear I could be of help :)

Posted: Thu Nov 13, 2014 6:05 am
by tienkhoanguyen
I'm just trying to figure out how to thank and be thanked in returned. However, the scriptures say give without expecting and you will always win! So I guess I better find something to say to fill these gaps if I am going to make it to 100 years old. hehe

Thank you Jesus Christ I still have something to give. I thought for sure after ArkanDOS demo was done I had nothing left. Then Tron came along. Now, futbol demo. hehe

There's still time for Christmas. I don't think there is time for another one. However, my mom says you never know. It could be a miracle! hehe