Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Happybobjr on October 26, 2010, 05:43:20 pm

Title: [Project] 2 Player shooter game.
Post by: Happybobjr on October 26, 2010, 05:43:20 pm
Well I have a small demo ready for my 2 player shooter game.
All you can do right now is:

Have each player control a character.
And you can each shoot your gun.  '2nd'

DOWNLOAD: on page 6

I only have a 84+SE and a 83+BE

Spoiler For Spoiler:
84+SE & 84+SE: (untested)
Full works:
Other Compatibility:

84+SE & 84+SE (Nspire): (untested)
Full works:
Other Compatibility:

84+SE & 84+BE: (untested)
Full works:
Other Compatibility:

84+SE & 83+SE: Perfect

Full works:
Other Compatibility: No known issues.

84+SE & 83+: Poor
Full works: No
Other Compatibility: It doesn't crash, but over time the two screens get off; it looks like the 83+ sprite is slipping down on the 84+SE.

84+SE (Nspire) & 84+SE (Nspire): (untested)
Full works:
Other Compatibility:

84+SE (Nspire) & 84+: Complete crash. do not do!
Full works:
Other Compatibility: Doesn't crash in fsm  but still doesn't work.

84+SE (Nspire) & 83+SE: (untested)
Full works:
Other Compatibility:

84+SE (Nspire) & 83+BE: Complete crash. do not do!
Full works:
Other Compatibility: Doesn't crash in fsm  but still doesn't work.

84+ & 84+: (untested)
Full works:
Other Compatibility:

84+ & 83+SE: (untested)
Full works:
Other Compatibility:

84+ & 83+BE: (untested)
Full works:
Other Compatibility:

83+SE & 83+SE: (untested)
Full works:
Other Compatibility:

83+SE & 83+BE: Poor
Full works: No
Other Compatibility: It doesn't crash, but over time the two screens get off; it looks like the 83+ sprite is slipping down on the 83+SE.


83+BE & 83+BE: (untested)
Full works:
Other Compatibility:


Title: Re: [Project] 2 Player shooter game.
Post by: ztrumpet on October 26, 2010, 05:46:56 pm
Hey, this looks neat!  I'll do some testing between an 83+SE, 84+SE, and 83+ for you. :)  I'll have results back later. ;D
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 26, 2010, 06:11:58 pm
Hey, this looks neat!  I'll do some testing between an 83+SE, 84+SE, and 83+ for you. :)  I'll have results back later. ;D

Thank you so much!.  I really need results like these so i can figure out compatibility and everything

Such as... If Full speed mode works with 2 84+SE calcs.
Then i should right.

Start the game by pressing enter.
then....
If Full ->P.
Send(50000,P
If P=Get
full
else
normal
end
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on October 26, 2010, 06:15:40 pm
The GIF looks weird... But the title looks quite promising. If maybe players walk +2 faster :)

Good luck
Title: Re: [Project] 2 Player shooter game.
Post by: ztrumpet on October 26, 2010, 06:28:55 pm
The GIF looks weird...
It's because there's no way to do two player with gifs. :(
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 26, 2010, 06:35:21 pm
The GIF looks weird... But the title looks quite promising. If maybe players walk +2 faster :)

Good luck

unfortunately no.  They can only go that fast
Note: If you are basing your assumption on the screeny, you should know that when the character moves, the program waits for the other calc to retrieve the information until time runs out.  Thus, it seems laggy.

The GIF looks weird...
It's because there's no way to do two player with gifs. :(

Thanks 8)
Title: Re: [Project] 2 Player shooter game.
Post by: Darl181 on October 26, 2010, 06:51:19 pm
Know how you can simulate linking in Wabbit?
Open the first calculator you want to test.  Click "setup wizard" under Help, browse, open whatever other (or same) ROM.  Another one should open.  On either, click "connect to...".  It should give a success message.  Now they're virtually linked.
I have no idea how you'd do that with the Nspire, but it should work for the 83's and 84's.

