Author Topic: Tita goes d3d9 demo!  (Read 1117 times)

felipe

  • Member
  • *****
  • Posts: 1249
  • Eagles are just great!
Tita goes d3d9 demo!
« on: January 07, 2019, 02:36:09 PM »
Inspired with what daydreamer wrote here: http://masm32.com/board/index.php?topic=7596.0 i have done this "little"  :P demo of tita in labyrinths. So i want to put some points in the table or similar:

So why it's a demo? Because it just have only 1 stage or labyrinth...
Why i didn't used sprites? Because i wanted to keep "simple"  :P. This demo (which is playable...for a while...maybe just once?) don't uses the d3dx lib or dlls, so most users can run it without the need to download anything.
Why the code looks like that?  :biggrin: Seriously, the code can (i guess for sure... :idea:) be optimized or even just written in other way. This is what i did and i don't want to do it again... :P At least for now... :P
Why the restriction with the screen resolution? Because i wrote the code for a "big" screen, then i realized that if i changed the screen resolution to the smallest ones the labyrinth would look wrong. There will be no problem changing in the code the screen resolution requirement, but for smaller resolutions than the one there, the labyrinths will look bad... :idea: The one there is the smallest resolution that i tried that worked.
Anything else? Yes do whatever you want with the code or program... :t I have done this demo and i'm more conviced that making games is a lot of work  :P, so don't ask me to do more for this demo... :P Now is your turn!  :biggrin:  :t  :icon14:
Wait! one more thing! If you find that the "character"  :P (tita...ok that red rectangle... :P) has trouble to move into some areas in the labyrinth, it's because that's the idea of the game (really) some paths in the labyrinth are like traps, you can't move more in that direction. Do you get it?
One last thing: The .asm, .exe and the includes for d3d9 (again) are all in the .zip.

Now enjoy tita goes d3d9 demo!  :greenclp: Or hate it... :( I think i can live with any of both... :biggrin:  :icon14:
Felipe.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6662
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Tita goes d3d9 demo!
« Reply #1 on: January 07, 2019, 03:55:13 PM »
Works fine here.  :t
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Siekmanski

  • Member
  • *****
  • Posts: 1906
Re: Tita goes d3d9 demo!
« Reply #2 on: January 07, 2019, 09:00:30 PM »
Nice  :t
Creative coders use backward thinking techniques as a strategy.

HSE

  • Member
  • *****
  • Posts: 1107
  • <AMD>< 7-32>
Re: Tita goes d3d9 demo!
« Reply #3 on: January 08, 2019, 12:19:07 AM »
Fantastic Felipe  :t


jj2007

  • Member
  • *****
  • Posts: 9688
  • Assembler is fun ;-)
    • MasmBasic
Re: Tita goes d3d9 demo!
« Reply #4 on: January 08, 2019, 12:54:10 AM »
Bad luck, doesn't work with 1366*768:
SORRY, TO PLAY THIS GAME YOU NEED AS A MINIMUM A 1152 X 864 SCREEN RESOLUTION

felipe

  • Member
  • *****
  • Posts: 1249
  • Eagles are just great!
Re: Tita goes d3d9 demo!
« Reply #5 on: January 08, 2019, 01:37:59 AM »
Thanks  :icon14:. jj if you want you can just comment all that screen resolution check at the start of the code. But the labyrinth would look bad, and the demo wouldn't be playable at all.  :idea: Here is a picture of how the demo looks with a resolution of 1024x768. The black rectangle below the window is the program covers made by jimg  :idea:  :icon14:.  Actually i didn't test with that resolution (1366x768), but i think it will be similar issues as with this one  :idea:.
Felipe.

daydreamer

  • Member
  • ****
  • Posts: 907
  • watch Chebyshev on the backside of the Moon
Re: Tita goes d3d9 demo!
« Reply #6 on: January 08, 2019, 02:41:01 AM »
fantastic Felipe and screen resolution problem is something we should find solutions for everyone who coded hires programs :t
 
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D

jj2007

  • Member
  • *****
  • Posts: 9688
  • Assembler is fun ;-)
    • MasmBasic
Re: Tita goes d3d9 demo!
« Reply #7 on: January 08, 2019, 03:03:07 AM »
Works fine with the two jumps commented out. Felipe, why do you think Microsoft introduced the invoke macro twenty years ago?

felipe

  • Member
  • *****
  • Posts: 1249
  • Eagles are just great!
Re: Tita goes d3d9 demo!
« Reply #8 on: January 08, 2019, 05:04:00 AM »
Felipe, why do you think Microsoft introduced the invoke macro twenty years ago?

 :biggrin: To resemble the c prototypes, to code to the right and not down? Hey, you know it's a matter of taste... :bgrin:  :icon14:
Felipe.

daydreamer

  • Member
  • ****
  • Posts: 907
  • watch Chebyshev on the backside of the Moon
Re: Tita goes d3d9 demo!
« Reply #9 on: April 09, 2019, 04:54:27 AM »
I have a suggestion of a intro where you input A$ your first name before you play and a story pop up in some nice font:
"Tita's best friend" ,A$," was lost,nobody have seen A$ but an old hermit living close to a mystic cave,he told Tita he had seen A$ gone in but never came out,hermit told a story from his childhood he had been inside the cave and discovered a Labyrinth and seen a evil monster living in there and he had to run for his life to survive,parts of the labyrinth had lots of Bones and rusty weapons and armours"
"so Tita decided to go in the Labyrinth to save A$"

Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D