Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: AssemblyBandit on November 09, 2013, 06:18:26 pm

Title: Jumper for the +C
Post by: AssemblyBandit on November 09, 2013, 06:18:26 pm
The players have spoken! Jumper is going to be a game based off of the jumping games such as DoodleJump and PapiJump. You basically keep jumping on platforms to see how high you can get. This game will use a modified Buttonz engine so speed shouldn't be an issue and it should be released quick.

*Make your own character!*

Post your 8x8 sprite here and it will be featured in the character selection screen along with your name in a credits screen or  (space issue) help file!
PNG or BMP formats are the best.

If space becomes an issue (probably not), I will have a vote to select the favorites.
Title: Re: Jumper for the +C
Post by: DJ Omnimaga on November 09, 2013, 06:21:56 pm
At first I thought the game would be sideways due to the scrolling issue, but I saw that you would use Buttonz engine (modified), so I guess it should be fast enough. :)

Question, though: What are the sprites and tiles limitations? Do the platforms have to be a single color?
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 09, 2013, 06:34:33 pm
At first, I was thinking about making it sideways but then I thought I'd get a lot of complaints! The sprites don't have any limitations other than being 8x8 (maybe 16x16?) and now that I think about it, I'll try to make any character sprite posted playable in game. I'll just have a character selection screen in the beginning and post the names in a credits screen or in the help file. I'll change the original post. The platforms will be just one color to make it simple for now.
Title: Re: Jumper for the +C
Post by: Sorunome on November 10, 2013, 08:16:47 am
Nice, one of those for the +C! That'll be awesome :D
Title: Re: Jumper for the +C
Post by: TheMachine02 on November 11, 2013, 11:38:49 am
Wow can't wait to see the result  :D
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 18, 2013, 05:45:01 am
Thanks Sorunome and TheMachine02! Its going to be a DCSE exclusive. So far I've gotten about 4 different characters, no video or demo yet unfortunately, I've been skipping ahead and writing some engines for other games since I've already finished this one.
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 21, 2013, 05:41:41 am
Here's an early demo, keeping the speed up was harder than I thought it would be.

Title: Re: Jumper for the +C
Post by: Sorunome on November 21, 2013, 09:42:30 am
But you still managed to get it up high, great job! :D
Title: Re: Jumper for the +C
Post by: Hayleia on November 21, 2013, 12:00:03 pm
The original game never goes faster than that, except when bouncing super high or using a jetpack, but you have a slowdown before going back down so it is not a big problem.
Note, that last sentence was a "as far as I can tell from having played that game twice in my life" so it may not be very accurate.

Anyways, looks fast enough for me, great job ! :D
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 21, 2013, 04:46:08 pm
Thanks Sorunome and Hayleia! When you get the jetpack or use the spring, it will go faster (especially with the jetpack). The first few iterations of the engine were painfully slow, I originally had planned to use a 16 bit character sprite but it just wasn't going to happen.
Title: Re: Jumper for the +C
Post by: LDStudios on November 21, 2013, 05:03:38 pm
If youre still excepting character sprites
I made this a while ago and wonder how it would look
(sorry the picture is tiny, its 8X8)
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 21, 2013, 05:16:37 pm
Thanks! I'll put it in the game!
Title: Re: Jumper for the +C
Post by: DJ Omnimaga on November 22, 2013, 01:43:05 am
Here's an early demo, keeping the speed up was harder than I thought it would be.



There are Target store ads in the 84+C apps menu now? O.O

Just kidding, this looks good. The speed seems good to me too. :)
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 22, 2013, 02:45:37 am
Thanks! Target was a super secret project that has been deleted I think. After Jumper I might make a small demo or something, it was pretty unique.
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 25, 2013, 03:52:24 am
I haven't made too much progress in Jumper, some rival crews in GTAV were trying to take over my block and I had to put in some work ;) But now I'm back to my real thug life programming the +C.



Keepin it gangster...
Title: Re: Jumper for the +C
Post by: Sorunome on November 25, 2013, 08:58:31 am
Looking awesome, but if you go out left you are supposed to be able to come in right ;)
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 25, 2013, 04:26:08 pm
Yeah, that's not implemented yet, probably going to be after I finish the platforms.


