Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Ashbad on December 22, 2010, 11:20:23 am

Title: Vector Tunnel Game
Post by: Ashbad on December 22, 2010, 11:20:23 am
A tunnel game based completely on angle movements and vectors! 

I can't upload, but can someone copy the code into their calc and then transfer for me?

I won't post the source until someone says yes, though.  Otherwise that's 10 minutes wasted :P
Title: Re: Vector Tunnel Game
Post by: Munchor on December 22, 2010, 11:21:00 am
I can do that for you, PM me :)
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 22, 2010, 11:21:37 am
Sure, when I get home, I don't have enough time now before class ends.  Can you be on in about 1 hour?
Title: Re: Vector Tunnel Game
Post by: Munchor on December 22, 2010, 11:22:54 am
Sure, when I get home, I don't have enough time now before class ends.  Can you be on in about 1 hour?

Probably I will, since I've been here all day :)
Title: Re: Vector Tunnel Game
Post by: shmibs on December 22, 2010, 01:43:27 pm
i'll be here all day as well, if he isn't
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 22, 2010, 01:44:14 pm
I'll post the source here in 15 minutes max, just found a collision bug with my triple vector mode :P
Title: Re: Vector Tunnel Game
Post by: DJ Omnimaga on December 22, 2010, 01:54:01 pm
I am curious about the vector thing. is it like in Adobe Illustrator or something in the way it is not pixel-based? Because that seems kinda interesting. I hope someone can post a screenshot soon.
Title: Re: Vector Tunnel Game
Post by: Builderboy on December 22, 2010, 03:19:07 pm
Sounds interesting, can't wait to see :D
Title: Re: Vector Tunnel Game
Post by: DJ Omnimaga on December 22, 2010, 11:07:34 pm
I'll post the source here in 15 minutes max, just found a collision bug with my triple vector mode :P
I take it you couldn't fix it yet, right, seeing as it has been more than 15 minutes? D:
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 02:49:33 pm
got it on notepad right now, who could get it for me?  if not I'll just post the source here if no one responds in 24 hours...
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 02:55:32 pm
got it on notepad right now, who could get it for me?  if not I'll just post the source here if no one responds in 24 hours...

Send it to me or post it, I'll give you .8xp with Source and .8xp with Executable Game, just choose shell.
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 02:57:04 pm
No shell, but thanks for the choice ;)

And, the link says some instructions, in my new thread that only members can see that yuo can store source code.  And, of course, hold the entire source ;)

http://ourl.ca/8462/156781
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 03:03:49 pm
http://ourl.ca/8462/156785 (http://ourl.ca/8462/156785)

Hum...
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 04:00:26 pm
Oh, for that, you know the one token called >Dec?

I believe it is in the math menu, second from top ONCE you have axe activated.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 04:04:20 pm
Oh, for that, you know the one token called >Dec?

I believe it is in the math menu, second from top ONCE you have axe activated.

Which is the one I'm using, no bugs about that. That's not the error :S

Code: [Select]
Pause 4000
Is also giving error, ???
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 04:16:24 pm
What type of calc are you using?

That should NEVER give an error...
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 04:17:15 pm
What type of calc are you using?

That should NEVER give an error...

Axe 0.4.6, calc doens't matter.
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 04:17:43 pm
weird...

eh, I am still stuck with the highly stable 0.4.4.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 04:41:18 pm
Hum... I compiled it, but not sure if it is OK. What are the keys??

(http://img.removedfromgame.com/imgs/Screenshot001.gif)
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 05:03:39 pm
yeah that's not quite right... at all :P


The score in the top left should increase, and something weird seems to be happening in the settings menu as well...

And, what's with those weird symbols?  you can just replace them with normal spaces :P
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 05:05:31 pm
yeah that's not quite right...


The score in the top left should increase, and something weird seems to be happening in the settings menu as well...

And, what's with those weird symbols?  you can just replace them with normal spaces :P

I didn't change the code, where can I upload my code? (I did change a few things, but not important). I'll put it in the other post :S
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 05:05:50 pm
Or right here ;)
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 05:12:03 pm
SourceCoder is not OK with this kind of files, but yet:

http://sc.cemetech.net/?xpi=b8dde6cec4ad480f20d55b6d0843df7b (http://sc.cemetech.net/?xpi=b8dde6cec4ad480f20d55b6d0843df7b)
Title: Re: Vector Tunnel Game
Post by: AngelFish on December 23, 2010, 05:13:39 pm
Doesn't mean anything. Sourcecoder often doesn't tokenize hand typed commands, so I'd recommend checking to see if everything that should be tokenized is.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 05:14:50 pm
In the file attached, everything is tokenized...

