Author Topic: Geometry Wars Update  (Read 17751 times)

0 Members and 1 Guest are viewing this topic.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Geometry Wars Update
« Reply #30 on: June 14, 2010, 04:14:56 pm »
8 partition collision detection is now complete, I think.

Here is the new one with partitioning. For those who think they are awesome at the game, you can play the second one which starts out at 500 difficulty. (4000 enemies killed). Good luck getting weapon 2 though.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Geometry Wars Update
« Reply #31 on: June 14, 2010, 06:00:09 pm »
I like it with the partitioning.  Excellent job! ;D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Geometry Wars Update
« Reply #32 on: June 14, 2010, 11:40:25 pm »
What is the partition thing?

SirCmpwn

  • Guest
Re: Geometry Wars Update
« Reply #33 on: June 14, 2010, 11:43:26 pm »
I would guess that he separated the screen into several partitions, and only checks collisions between objects in the same partition.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Geometry Wars Update
« Reply #34 on: June 14, 2010, 11:45:19 pm »
Oh ok. What would it do? Just speeding things up?
« Last Edit: June 14, 2010, 11:45:35 pm by DJ Omnimaga »

SirCmpwn

  • Guest
Re: Geometry Wars Update
« Reply #35 on: June 14, 2010, 11:45:54 pm »
It would speed things up considerably.  Many games use this in the professional/console game world.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Geometry Wars Update
« Reply #36 on: June 14, 2010, 11:48:05 pm »
Aaah ok. In SMB enemies even resetted their position if they went out of the screen and you went too far, at a place far from their initial position. This is what I thought about doing if I ever do an action game with enemies.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Geometry Wars Update
« Reply #37 on: June 15, 2010, 10:33:09 am »
This actually didn't really make the impact I wanted. The problem is that during my collision code, which is about ~150 t-states, adding in the partition check takes 34 t-states. So ya, it skips some, but it also adds to others. I might have to do some serious data switching in my enemy array. Actually, I will have to do some serious data switching.

Also, 16 partitions?

Edit:
    I swapped all of the enemies types (byte 0) with their partitions (byte 1). Every frame, all partitions get initially set to 0. Which means that null enemies get skipped faster. It also cut down my extra code to 30 from 38.

Edit 2:
     Talk about a lucky shot, I'm going to have to eventually make the game harder and do 24 bit scores as this is the second time this game I looped it.
« Last Edit: June 15, 2010, 11:36:36 am by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Geometry Wars Update
« Reply #38 on: June 15, 2010, 11:14:17 am »
Sorry to hear :(

Glad you found some ways to make it run faster in another way, though. Awesome game.

Btw I made a video of it, as I planned to do for a while. The actual screenshot was made before your last version was released, but it should still show how the game looks like in general ^^



Music is a S.S.H. metal cover of Ys Original's unused song Crossroad of Sadness

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Geometry Wars Update
« Reply #39 on: June 15, 2010, 11:43:08 am »
Nice video. Sometime I will have to try to figure out how to connect my calc to the computer and make an epic screen shot. I don't know how I would do it, but I'm sure it's possible. Maybe if I trick the computer into thinking my calculator is a keyboard like brandonW did.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Geometry Wars Update
« Reply #40 on: June 15, 2010, 11:55:16 am »
It would be cool if you could do that. In the past some people asked for a tool to make screenshots directly from the calc, but were told it was impossible or would slow things down. Seeing what you and BrandonW did I wouldn't be surprised if it was actually possible, though.

Btw this was played at like 5% speed then screenshoted back at 100%. At 100% speed gameplay, it's almost impossible to control both the ship and shooting at once (since you need to use the mouse for shooting, the numpad not working in WabbitEmu (have to use the number keys right below the F1-F12 keys, which is rather hectic) so I needed slower speed :P

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Geometry Wars Update
« Reply #41 on: June 15, 2010, 12:15:17 pm »
The number pad works for me at least.

What I want to do is still have the game played in wabbitemu, just use my calculator as a controller. Taking screenshots of the calculator would take way too long as you said. I just want to have the calculator setup to play with.

The two options I see are use the calculator as a keyboard, but windows might complain about so many buttons being pressed.

The other option is to learn visual basic and write a program that receives the keys pressed from the calc and translates them into computer key presses.

Edit: Nvm, I can do it in C++. Although I don't know how though.
« Last Edit: June 15, 2010, 12:19:51 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Geometry Wars Update
« Reply #42 on: June 15, 2010, 12:18:55 pm »
Really? Weird...

IN most cases I thought it worked for me, but when I tried it with your game, it actually was other buttons, such as STAT and XTON. I guess maybe it's a glitch in Wabbitemu, a setting we can change that I accidentally changed by pressing a keyboard shortcut or something

One other thing that could have been done is use some joystick to keyboard software that maps keyboard keys to a joystick/gamepad, but the problem is that you can't assign keys to individual joystick/d-pad directions :/

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Geometry Wars Update
« Reply #43 on: June 15, 2010, 12:23:59 pm »
What I want to do is still have the game played in wabbitemu, just use my calculator as a controller. Taking screenshots of the calculator would take way too long as you said. I just want to have the calculator setup to play with.
I've dreamed of this also, but I've never thought of a way to do it.  If you get this to work, be sure to tell us. :D

SirCmpwn

  • Guest
Re: Geometry Wars Update
« Reply #44 on: June 15, 2010, 12:30:06 pm »
BrandonW has already done it.  Its called Periph8x or something.