odd, I'm trying to test it and it doesn't send to wabbit.  No error or anything, it just doesn't show in PRGM.  Or anywhere else, for that matter.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 26, 2010, 06:55:42 pm
cool, anyone want to give me roms :P  j/k
I will try to do a screeny of both  for next update.

/\//\/\/\/\/\/\/\/\/\/\/\/\/\/\

All help is appreciated about the compatibility of two (real) calculators and how they preform.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 26, 2010, 08:41:07 pm
Has anyone experimented with compatibility between calcs yet?
Title: Re: [Project] 2 Player shooter game.
Post by: ztrumpet on October 26, 2010, 10:20:48 pm
Alright, here's what I found:
83+ to 84+SE - It doesn't crash, but over time the two screens get off; it looks like the 83+ sprite is slipping down on the 84+SE.
83+ to 83+SE - It doesn't crash, but over time the two screens get off; it looks like the 83+ sprite is slipping down on the 83+SE.
84+SE to 83+SE - Works perfectly.  Great job! ;D
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 26, 2010, 10:35:12 pm
thank you very much.
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on October 27, 2010, 03:01:28 am
I haven't tested yet. I will try later next week when I get some free time. I got a working TI-83+ and a TI-Nspire.

By the way I think a way to keep the speed synced between calcs is to continuously send data back and forth between both calcs, but have the calc that is receiving wait until the entire data is successfully received, then do the same back and forth over and over. I'M not sure how well this would work, though. This might slow things down considerably.

Good luck!
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 27, 2010, 06:46:07 am
actually i only send the key press.

So if one calc starts before the other....

w/\/\/\/\/\/\/\/\/\/

I got shooting your opponent working. It resets him to (30,30)
II also fixed pixel checking with the gun. (i forgot the characters were 8 by 16)

EDIT: fixed a typo
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on October 27, 2010, 04:03:20 pm
Do you mean when someone presses a key it starts waiting for the other calc to press a key? ???
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 27, 2010, 05:42:30 pm
Do you mean when someone presses a key it starts waiting for the other calc to press a key? ???

opps typo....  I meant that when you press a key, the calc won't continue until the other calc receives the info.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 27, 2010, 08:08:56 pm
updatish.  added wrap around for characters.
better speed and detection of other calc.
scoring as well as shooting.
respawn.  I think i will upload tomorrow if i can obtain another cord.... (i lose them quick.)
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on October 28, 2010, 12:56:17 am
Do you mean when someone presses a key it starts waiting for the other calc to press a key? ???

opps typo....  I meant that when you press a key, the calc won't continue until the other calc receives the info.
Ah ok I see.

Can't wait to see the new update in action. :)

Also I used to lose cables quite easily as well. X.x I still have one unit to unit cable for TI calcs but it's dying, and I got plenty of Casio ones but I don't know if they work with TI calcs...
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on October 28, 2010, 10:00:11 am
i have calc to computer.  but i am waiting on calc to calc to do a little more testing.
I don't want anyones calcs messed up ;)
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on October 28, 2010, 08:01:39 pm
Yeah true, especially if they're close to having an exam and had precious math programs, or less likely, if they were working on a calc game. X.x
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on November 05, 2010, 11:21:30 pm
UPDATE:

I improved connection by alot.... sort of....
   there are tons of issues of occasional incorrect data being sent.
   My 3 foot cord works rather well while my 7 foot is completely unplayable.  If anyone can test with a standard 6 inch...
Left and right sprites ;)

Found that nspire doesn't crash on normal speed mode, although still unplayable.

Note:  Down is now alpha as i was testing why connection problems made my character always go down.....
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on November 06, 2010, 04:48:41 pm
Cool! I need to dig up a copy of PindurTI so I can try this. I heard Wabbitemu linkplay support isn't too great...
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on November 06, 2010, 10:53:32 pm
well real calc testing is what is needed. i don't have a 6inch cord.