Title: Re: Vector Tunnel Game
Post by: AngelFish on December 23, 2010, 05:20:55 pm
For one thing, your variable declarations are all messed up.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 05:21:14 pm
For one thing, your variable declarations are all messed up.

Example?
Title: Re: Vector Tunnel Game
Post by: AngelFish on December 23, 2010, 05:26:56 pm
0 →  {{L1}+6}

It's not invalid, but you're wasting bytes.

Also, how do you exit the settings screen? I pressed all of the buttons and it wouldn't exit. I had to crash Wabbit to get out.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 05:30:12 pm
0 →  {{L1}+6}

It's not invalid, but you're wasting bytes.

Also, how do you exit the settings screen? I pressed all of the buttons and it wouldn't exit. I had to crash Wabbit to get out.

Yes, you can't it seems.
Title: Re: Vector Tunnel Game
Post by: AngelFish on December 23, 2010, 05:39:35 pm
Also, you used the invalid character % a LOT. I replaced it with "3"
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 06:37:43 pm
0 →  {{L1}+6}

It's not invalid, but you're wasting bytes.

Also, how do you exit the settings screen? I pressed all of the buttons and it wouldn't exit. I had to crash Wabbit to get out.

It's 0 -> {L1+6}

And that invalid character should be a normal space...

No offense dude, but the source is a bit messed up.  Thanks for trying, though ;)
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 06:40:41 pm
Quote
No offense dude, but the source is a bit messed up.  Thanks for trying, though

No!!! It's the same, Source Coder's code is messed up -.-

I am not happy now, the code is exactly the same. The same. Not 'messed up', you're inventing.
Title: Re: Vector Tunnel Game
Post by: AngelFish on December 23, 2010, 06:41:07 pm
Ashbad, that was copy-pasted directly from sourcecoder :P

It looks like the source was corrupted by the time I got to it.
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 07:01:57 pm
http://ourl.ca/8462/156781

My source exactly from notepad, with notes.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 07:02:42 pm
http://ourl.ca/8462/156781

My source exactly from notepad, with notes.

Which is equal to mine...  I didn't change a thing.
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 07:04:19 pm
There are some parts changed, but not a huge amount

I'll try and change it myself in sourcecoder and export as an .8xp, then could you transfer on calc, send back to comp and give to me plz?
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 07:05:20 pm
There are some parts changed, but not a huge amount

I'll try and change it myself in sourcecoder and export as an .8xp, then could you transfer on calc, send back to comp and give to me plz?

Yes, but SourceCoder won't tokenize everything, since it's Axe, the rest of it just type as string and I'll change it to a token on calc :D
Title: Re: Vector Tunnel Game
Post by: AngelFish on December 23, 2010, 07:17:52 pm
http://ourl.ca/8462/156781

My source exactly from notepad, with notes.

Yeah, that's NOT what I downloaded.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 23, 2010, 07:19:49 pm
http://ourl.ca/8462/156781

My source exactly from notepad, with notes.

Yeah, that's NOT what I downloaded.

Weird then... I didn't add or remove any line.
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 23, 2010, 09:04:16 pm
eh, you know what, I'll just convince my dad to get me that damn cable, and I'll upload this alongside pyyrix.

Hopefully by then I can finally work out some more physics for a Bowman game... ;) and upload that too
Title: Re: Vector Tunnel Game
Post by: Munchor on December 24, 2010, 06:22:43 am
eh, you know what, I'll just convince my dad to get me that damn cable, and I'll upload this alongside pyyrix.

Hopefully by then I can finally work out some more physics for a Bowman game... ;) and upload that too

None of your friends can lend you one?
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 24, 2010, 08:39:40 am
none of them have one :P

Let's see I if can get my dad to order TODAY

Oh and about the bowman game just got the physics worked out, just have to get some practical other things too :P
Title: Re: Vector Tunnel Game
Post by: Munchor on December 24, 2010, 09:05:52 am
none of them have one :P

Let's see I if can get my dad to order TODAY

Oh and about the bowman game just got the physics worked out, just have to get some practical other things too :P

I really don't know how you can code on-calc...
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 24, 2010, 11:08:48 am
none of them have one :P

Let's see I if can get my dad to order TODAY

Oh and about the bowman game just got the physics worked out, just have to get some practical other things too :P

I really don't know how you can code on-calc...

sup you dawg you man all I hav to doo is turn on the damn button and put words in.  That's how I write on-calc man shee-it

I so good at that man I even wrote axe parser with axe parser so you can parse whil;e you parse

