Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Deep Toaster on December 05, 2010, 12:46:34 am
-
Here it is, finally got a demo off my calc (through Tokens). It should work pretty well without any bugs (mostly because it doesn't have much code now anyway). I'll be working on the scrolling background and some sprite stuff next.
By the way, if you haven't played PapiJump before, here it is: http://www.sunflat.net/en/games/papijump.html (not a rickroll).
You'll have to compile it yourself, though, since Wabbit's Export button is still broken and I'm too lazy to type the hex into Tokens ;)
EDIT: Latest update here: http://ourl.ca/5580/269004/
Download here: http://www.ticalc.org/archives/files/fileinfo/435/43518.html
(http://www.omnimaga.org/index.php?action=dlattach;topic=5580.0;attach=5709;image)
-
Looks nice! I think this is the best version for calcs so far. ;D
-
This looks really nice, the scrolling is nice and smooth, and the ball even can loop from sides of the screen! Great job!
-
I hope give you some idea with those video of abduction game (android) : here (http://www.google.fr/search?q=abduction+android&hl=fr&prmd=iv&source=univ&tbs=vid:1&tbo=u&ei=upT7TKnPMc-p8QPC49HXCw&sa=X&oi=video_result_group&ct=title&resnum=4&ved=0CEgQqwQwAw).
-
I have an idea that might get this featured
*happybobjr runs to the basement to get his soldering iron.
-
Thanks!
I have an idea that might get this featured
*happybobjr runs to the basement to get his soldering iron.
XD I don't have an accelerometer lying around, though :(
I hope give you some idea with those video of abduction game (android) : here (http://www.google.fr/search?q=abduction+android&hl=fr&prmd=iv&source=univ&tbs=vid:1&tbo=u&ei=upT7TKnPMc-p8QPC49HXCw&sa=X&oi=video_result_group&ct=title&resnum=4&ved=0CEgQqwQwAw).
Yep, that's sorta the game I'm going for. More specifically this:
-
I am making one right now.
I have all that I need.
1. I hardware store less that a tenth of a mile from my house.
2. A 2.5 mm jack (that i already soldered wires to) at my house.
3. Alluminum foil.
4. A soldering iron and solder.
5. A high quality wood shop in my basement.
6. Skillz (at speeling)
7. Wood.
-
I am making one right now.
You know ... that would be awesome. Imagine how many iPhone games you could play with one...
-
I should be finished in less than 10 min.
-
Awesome, I'm planning to convert this to pure ASM anyway (it's pretty plain right now anyway). Work together on it?
-
umm sure. Want me to sketch you up how to make it when i'm done.
Progress.
Step 1. 2.5 mm jack connection is perfect. (finished)
Step 2. Making a box.
Edit: lost my wallet. I have to run to the hardware store...
-
I hope give you some idea with those video of abduction game (android) : here (http://www.google.fr/search?q=abduction+android&hl=fr&prmd=iv&source=univ&tbs=vid:1&tbo=u&ei=upT7TKnPMc-p8QPC49HXCw&sa=X&oi=video_result_group&ct=title&resnum=4&ved=0CEgQqwQwAw).
funny, my friend was showing that to me yesterday, and I guess they are kinda simular! :D
-
WHHAAAT 1000posts! (ashbad)
(http://www.omnimaga.org/index.php?action=dlattach;topic=5580.0;attach=4795;image)
This is very good! Awesome engine and physics!
-
I finished!
ok... My calc won't connect to my pc. cleared the ram. lost some files (wow i'm dumb) now it connects.
-
How would you use the accelerometer with the link cable? You only get two wires to mess with.
-
3 actually.
left right and ground.
Left + ground = 1 ( i think)
Right + ground = 2 ( i think)
nothing + ground = 3
Left + right + ground = 0
making a video.
-
yeah, but you can't mess with ground. It's just ground. You do have 4 values, though.
-
yes, i only need 3.
-
yes, i only need 3.
Oh okay. Are you using the pull up resistors?
-
actually i just made my own.
just as a test.
you know, like $2 to make kind of thing
-
actually i just made my own.
Oh, okay. What model accelerometer are you using?
-
ya, i am not using one.... i am just closing circuits right now.
-
lol, I prefer arrows. ;)
-
Ya, this was just a quick make of what i am planning.
In the future i will make it much smaller and better.
-
Ya, this was just a quick make of what i am planning.
In the future i will make it much smaller and better.
I know you can get an accelerometer from radio shack pretty cheap. Which gives me the idea of putting one into my calculator along with a piezo or small speaker. Then, when I run some program, or turn the calc off, it makes it so that if the calc is moved, an alarm sounds. Would be interesting. ;-)
-
When i get the time, i am planning to bring it down to about .5 inch by .5 in by 2 inches.
-
Nice happybobjr! Also you got the same keyboard as me :P
Also Deep I tried the game and it's really great! The physics are different than the other calc Papijump clones as well so it's more challenging. The only thing is that you should add a maximum speed, because there appears to be done o.o
-
When i get free time, i will be working on a cylindrical design that will make it very size efficient.
-
Nice! Now in a couple months, there will be over 9,000 clones that all suck and yours will become unappreciated.
-
DAMNIT, DEEP THOUGHT!
i just made this EXACT same program earlier and was going to upload it tonight XD
nice going, though; very well made
-
DAMNIT, DEEP THOUGHT!
i just made this EXACT same program earlier and was going to upload it tonight XD
nice going, though; very well made
FINALLY I beat someone on an idea :D
Thanks. You should still upload yours, though, so we can try it :)
The only thing is that you should add a maximum speed, because there appears to be done o.o
Right, I took that out to save a few bytes, but I should add that in again. It's fun going at infinite speed, though XD
Nice! Now in a couple months, there will be over 9,000 clones that all suck and yours will become unappreciated.
Yep :) Unless I switch to Doodle Jump or something.
-
Reminds me of doodle jump kinda...nice job deep thought
-
nice!! im impressed about the speed. =)
-
That looks and plays awesome! Reminds me a bit of doodle jump :)
-
Thanks. You should still upload yours, though, so we can try it
there's no way i'm going to upload it in it's current state as, aside from the sprites, it's the EXACT same thing. however, i have a plan for something i can add to it...
-
That would be nice. Maybe you could turn the game into an Ice Climber clone, unless it was already done for calcs?
-
lol, I'm working on doodle jump, I fixed the erase problem now, so I'm gonna add mosters then powerups later, so maybe upload today or tomorrow. ;)
EDIT: how did you get such good physics? :o
-
Oh wait I forgot you were working on one lol. I hope you upload it soon. :)
And yeah the physics are nice. It makes the game more challenging too. ;D
-
nice!! im impressed about the speed. =)
I actually have a Pause 64 in there, so I can add a lot more ;)
lol, I'm working on doodle jump, I fixed the erase problem now, so I'm gonna add mosters then powerups later, so maybe upload today or tomorrow. ;)
EDIT: how did you get such good physics? :o
Darn, I'm working on that too... Oh well, I'll work on Ultimate instead :D
As for the physics, I have X inflated by 256. There's a separate variable H (for horizontal velocity) inflated the same amount, so all I have to do is change H to do acceleration.
I thought having X just move left and right like in any other game would be too easy, since on the iPhone you have to be careful with tipping too much, so that's why I have extra physics stuff.
-
Yeah true. In Ztrumpet's or that other person's Papijump Axe clone, it's really easy to do a TAS of it and even at normal speed it can be really easy in the 2nd one if you play on a real calc.
-
you mean the one by guy######? (Sorry, I can't remeber it. XD)
I just did move left and right at constant rates and hang in the air for a sec before coming down. Maybe I should make the acceleration parabolic... ;)
-
That might be him. The platforms were just lines. Ztrumpet's version required you to turn the calc sideways and required Axe 0.0.3 or something.
-
UPDATE
Just got the scrolling background (which was in the original version (http://www.sunflat.net/en/games/papijump.html)) working. I still don't have my cable, so I'll upload in a few days.
-
first time of seeing this topic, but woot Papijump :w00t:
-
Wow this is amazing, so much better than mine. I've never tried messing with physics before, would someone be willing to teach me sometime?
-
for axe it isn't *too* difficult, but takes some getting used it. in fact i think the implementation is so neat and probably fast i use it whenever i make a computer game.
basically, you make your screen larger. there are 96x64 pixels on the screen. you can only move a pixel at a time though. you can't move a half of a pixel, which is why realistic physics like gravity are difficult to implement. so, instead of having our Y values range from 0 to 63, we make them range from 0 to (63*256). the 256 is arbitrary, and most widely used for speed reasons. you could have a 16 there. all it denotes is precision. now your Y values, rather than being restricted to a 0-63 and therefore always in align with a pixel, can be 0-16128, allowing you to technically place a sprite at X,23.25 pixels. of course your pt-on commands would be Pt-On(X/256,Y/256) since you can't draw a sprite off screen. but this setup greatly helps dealing with physics. if you understand this but don't understand what calculations you should be doing, i'll point you to Builderboy's tutorial (http://ourl.ca/4279/79303) on gravity and velocity, which will help you understand the main idea in BASIC. if you need any further help PM me and i can give a simple gravity program (:
-
UPDATE
Just got the scrolling background (which was in the original version (http://www.sunflat.net/en/games/papijump.html)) working. I still don't have my cable, so I'll upload in a few days.
Nice! Is it parralax scrolling?
-
Awesome! I can't wait to see it with scrolling backgrounds. ;D
By the way, it's much better than mine: http://ourl.ca/4161/77152 (But mine was the first one in Axe. :w00t: )
Edit: I should update mine so it's not prgmLOL. :D
-
UPDATE
Just got the scrolling background (which was in the original version (http://www.sunflat.net/en/games/papijump.html)) working. I still don't have my cable, so I'll upload in a few days.
Nice! Is it parralax scrolling?
Yep, and my first time messing with it :w00t: It took about 500 bytes just to store the background, though. I'll have to fix that.
Awesome! I can't wait to see it with scrolling backgrounds. ;D
By the way, it's much better than mine: http://ourl.ca/4161/77152 (But mine was the first one in Axe. :w00t: )
Edit: I should update mine so it's not prgmLOL. :D
Wow this is amazing, so much better than mine. I've never tried messing with physics before, would someone be willing to teach me sometime?
Wow, I never noticed those, sorry...
guy6020665, I can help if you want ;D But Builderboy's tutorial is pretty good.
-
Cool to hear it will be parralax scrolling. Will they be backgrounds that repeats vertically? If so, you could maybe use the code I used in Supersonic Ball to achieve my parralax scrolling. That would be much faster than just drawing 96 sprites.
And woah, I remember about prgmLOL. Good memories of Axe's early days :D
-
Cool to hear it will be parralax scrolling. Will they be backgrounds that repeats vertically? If so, you could maybe use the code I used in Supersonic Ball to achieve my parralax scrolling. That would be much faster than just drawing 96 sprites.
Yeah, it repeats vertically with 48 rows. How does Supersonic do the parallax? I used Vertical +r and Copy( to move the next row over to the first row of L6.
-
I used this
For(Z,0,12
Pt-On(Z*8-Q,0,{S+L+10}*8+R+Pic1)
End
copy(L6,L6+96,672)
I used to use a for loop to copy the first row on the ones below one by one but then Quigibo gave me another code. Don't ask me how that copy code actually manages to work, though, as I have no clue. :P
-
I used this For(Z,0,12
Pt-On(Z*8-Q,0,{S+L+10}*8+R+Pic1)
End
copy(L6,L6+96,672)
I used to use a for loop to copy the first row on the ones below one by one but then Quigibo gave me another code. Don't ask me how that copy code actually manages to work, though, as I have no clue. :P
I believe that should be For(Z,0,11) for even more speed. ;)
If you need speed, you can always scroll like this: http://ourl.ca/6248/110297
Of course, since you will only have one sprite that will be scrolled, I think my method's a little overkill. :P
-
Oh, for Papi I didn't even need sprites (it would take too much work and would be bigger anyway). The background is a scrolling 96x48 picture, like this one:
(http://t3.gstatic.com/images?q=tbn:ANd9GcSacBbe9gsVBz6sTSkWHeg0FGJRQ3ooEPEMFOoLXhX6zan4PQa_)
So basically I just copy 12 bytes for each row :D
-
I used this For(Z,0,12
Pt-On(Z*8-Q,0,{S+L+10}*8+R+Pic1)
End
copy(L6,L6+96,672)
I used to use a for loop to copy the first row on the ones below one by one but then Quigibo gave me another code. Don't ask me how that copy code actually manages to work, though, as I have no clue. :P
I believe that should be For(Z,0,11) for even more speed. ;)
If you need speed, you can always scroll like this: http://ourl.ca/6248/110297
Of course, since you will only have one sprite that will be scrolled, I think my method's a little overkill. :P
Well in Supersonic Ball I scrolled horizontally so using 0,11 would have caused a blank space to appear to the left or the right, like on NES games.
-
Well, here it is:
Next up is the title screen and the replay screen after you lose the Game game.
EDIT: Wow, I actually capitalized the word "Game" out of habit x.x
/me loses and feeds himself to the Grand Lobster
-
Whoops, sorry DJ. I forgot about that. :-[
Looks great Deep! Excellent work as always. :)
-
Wow, I think this is the first time I've seen a screenshot of this. (I really need to keep up with the projects more :-[)
Great job, Deep Thought! :D
-
That looks great! now we just gotta figure out how to incorporate that with Happybobjr's accelerometer. :P
-
lmao, It is easy to moddify the code.
But designing a small one that will be great for calc size... I'm trying my hardest.
i was thinking of something like this.
________________
|((((() O ())))))))|
||
()
2 springs in a tube . ||thing = jack.
O = small metal ball.
-
Awesome Deep! It looks great too! By the way it runs much smoother on calc or emulator than it does in the screenshot. :)
-
Sooo Addicting...
Anyway, this was a pretty fun game. Actually, I got bored at one point and tried to go up as far as I could only holding the right key.
I got a score of 5420 doing so, and I've scored >9000! a few times as well (playing normally).
-
Wow, it's quite floaty. I need to may mine that floaty! >:D
-
Thanks!
/me made something fun! :D
Wow, it's quite floaty. I need to may mine that floaty! >:D
Floaty? How?
Sooo Addicting...
Anyway, this was a pretty fun game. Actually, I got bored at one point and tried to go up as far as I could only holding the right key.
I got a score of 5420 doing so, and I've scored >9000! a few times as well (playing normally).
Darn, still gotta take that out.
-
Wow, it's quite floaty. I need to may mine that floaty! >:D
Floaty? How?
Left to Right. :) I like it. ;D
-
this looks promising. :) uploading to calc. nice job
-
Blump.
Did a lot of updates: it actually has a menu now (and even has the Game Over menu, exactly like in the iPhone game :D). Also did some sprite work and other stuff, including high score writeback, so here it is.
By the way, I have two copies of it, one with a gray-on-white background (white.gif) and one with a white-on-gray background (black.gif). Which one do you like better? I'll post a poll.
EDIT: The white-on-gray background screenie (the one on top) looks kinda flickery. It really isn't so flickery on-calc, and the entire game is much faster. I just suck at making screenshots, so try it for yourself :-\
-
Great! I prefer the white on gray background one and I love the game over screen. Both looks nice actually. Glad to see an update on this :)
-
Can we use [Alpha] or something on the main menu to flip in between? ;D
Looks excellent! :D
-
That's a good idea...
But the background's hard-coded as a 96x48 pic that I copy over using Copy( when it scrolls. How would I copy the negative over?
/me just remembered something: the newest version of Axe supports not(!
I'll try that :D
-
You should save the score in an avar, writeback doesn't work well for those of us who keep games in groups.
Or am I the only one who does that?
-
You should save the score in an avar, writeback doesn't work well for those of us who keep games in groups.
Or am I the only one who does that?
But then you're leaving the appvar in RAM, and it's just as risky as leaving the entire program there :) I've always liked to pack everything in a single program, so users don't have to figure out which vars go with which game.
-
Update (probably last one): I've submitted it to ticalc (http://www.ticalc.org/archives/files/fileinfo/435/43518.html), so this is pretty much the final version unless some bug appears (or if I decide to add the other modes). Enjoy!
And a sidenote: I had a four-level grayscale version on my calc that allowed you to switch between white-on-black and black-on-white modes, but I gave that up. Didn't work too well. And seeing as the vote is tied, I decided to stick with the white-on-black background :D
-
Very impressive game Deep Thought.
Ranman amazed once again!
-
Awesome Deep thought! Are you planning to put it here too eventually? (In the staff downloads) I need to try this new version eventually. :)
-
Whoa, I forgot, sorry x.x
I'll do it as soon as I have the time.
-
PapiJump
http://www.omnimaga.org/index.php?action=downloads;sa=view;down=626
-
Ok cool :D
I'll merge the topic, though.
-
Darn, forgot about the second topic. Sorry.
-
No problem. ^^
-
Updated (should be up in a few days). The previous version ran too quickly for some reason.
-
(http://i49.tinypic.com/mil4b5.jpg)(http://i47.tinypic.com/m784eg.jpg)
(http://i48.tinypic.com/mmwxz.jpg)(http://i50.tinypic.com/243rgph.jpg)
(http://i47.tinypic.com/2r3kzlh.jpg)(http://i45.tinypic.com/2a5g0gy.jpg)
(http://i48.tinypic.com/6892c6.jpg)(http://i46.tinypic.com/ndlnkk.jpg)
Play PapiJump by tilting your calculator. Video coming soon!
Thanks to thepenguin77, KermM, and everyone else who helped me learn about the link port :)
EDIT: Not sure why the first two are upside-down...
-
Wow that's really cool! O.O I can't wait to see a video :D. Would it be newsworthy? (Since The Game was)
-
*Ki1o lost :P
Anyways, I can't see the images :(
-
Maybe your parents blocked Tinypic? D:
-
Yay! Someone else with an 83+! So... is that what an accelerometer is/does? I assumed it made something faster :P
-
Kerm Martian corrected me—it's not actually an accelerometer but a simple tilt sensor.
Basically, it's a little thing that detects if the calculator's tilted to the left or right. I use it to simulate a left/right keypress in the PapiJump game, so it's more like playing PapiJump on an iOS device.
-
Yay! Someone else with an 83+! So... is that what an accelerometer is/does? I assumed it made something faster :P
I actually have two 83+, but one has a broken link port. :P
-
84s work too—just hook it onto the I/O link thing :P
EDIT:
It's actually a lot easier to play than the video makes it seem (I just need someone else to record the video for me), even though the sensor I made is pretty crappy. (First hardware project :w00t:)
-
After seeing the video you forgot to put in your post ( :P) I noticed it seemed to lag a bit ???. FOr example, you moved half a second or so after tilting the calc. I was wondering if that can be fixed and if you can increase sensitivity as well so you don't need to tilt the calc at 45° angle to move around?
-
I blame crappy sensor—it often takes a 60-degree tilt for it to notice anything, and sometimes it doesn't notice anything at all. I'll have to work on a better version of that sometime.
-
wow, i like the idea a lot :D
-
Great :o
Could you post the schematics?
-
Reminded me of critor's test with the Vernier accelerometer sensor.
http://tiplanet.org/forum/viewtopic.php?t=10725
(video coming soon ?)
Which also reminded me of Jim's WebSpire capable of running Nspire-Lua scripts in a browser (JS powa), and linking the device's sensor to actual lua variable so the game would work.
Porting that to the vernier sensor variable would be then easy, I guess :D