*Edit: Still not in, maybe never going to be put in?
Title: Re: Jumper for the +C
Post by: DJ Omnimaga on November 25, 2013, 08:31:09 pm
Looks pretty smooth :)
Title: Re: Jumper for the +C
Post by: Streetwalrus on November 26, 2013, 03:01:25 pm
Yeah looking nice ! :D
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 26, 2013, 07:18:39 pm
Thanks, its almost finished! Its going to be a pretty good game!
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 30, 2013, 07:00:39 pm
Jumper v1.0 is out!

[ Invalid YouTube link ]

http://www.ticalc.org/archives/files/fileinfo/457/45754.html
Title: Re: Jumper for the +C
Post by: Sorunome on November 30, 2013, 07:26:10 pm
Looking awesome!

Also, it it always solvable, or is there, in thoery, eventually a point where the platforms are too far apart?
Title: Re: Jumper for the +C
Post by: AssemblyBandit on November 30, 2013, 08:53:27 pm
Thanks Sorunome! Platforms never get too far apart. You could keep going forever, but I specifically added in the pink platforms to be too hard to jump on. If your fast and you time it right, you can get past them, but they're pretty quick and they're also distracting.
Title: Re: Jumper for the +C
Post by: tr1p1ea on November 30, 2013, 10:06:30 pm
Just like the real thing! Game looks awesome and looks to run very smoothly! Great work as always :).
Title: Re: Jumper for the +C
Post by: DJ Omnimaga on November 30, 2013, 11:24:03 pm
I didn't have time to try this yet, but hopefully I can soon, because it looks really fun!
Title: Re: Jumper for the +C
Post by: Streetwalrus on December 01, 2013, 02:03:25 am
Wow, you did it again ! :D +1
Title: Re: Jumper for the +C
Post by: Sorunome on December 01, 2013, 03:43:12 am
What happens if your score is greater than 65535? :P
Title: Re: Jumper for the +C
Post by: Streetwalrus on December 01, 2013, 03:55:08 am
I guess he thought about this and made the score 24 bit. :P
Title: Re: Jumper for the +C
Post by: AssemblyBandit on December 01, 2013, 03:56:05 am
Thanks tr1p1ea, DJ, and Streetwalker! Yeah Streetwalker, 24 bits! The score goes up to 16,777,215 but only 9,999,999 can be displayed, anything over that might display garbage characters! I don't think anyone could get that high, my current high score is 163,754. For a real challenge, try starting the game by pressing [MODE] or [TAN] ;)
Title: Re: Jumper for the +C
Post by: Sorunome on December 01, 2013, 04:14:52 am
What will that do O.O
Title: Re: Jumper for the +C
Post by: Hayleia on December 01, 2013, 06:53:12 am
It looks great and smooth :D
Will you implement "realistic" movement ? I mean continuous velocity and not 0 to 1 in 0 seconds ?
(I am talking about horizontal movement)
Title: Re: Jumper for the +C
Post by: AssemblyBandit on December 01, 2013, 08:05:47 am
@Sorunome:


@Hayleia: Thanks! I don't think I'll change the horizontal movement though. When I first started it, I wanted to have realistic physics. I searched around here for some routines but came up with nothing. Then I created some sin and tan tables to be used for horizontal and vertical movement. I tried out the horizontal routine first but I didn't like it so it got scrapped. I made vertical movement to have instant acceleration with velocity gradually changing. In the later levels when you *have* to land on a specific platform its a lot quicker to swap directions without horizontal de/acceleration. Its also easier to land on moving platforms (a little exaggerated in the above video!)
Title: Re: Jumper for the +C
Post by: Sorunome on December 01, 2013, 08:07:12 am
Oh, that are awesome modes :D
Title: Re: Jumper for the +C
Post by: DJ Omnimaga on December 02, 2013, 12:19:50 pm
Awesome game, I just tried it and it's pretty fun. My highscore is 86956 by the way :P
Title: Re: Jumper for the +C
Post by: Streetwalrus on December 02, 2013, 12:52:49 pm
Yup, the secret modes seem to be quite challenging. :D Nice job again.
Title: Re: Jumper for the +C
Post by: DJ Omnimaga on December 03, 2013, 02:39:24 am
Oh wow I didn't notice the secret modes part. They are quite fun but hard lol.