The longer the cord the less the games are in sync.
7foot cord is unplayable.  But my update made 3foot cord playable.
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on November 07, 2010, 04:19:49 am
Yeah, sadly I can't test right now on real calcs. I am afraid it might be hard to get someone to test since most of us are alone in our area to care about calcs X.x

I didn't knew with longer cords it didn't work as well, tho ???
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on November 07, 2010, 08:36:57 am
ya, i am not exactly sure what happens.

I wonder if i should make a silver cord instead of their aluminum ones.
Note: silver is the 2nd most conductive element (right after gold) while aluminum is the 4th (right after coper)
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on November 07, 2010, 01:09:06 pm
I'm not sure. I don't know much about those. Personally I had the long TI to TI cable that came with the 82 that is much longer than the 83+ ones once, and it sent everything fine and we could play multiplayer games fine. It might be because it was official from TI, though...
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on November 07, 2010, 01:28:18 pm
mine was from ti.
https://epsstore.ti.com/OA_HTML/ibeCCtpItmDspRte.jsp?section=10424&item=21896&JServSessionIdrootdlek22=79odmyixr1.n6LzoN8M/AzOnMTOogTxpQOUtxCLbx0Ka0--

My game constantly checks the other calculators getkey.

The rate at which it checks is what causes decides how well they are in sync
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on November 07, 2010, 01:44:15 pm
Ah I see. However that link redirects on TI home page.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on November 07, 2010, 04:24:36 pm
ti does it once again.....
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on November 07, 2010, 04:31:34 pm
Yeah. X.x

Could you post the navigation path?
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on November 07, 2010, 06:06:08 pm
https://epsstore.ti.com/OA_HTML/ibeCCtpSctDspRte.jsp?a=b
graphing
84+
accessories
7.5 foot CBR I/O cable
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga 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.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr 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...
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr 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)
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on November 09, 2010, 12:31:17 am
Cool! Just make sure to prevent spawn-kills as much as possible. :P

Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr 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.....
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr 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
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor 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 :)
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 20, 2010, 07:32:55 pm
kerm has one with his calc net 2.2
Title: Re: [Project] 2 Player shooter game.
Post by: JosJuice on December 21, 2010, 04:38:24 am
I believe Kerm used PindurTI.
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor 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
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr 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.
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on December 21, 2010, 08:52:12 am
It's harder but at least we can see how it is progressing :D
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr 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.
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor 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?
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr 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.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 21, 2010, 03:44:00 pm
major improvements.
Fully stable connection with the two calcs.
Perfect connection with the 3 foot cord !!!!!


New problem: the game runs too fast....

I think i shall have the bullet location be sent every frame which will make the came  completely stable and fix the speed issue.
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on December 21, 2010, 03:44:53 pm
major improvements.
Fully stable connection with the two calcs.
Perfect connection with the 3 foot cord !!!!!


New problem: the game runs too fast....

I think i shall have the bullet location be sent every frame which will make the came  completely stable and fix the speed issue.

Great! I can't wait for a video, though.

