Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scramble (arcade game remake)
#71
(04-23-2023, 06:55 PM)grymmjack Wrote: @RokCoder

What is spriteUV - what does the U and V stand for?

I'm halfway through the review and loving the on-the-fly analysis of the code!

u and v are traditionally used as texture coordinates in the same way that x and y are used as positional coordinates. I'm probably using them to reference texture coordinates within the sprite sheet.
RokCoder - dabbling in QB64pe for fun
Reply
#72
(04-18-2023, 08:11 AM)RokCoder Wrote:
(04-03-2023, 09:54 PM)madscijr Wrote: I can also give it a try on computer with a better graphics card, it might take a couple of days. 

Did you have any luck with that in the end?

I finally have an update for you! 
Your hi-res hardware images Scramble works great on my HP Omen laptop!
I plugged it into a 50" HDTV and the graphics are nice and clear, and the game isn't laggy at all. 

Here are the specs on the computer, in case you're curious:

Intel Core i7-10750H CPU @ 2.60GHz
NVIDIA GeForce RTX 2070 with Max-Q Design
32 GB RAM
Windows 10 Pro 22H2
Reply
#73
(04-29-2023, 07:38 PM)madscijr Wrote:
(04-18-2023, 08:11 AM)RokCoder Wrote:
(04-03-2023, 09:54 PM)madscijr Wrote: I can also give it a try on computer with a better graphics card, it might take a couple of days. 

Did you have any luck with that in the end?

I finally have an update for you! 
Your hi-res hardware images Scramble works great on my HP Omen laptop!
I plugged it into a 50" HDTV and the graphics are nice and clear, and the game isn't laggy at all. 

Here are the specs on the computer, in case you're curious:

Intel Core i7-10750H CPU @ 2.60GHz
NVIDIA GeForce RTX 2070 with Max-Q Design
32 GB RAM
Windows 10 Pro 22H2

Ah, great to know! I guess it should probably have some error checking so it can automatically fall back on low res software images if there isn't enough RAM on the graphics board to store the images. I'll leave that to you though Smile
RokCoder - dabbling in QB64pe for fun
Reply
#74
(04-29-2023, 07:42 PM)RokCoder Wrote:
(04-29-2023, 07:38 PM)madscijr Wrote:
(04-18-2023, 08:11 AM)RokCoder Wrote: Did you have any luck with that in the end?

I finally have an update for you! 
Your hi-res hardware images Scramble works great on my HP Omen laptop!
I plugged it into a 50" HDTV and the graphics are nice and clear, and the game isn't laggy at all. 

Here are the specs on the computer, in case you're curious:

Intel Core i7-10750H CPU @ 2.60GHz
NVIDIA GeForce RTX 2070 with Max-Q Design
32 GB RAM
Windows 10 Pro 22H2

Ah, great to know! I guess it should probably have some error checking so it can automatically fall back on low res software images if there isn't enough RAM on the graphics board to store the images. I'll leave that to you though Smile

Is QB64PE able to check how much graphics RAM is available? 
How might we determine how much is needed? 
A project for another day.

If I do anything else to Scramble, first it'll be editing in the hi-res landscape tiles. 
Also, before the rockets launch, they appear to be hovering above the ground, so that needs some tweaking. And higher res player bullets. And a Super Cobra mod? 
So many details, so little time!
Reply
#75
(04-29-2023, 10:23 PM)madscijr Wrote: Is QB64PE able to check how much graphics RAM is available? 

I've no idea - you'd need to check the source or ask someone familiar with it

(04-29-2023, 10:23 PM)madscijr Wrote: How might we determine how much is needed?

You could calculate it or you could simply check for failure to allocate - I'm assuming the handle from _COPYSPRITE to mode 33 will be zero or similar if it's unable to copy to hardware. That's just an assumption though. 

(04-29-2023, 10:23 PM)madscijr Wrote: A project for another day.

If I do anything else to Scramble, first it'll be editing in the hi-res landscape tiles. 
Also, before the rockets launch, they appear to be hovering above the ground, so that needs some tweaking. And higher res player bullets. And a Super Cobra mod? 
So many details, so little time!

Have fun!  Cool
RokCoder - dabbling in QB64pe for fun
Reply




Users browsing this thread: 9 Guest(s)