Also what's with the sprite turning into a frog? O.O
Title: Re: Jumper for the +C
Post by: AssemblyBandit on December 03, 2013, 03:49:46 am
Thanks everyone! DJ, what do you mean the sprite turning into a frog?
Title: Re: Re: Jumper for the +C
Post by: DJ Omnimaga on December 10, 2013, 12:17:18 pm
Yeah after playing the game once or twice, the little jumping guy became a frog on both the title screen and during the game. It lasted through about 5 or 6 gameplays, ending after I tried the secret modes.

Edit: oh wait I just realized we could change the character! O.O
Title: Re: Jumper for the +C
Post by: AssemblyBandit on December 10, 2013, 05:14:32 pm
Lol! Yeah, press left or right during the title to change the character. I was hoping he wasn't changing while you were playing the game!
Title: Re: Jumper for the +C
Post by: chickendude on December 10, 2013, 09:15:44 pm
How do you do acceleration? I've never bothered with sine/cosine tables, i generally just give it an initial value and subtract gravity from velocity. Those other modes look pretty wild, a mixture of the moving and disappearing platforms would be great!
Title: Re: Jumper for the +C
Post by: AssemblyBandit on December 10, 2013, 10:08:58 pm
The proper way to do it would be to add acceleration to velocity then velocity to Y but I limit it to only increment the characters position by 2 pixels or scroll the screen if the character is at the top every interrupt. I set H to 100 and increment L by H every interrupt until it carries, then I increment Y twice and decrement H and repeat until it slows down. If I initially set H to 200, it carries every interrupt for a while sending the character moving faster/higher up. You could use a table for acceleration to make the character follow a curve or add some random numbers to simulate wind disruption or equipment failure or something.
Title: Re: Jumper for the +C
Post by: chickendude on December 11, 2013, 12:54:00 am
It's an interesting idea, i generally give coordinates 2 bytes, where the last 5 bits are used as a fraction. You could use the entire 2nd byte for the fraction, but i like having 256 tiles to work with (vs. 256 pixels) and being able to find the character's position in the map quickly by just reading the MSB. I guess the CSE has a larger screen, too, so you'll need to work with a larger area than i do.

It's essentially the same idea you've got, just instead of varying how often to update the Y coordinate, i update it every frame, but with a fraction. So if i add 32 (%00100000), that moves the character one pixel (the first five bits are fractions, changing them won't change the sprite's position). But if i add 16, it moves the character half a pixel (ie. it takes two frames to move the character one pixel). I might start the velocity at 80 (2.5 pixels per frame) with a gravity of 8 (ie. it would take 10 frames for the player to come to a complete stop, though the last few frames the sprite would update very slowly, giving it a nice arc). I'm not sure how sound the physics are, but it looks nice to me :)

Also, that wind idea is really interesting. It'd be cool to have gusts of wind pop up from time to time blowing you one way or another.

Your projects are all really inspiring, you never cease to amaze me!
Title: Re: Jumper for the +C
Post by: DJ Omnimaga on December 11, 2013, 01:59:49 am
By the way, I wonder if it's just a coincidence, but it seemed like with the orange character and some others, the gap between platforms was much larger when starting than with the frog or the main character. Is there a different difficulty per character?

Regardless, one nice idea I had was a different mode assigned to each character. For example, the default char would use the current mode, another character would loop through the screen sides, another would have left-right physics and another would lack any jumping physics.
Title: Re: Jumper for the +C
Post by: AssemblyBandit on December 11, 2013, 06:28:55 pm
@chickendude: Thanks! I like the 11 bit coordinates, I'll have to try that out.

@DJ: No but changing modes with characters sounds like a good idea!
Title: Re: Jumper for the +C
Post by: JWinslow23 on December 25, 2013, 10:26:16 pm
I just got 181,673 points! Beat the default high!
Title: Re: Jumper for the +C
Post by: DJ Omnimaga on December 27, 2013, 04:36:06 pm
Although AssemblyBandit has kinda vanished a while ago (hoping he didn't leave calc stuff again D:) I think it would be cool if we could have different highscore boards for each mode.
Title: Re: Jumper for the +C
Post by: JWinslow23 on December 27, 2013, 04:44:42 pm
Although AssemblyBandit has kinda vanished a while ago (hoping he didn't leave calc stuff again D:) I think it would be cool if we could have different highscore boards for each mode.

That'd be cool! My highscore (default mode) is 181,673.