The game is too fast? If only there was a Slow command we want so much :)
Title: Re: [Project] 2 Player shooter game.
Post by: Builderboy on December 21, 2010, 03:54:53 pm
Pause works fine as a slow down command :P And this sounds epic!  I have been working recently with linking but it seems my IO cable is going out :(
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 21, 2010, 04:02:57 pm
Pause works fine as a slow down command :P And this sounds epic!  I have been working recently with linking but it seems my IO cable is going out :(

the problem with slow is that i might miss a send(.

I could add a ton of my sub(GET) though.
Title: Re: [Project] 2 Player shooter game.
Post by: Builderboy on December 21, 2010, 04:04:04 pm
ah i see, yeah linking makes everything over 9000 times more difficult x.x
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on December 21, 2010, 04:15:47 pm
Pause works fine as a slow down command :P And this sounds epic!  I have been working recently with linking but it seems my IO cable is going out :(

I have one calculator, so I would never be able to try Linking :(
Title: Re: [Project] 2 Player shooter game.
Post by: JosJuice on December 21, 2010, 04:17:36 pm
Pause works fine as a slow down command :P And this sounds epic!  I have been working recently with linking but it seems my IO cable is going out :(

I have one calculator, so I would never be able to try Linking :(
Me too... I haven't even seen another graphing calculator than mine.
Title: Re: [Project] 2 Player shooter game.
Post by: AngelFish on December 21, 2010, 04:18:31 pm
Pause works fine as a slow down command :P And this sounds epic!  I have been working recently with linking but it seems my IO cable is going out :(

the problem with slow is that i might miss a send(.

I could add a ton of my sub(GET) though.

Yeah, but someone could probably write an Axiom that monitors the Link port without doing anything else for a certain number of cycles and stores any data somewhere in RAM.
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on December 21, 2010, 04:21:26 pm
Pause works fine as a slow down command :P And this sounds epic!  I have been working recently with linking but it seems my IO cable is going out :(

I have one calculator, so I would never be able to try Linking :(
Me too... I haven't even seen another graphing calculator than mine.

Really?? You never saw another one? Wow, I usually see 10 a day, so I guess I'm quite lucky :D
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on December 21, 2010, 04:22:16 pm
To use PTI you need to find or grab a 83+ ROM somewhere or from your calc.

As for me I got two calcs but my link cable is wearing out too and the other calc is a TI-Nspire so I don't know how well it would work, not to mention I don't know if I would have time to test.
great, no one cares.....
not that anyone cares but,
Also try to avoid posting stuff saying "nobody cares." When you edited your post, only 30 minutes elapsed between the edit, then a few hours for your double-post. It can take days before people reply. I myself didn't see your thread until now because I didn't check the entire forum since 2 days ago.
Title: Re: [Project] 2 Player shooter game.
Post by: JosJuice on December 21, 2010, 04:26:13 pm
Pause works fine as a slow down command :P And this sounds epic!  I have been working recently with linking but it seems my IO cable is going out :(

I have one calculator, so I would never be able to try Linking :(
Me too... I haven't even seen another graphing calculator than mine.

Really?? You never saw another one? Wow, I usually see 10 a day, so I guess I'm quite lucky :D
I'm still in what we call "grundskola" here in Sweden. It's the school you're in when you're 7-15 years old. All we have are TI-106s... And my own calculator, of course.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 21, 2010, 04:45:30 pm
To use PTI you need to find or grab a 83+ ROM somewhere or from your calc.

As for me I got two calcs but my link cable is wearing out too and the other calc is a TI-Nspire so I don't know how well it would work, not to mention I don't know if I would have time to test.
great, no one cares.....
not that anyone cares but,
Also try to avoid posting stuff saying "nobody cares." When you edited your post, only 30 minutes elapsed between the edit, then a few hours for your double-post. It can take days before people reply. I myself didn't see your thread until now because I didn't check the entire forum since 2 days ago.


linking is bad on 83+'s.  i.e. extreme 4 error occurrences.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 21, 2010, 05:23:42 pm
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on December 21, 2010, 07:18:13 pm


Looks great! You can move like in Snake games, through the screen! The linking looks fast too!
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 21, 2010, 07:34:34 pm
thanks

I can double or triple the speed too.

Just change my
If 1
to
!If A+1^(2 or 3)->A



I know I have been skipping around many projects :P  but i am going to start making that 2 player line racer game thing.
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on December 22, 2010, 01:02:54 am
Nice happybobjr! I like the speed and it seems to respond relatively well. :)
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 22, 2010, 06:03:51 pm
thanks.
once i get m bullets matched up, it will go to ti-calc./me hopes for the unlikely feature.

After bullets, and if this is popular i shall add grenades, shot guns, health etc.
Title: Re: [Project] 2 Player shooter game.
Post by: jnesselr on December 22, 2010, 06:05:21 pm
Is it just me, or do those youtube videos seem flipped? ;-)

I'm loving these two player linked games. I wish I had another calc to test them.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 22, 2010, 06:14:30 pm
thanks.

I am planning on making a game pack application of:

Calc of Duty (2 player shooter)
TRON- the calc's legacy.
and probably take some source codes , with permission, and make them 2 player.  such as chess.


any ideas for this once bullets are done?
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on December 22, 2010, 06:15:10 pm
thanks.

I am planning on making a game pack application of:

Calc of Duty (2 player shooter)
TRON- the calc's legacy.
and probably take some source codes , with permission, and make them 2 player.  such as chess.


any ideas for this once bullets are done?

a knife to backstab!
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 22, 2010, 06:17:43 pm
maybe. although that might be pointless.

If i had skill i would make this like boxhead :D
Title: Re: [Project] 2 Player shooter game.
Post by: feerik on December 22, 2010, 06:45:02 pm
looks nice keep it up
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 24, 2010, 08:33:42 pm
Update: Perfect Syncing now.

no known issues except for inconstant speeds.

Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on December 24, 2010, 08:47:00 pm
Update: Perfect Syncing now.

no known issues except for inconstant speeds.



I wish I had two calcs to test it :S
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 24, 2010, 08:47:19 pm
do you have a cord?

note: DO NOT USE ON NSPIRE!
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on December 24, 2010, 08:48:37 pm
do you have a cord?

note: DO NOT USE ON NSPIRE!

it doesn't work?
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 24, 2010, 09:35:44 pm
no, I mention it on 1st page.

It causes a crash whenever you use the Send( command.
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on December 26, 2010, 06:30:30 pm
Strange, isn't Axe supposed to be compatible on all these calcs? ??? You might want to submit a bug report, unless it is something to do with linking two different calc models, not an Axe issue.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 26, 2010, 06:40:03 pm
well the same error occurs with a long cable too.

So i don't think there is much he can do.
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on December 27, 2010, 03:26:48 pm
I guess it's just the connection being poor, then... the only way to fix it would be to force the other calc to wait until it got new data before continuing the game, then set all of it to zero afterward, excecute stuff, then do the same with the other calc, but seeing how bad the connection is with those calcs or long cables, I bet this would make the game very slow.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on December 28, 2010, 09:19:43 am
the issue only goes one way between the better calc and th ti-83+.

This is where you would have (can't remember what calc stays normal)  to hold all the data and just continuously transfer data in a patern.
That is the best way i can think to deal with it.

note: sorry if i don't make sense, i am not all the way here today.
Title: Re: [Project] Calc of dudy.
Post by: Happybobjr on January 10, 2011, 05:56:09 pm
well i had some free time a while ago. which doesn't happen often enough.

I have made some large, small updates.

1. Bullets are 2x faster than humans.
2. Perfect syncing with bullets now.
3. Adjustable calc syncing speed thing.  (can't explain.  It's just a tool to help me test)
4. Speed and size optimizations.

Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on January 11, 2011, 03:33:59 pm
I'M glad to see an update ;D. I hope you have more free time soon.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on January 11, 2011, 04:10:03 pm
Ya, i am a little scattered :P

Today was a snow day :D
Well, I now have health class so that's 30 min of free time a day.

I am bad and I'm starting another mini-project.  Have you played on the Wii?
If yes. Wii Play?
if yes. Tanks?

i am in the process of starting to make tanks.
2 player (as always ;D)
Title: Re: [Project] 2 Player shooter game.
Post by: Munchor on January 11, 2011, 04:12:01 pm
"1. Bullets are 2x faster than humans.", shouldn't them be 10* faster? I mean, do you want to make it possible for humans to escape them if they see them in time?
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on January 11, 2011, 04:33:18 pm
I am still adjusting speeds and everything.
Currently for faster speeds i skip every other frame.

I need to make sure the bullet isn't just tele-porting 10 spaces.
I can't figure out a smooth way for the bullets to work.


I suppose i could do
if getkey(0)
While(?,#1,#2)
Sub(get)
'Do drawing routine'
Dispgraph
end
end
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on February 04, 2011, 03:28:56 pm
Updatish.

Everything is smoother and faster.
bullets and there speeds are now slow.  (occasional glitch though where bullit sprite is still there but not the object itse;f (in OOP terms :P))

werird...
A have three calcs with me.
1. 84+se
2.84+
3.84+

1 and 2 work
2 and 3 work
1 and 3 doesn't work ...???
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on February 05, 2011, 01:02:44 am
Are you able to send stuff between these calcs at all or is it just during your game? It might just be a timing issue. Could you post the code in the Axe forum?
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on February 05, 2011, 09:39:03 am
Yes, i can send programs between 1 and 3.  only occasionally does it not work.  I think when transferring, it does double checks.
I am very sure it is just a linkport issue.
calc 1. My I/O port has the sides covered in cold ,hot glue.
calc 2. Perfectly clean.  Barely ever uses linkport
calc 3. Well, if you knew the person, you would understand.....
Title: Re: [Project] Calc of Duty
Post by: Happybobjr on February 05, 2011, 01:01:07 pm
Major improvments.

Collision checking was made.
Everything was optimized so much that I can't even begin to explain.
So much smoother.


new commands
* + - Increases the number of times subroutine GET is called
* - - Decreases  ^


All bugs that can be fixed were fixed.

New bug
* Random occurrence that when a bullet is destroyed, it will not disappear.  Don't worry, it can't hurt you or anything.

Sorry no screeny. New version of wabbit isn't liking linking.
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on February 06, 2011, 12:02:45 am
Yes, i can send programs between 1 and 3.  only occasionally does it not work.  I think when transferring, it does double checks.
I am very sure it is just a linkport issue.
calc 1. My I/O port has the sides covered in cold ,hot glue.
What happened to it? O.O

calc 3. Well, if you knew the person, you would understand.....
<immature>I hope the person did not attempt what I think! O.O</immature>

Nice to see a new update, though. :)
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on February 06, 2011, 10:31:34 am
I would prefer not to talk about it...

I am going to make backups with calc 1 and 3, erase all memory.  then see if connection is fixed.  I doubt it, but it's always worth a try.
Title: Re: [Project] 2 Player shooter game.
Post by: DJ Omnimaga on February 07, 2011, 11:34:02 pm
Hmm ok. I hope it's nothing too bad, tho. X.x

Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on August 29, 2011, 10:43:10 pm
Wowzers this is old.  I will be updating this soon.  (when i get a chance for transfers)

* I twiddled with the concept of barricades.
* I made spawning to different locations.
* It is about over 9000 times smoother and better :P
*bullets are faster than humans.

I really need someone to fix my collision routine.
It will lag out if there is a bullet in the game and your y value ='s the bullets y value :P.
I will give candy to someone who helps (not really about the candy :P)
Title: Re: [Project] 2 Player shooter game.
Post by: runeazn on August 30, 2011, 12:04:02 pm
Do you know why Nspire 84+ SE + 84+ BE
crashes?
Title: Re: [Project] 2 Player shooter game.
Post by: fb39ca4 on August 30, 2011, 03:52:50 pm
Timing issues, probably. Nspires don't run at exactly the same speed as a real calc.
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on August 30, 2011, 08:09:56 pm
No, the can receive, but they can't send without crashing...
And I messed up the game :/
Probably best for me to start again from scratch.


I never realized some of the mistakes in it :P  oh well.  shower then upload my source.
Title: Re: [Project] 2 Player shooter game.
Post by: runeazn on September 11, 2011, 06:51:40 am
The speed couldn't be the problem 83 and 84 different spores too.
Bhutan if it can't send isn't that a bug?
Title: Re: [Project] 2 Player shooter game.
Post by: Happybobjr on September 11, 2011, 09:58:37 am
Not exactly sure what you said :/
When connected to an 83+, It constantly sends a one or a 4 instead of the one it was supposed to.
On the Nspire emulation, it can't send anything without crashing.

I kinda killed this project for now on accident by absolutely screwing up my source code :/