My starting venture into attempting multi-sprites:

Discuss popular GCS tools like ZZT, Megazeux and Adventure Game Studio, as well as programming and other topics related to game design.
Post Reply
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

My starting venture into attempting multi-sprites:

Post 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!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!

Post 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#!!
User avatar
Quadko
Darklander
Darklander
Posts: 2092
Joined: Fri Jun 24, 2011 10:07 am

Post by Quadko »

Cool, I look forward to checking it out! You're making great progress. :)
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

I know it still needs work.

Post by tienkhoanguyen »

Brace yourself, you might get seizures seeing that many sprites! :laugh:
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

As promised, here is the entire SECRET source code!

Post 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
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Post 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!
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3756
Joined: Sun Dec 05, 2010 11:39 am

Post 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)
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Post 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.
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3756
Joined: Sun Dec 05, 2010 11:39 am

Post by MrFlibble »

Good luck! :)
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Post 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
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post 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
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
Quadko
Darklander
Darklander
Posts: 2092
Joined: Fri Jun 24, 2011 10:07 am

Post by Quadko »

And the twelve demo - nice technology jump. Made me start thinking of asteroids or solar winds. Sprites rock!
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Post 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!!!!!!!!!!!!
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3756
Joined: Sun Dec 05, 2010 11:39 am

Post 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 :)
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Post 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
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
Post Reply