(http://yoyodawgdawg.com/pics/yo-dawg-the-original.jpg)
Title: Re: Vector Tunnel Game
Post by: jnesselr on December 24, 2010, 11:18:22 am
Remember, this isn't in randomness. ;-)
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 24, 2010, 11:19:42 am
kk, you're right :P

but no scout, I can still code on calc, and by the time I get the cable, I'll be able to upload like 4 full out games all at once O.o
Title: Re: Vector Tunnel Game
Post by: thepenguin77 on December 24, 2010, 11:40:23 am
Wow, Ashbad, you don't have any mini usb B cables? That's unheard of to me, I have like 8. I bet you could pick up an overpriced one at Best Buy or Radio Shack. Probably even Walmart.

On further research: Best Buy in-store $15. Walmart online (maybe in store) $7. And Radio Shack is the cheapest with $4 online, and maybe $.69 in store.
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 24, 2010, 11:41:31 am
oh no, I have like 3, but the port is busted :P

so I'm looking for a graphlink somewhere, in fact, just found that amazon is selling for a cheap prince of $17 :P
Title: Re: Vector Tunnel Game
Post by: thepenguin77 on December 24, 2010, 11:44:03 am
Oh, ok. I managed to get my graphlink at Best Buy also. I am actually still surprised that they had it at the time.
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 24, 2010, 11:44:56 am
yeah, they don't have it anymore, but at least amazon does, and my dad has express shipping so WHEN HE FINALLY FEELS LIKE ORDERING IT it'll be a two day wait :(
Title: Re: Vector Tunnel Game
Post by: Munchor on December 24, 2010, 02:13:45 pm
yeah, they don't have it anymore, but at least amazon does, and my dad has express shipping so WHEN HE FINALLY FEELS LIKE ORDERING IT it'll be a two day wait :(

Giv'him lots of hugs and kisses, say good stuff about him, make a game where he's the main character :P That could work ;)
Title: Re: Vector Tunnel Game
Post by: DJ Omnimaga on December 26, 2010, 05:08:13 pm
Now that you got the cable, I assume you'll upload this soon too?
Title: Re: Vector Tunnel Game
Post by: Munchor on December 26, 2010, 05:09:02 pm
Now that you got the cable, I assume you'll upload this soon too?

I wonder why he has only uploaded Pyyrix yet :S
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 26, 2010, 07:07:22 pm
Lol I'll upload this now.  And trust me, it's really fun, and playing with the special effects is even cooler. :D
Title: Re: Vector Tunnel Game
Post by: DJ Omnimaga on December 26, 2010, 07:12:47 pm
Cool :D

Will it use Axe 0.4.7? It seems even faster with Line()
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 26, 2010, 07:15:53 pm
yeah, i tried it with that, it's now >45 FPS on the lower setting with only some blocks and no special effects.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 26, 2010, 07:36:12 pm
yeah, i tried it with that, it's now >45 FPS on the lower setting with only some blocks and no special effects.

How do you test FPS?
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 26, 2010, 07:58:43 pm
See how many cycles are in 10 seconds, then determine that divided by the score incrementation.


Now available for download.
Title: Re: Vector Tunnel Game
Post by: Munchor on December 26, 2010, 08:10:02 pm
http://www.omnimaga.org/index.php?action=downloads;sa=view;down=614 (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=614)

Nice job!
Title: Re: Vector Tunnel Game
Post by: kindermoumoute on December 26, 2010, 08:14:02 pm
Great job !
Title: Re: Vector Tunnel Game
Post by: DJ Omnimaga on December 26, 2010, 10:00:12 pm
I like the block mode, especially. I always set accuracy to 1, though, because otherwise it's so fast. O.O

On a side note should this topic be merged with the other one? (same for Pyrix, maybe)
Title: Re: Vector Tunnel Game
Post by: AngelFish on December 26, 2010, 10:23:12 pm
Ashbad, can you make the controls a bit more responsive? It's kind of annoying to have to hold the controls for a good fraction of a second before they respond significantly.
Title: Re: Vector Tunnel Game
Post by: Ashbad on December 27, 2010, 08:45:26 am
I like the block mode, especially. I always set accuracy to 1, though, because otherwise it's so fast. O.O

On a side note should this topic be merged with the other one? (same for Pyrix, maybe)

Why would it be merged?  I see no reason why -- they're two completely separate games I happened to upload at the same time.

Edit: oh wait I thought you meant to combine this with pyyrix -- my bad :P


Qwerty:  it's not unresponsive at all, it's just that when you touch a left or right key, it changes the angle of the vector by a small margin.  You can fix that by changing the precision to 10 degrees and accuracy to life like.
Title: Re: Vector Tunnel Game
Post by: DJ Omnimaga on December 27, 2010, 01:13:09 pm
Nonono I meant merging Vector Tunnel game with the other one. I was wondering since it was still under development. And yeah the controls actually reminds me Supersonic Ball. You had to hold down the movement keys for 5 frames to change the ball movement direction or accelerate/slow down. I wanted to have it move gradually, but I couldn't figure out how.