Author Topic: [Project] 2 Player shooter game.  (Read 17016 times)

0 Members and 1 Guest are viewing this topic.

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: [Project] 2 Player shooter game.
« Reply #30 on: November 07, 2010, 07:36:38 pm »
Woah I didn't realize at first, but that must be one heck of a long cable. I only ever saw the 6 inch ones, since it came with the 83+, 83+SE and my TI-Nspire, and I saw the 30 inch one that came with the 82, but I didn't realize there were 7.5 feet ones. That means I only tried on the first two.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #31 on: November 07, 2010, 09:40:45 pm »
well data transfer is the dame (but i am guessing is milliseconds slower)


The shop that i have linked is extremely hard to find by going through ti's website...
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #32 on: November 08, 2010, 09:17:08 pm »
Update:  Multiple respawn locations now included.
some optimizations that (i believe) help allot with calc to calc communication.
5% smaller than my last version. (not the last posted version)
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

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: [Project] 2 Player shooter game.
« Reply #33 on: November 09, 2010, 12:31:17 am »
Cool! Just make sure to prevent spawn-kills as much as possible. :P


Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #34 on: December 20, 2010, 04:15:51 pm »
Update:
MAJOR OPTIMIZATIONS that help ALLOT with calc to calc communication.
much smaller than my last version (200 bytes or so)


3 foot cord no has an almost perfect communication

umm.. anyone know how to do multi-calc screenshots?



great, no one cares.....
« Last Edit: December 20, 2010, 04:49:42 pm by happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #35 on: December 20, 2010, 07:30:57 pm »
not that anyone cares but,

UPDATE:  The best update since the original!

The problem is that i was using if getkey instead of if getkey(0)

Now the program literally goes over 50 times faster!

If someone can show me how to make a screeny for 2 calcs it would be great
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #36 on: December 20, 2010, 07:31:44 pm »
not that anyone cares but,

UPDATE:  The best update since the original!

The problem is that i was using if getkey instead of if getkey(0)

Now the program literally goes over 50 times faster!

If someone can show me how to make a screeny for 2 calcs it would be great

I don't think you can. Maybe you can, but I'd love to see it :)

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #37 on: December 20, 2010, 07:32:55 pm »
kerm has one with his calc net 2.2
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #38 on: December 21, 2010, 04:38:24 am »
I believe Kerm used PindurTI.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #39 on: December 21, 2010, 05:46:42 am »
You can also record a video and upload it to youtube. He did that with CalcNet too :D

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #40 on: December 21, 2010, 08:48:11 am »
I believe Kerm used PindurTI.

83 edition only. :(.

You can also record a video and upload it to youtube. He did that with CalcNet too :D

ya, i'm afraid thats what i'll have to do.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #41 on: December 21, 2010, 08:52:12 am »
It's harder but at least we can see how it is progressing :D

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #42 on: December 21, 2010, 08:59:08 am »
ya.  almost perfect connection.

Problems:

  *  both players cant go down right at  same time ???
  *  speed of bullet is awful which causes problems between the two users.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #43 on: December 21, 2010, 09:03:59 am »
ya.  almost perfect connection.

Problems:

  *  both players cant go down right at  same time ???
  *  speed of bullet is awful which causes problems between the two users.

Check for nested IF's concerning the first one.
The second one, can't you change the speed?

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: [Project] 2 Player shooter game.
« Reply #44 on: December 21, 2010, 09:08:28 am »
no I know the problem, unfortunately....

!if statements are just so much faster than if statements...

2nd.  The 2 characters shall always be in sync\. The bullets however are independent of each other so their speeds shall vary.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________