Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: yrinfish on March 12, 2011, 09:03:31 am

Title: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 12, 2011, 09:03:31 am
I've made too, with Axe (where is my cheerleader smiley? ;D)


Uploaded it
Title: Re: Sorry, I've got one too
Post by: aeTIos on March 12, 2011, 09:37:35 am
you might better post it in the 'other calc-related stuff' section because this is the subforum for discussing DoodleJump, and not for posting other clones (its kinda rude, you know -not offensive- )

Also, welcome here!
Title: Re: Sorry, I've got one too (Doodle Jump)
Post by: ztrumpet on March 12, 2011, 11:24:21 am
Yeah, it was the wrong sub-forum, but it's cool; I got it moved. :)

I can't wait to see this.  Looks like you should post a little more. ;D
Title: Re: Sorry, I've got one too (Doodle Jump)
Post by: Deep Toaster on March 12, 2011, 11:45:22 am
Well, * Deep Thought can't wait, so can I point you to http://www.mediafire.com/ (http://www.mediafire.com/)? ;D
Title: Re: Sorry, I've got one too (Doodle Jump)
Post by: yrinfish on March 12, 2011, 03:11:54 pm
Ok, I'm on my iPod again, but, as soon as I can get to my laptop, I will upload it.

I like open-source, but I don't like my programming abilities, so until I make it more code-lover-proof, Its closed(maybe if you ask for it)

Don't you guys overestimate me?
Title: Re: Sorry, I've got one too (Doodle Jump)
Post by: Munchor on March 12, 2011, 04:06:23 pm
I've made too, with Axe (where is my cheerleader smiley? ;D)
Problem is, I don't have enough posts to upload it, so keep me talking here until I can upload it.


(This sub-forum is about his Doodle-Jump clone, is this the right place to post?)

You think just like I thought, I like open source but don't want others to blame my code.

However, here at Omnimaga, nobody will blame your code, we'll help you making it better.

Can you also change the tile of this topic too? It doesn't good, give it the tile of the game ;)
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 13, 2011, 07:40:42 am
Ok, I uploaded it, but how do I get a screenie?
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: Fast Crash on March 13, 2011, 10:05:50 am
You have to use Wabbit Emu ( the best for me ) or any other emulator that can make screenshots
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: Deep Toaster on March 13, 2011, 10:47:10 am
Ok, I uploaded it, but how do I get a screenie?

WabbitEmu (at http://wabbit.codeplex.com/ (http://wabbit.codeplex.com/)) is an emulator for calculators. Find a calculator ROM image (use rom8x (http://www.ticalc.org/archives/files/fileinfo/373/37341.html)), start up WabbitEmu, load your program there and run it, and make a screenshot under the File menu.

Here's a screenshot:

(http://img845.imageshack.us/img845/4339/tijump.gif)

It looks really nice! I like the real gravity. How do you move right, though? I can see that 2ND moves left, but I can't get the character to move right.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 13, 2011, 11:29:53 am
Yes, gravity was a priority, but the one to move right is [On] to exit, press [Graph]
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: Deep Toaster on March 13, 2011, 11:37:09 am
Oh, thanks. Can I recommend using CLEAR to exit? That's generally what people are used to, and it's what you use in the main menu.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: ztrumpet on March 13, 2011, 11:44:19 am
This looks pretty cool. ;D  Great job. :D

If you're curious as to how I got sideways text in my PapiJump clone, you can just look at my source. ;)
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 13, 2011, 02:04:20 pm
@ztrumpet Where is it?
@DeepThought H2G2!!!!!!!!!! And, I'm rewriting it and I'll include it
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: Munchor on March 13, 2011, 02:05:25 pm
Woah, sideways! It looks greeat yrinfish!
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: DJ Omnimaga on March 13, 2011, 03:01:56 pm
That looks nice. I wonder if you could make it so we can choose in which direction it scrolls? Some people might prefer to hold the calc on the other side.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: Munchor on March 13, 2011, 03:03:32 pm
That looks nice. I wonder if you could make it so we can choose in which direction it scrolls? Some people might prefer to hold the calc on the other side.

Wait, do you have to change the way you hold it? I thought we were supposed to play with the calculator normally but it is sideways =P

But I guess what you asked for shouldn't be that hard to make, just rotating the sprites (but that may depend on how the game was made, and I am not aware of it).
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: Deep Toaster on March 13, 2011, 03:18:00 pm
@ztrumpet Where is it?
@DeepThought H2G2!!!!!!!!!! And, I'm rewriting it and I'll include it

And another thing (yes, I know, lame pun :P): Using the up and down arrows to move the character. I think people are used to that too :)
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 13, 2011, 03:31:37 pm
I included the source, so you can see it.

I'm rewriting the core, so any changes to it won't be useful to me. 
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 13, 2011, 05:21:45 pm
Whoa, rewriting the entire game is booooooooooooooooooooring... I'm currently creating the menu, it hadn't got one, so this is an improvement.
How do I flip the whole screen? Maybe copying the buffer in to the backbuffer in reverse order?


Oh, last thing, won't Mohammed be angry at me bacause, with a menu and more, it starts looking like his one?
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: ztrumpet on March 13, 2011, 05:30:23 pm
Good luck with the rewriting. :)

@ztrumpet Where is it?
http://ourl.ca/8310/152760
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 13, 2011, 06:13:35 pm
Good luck with the rewriting. :)
Ty

I hope it works after the rewriting...

I'm thinking of storing all the data in an array like this
X-pos (not sideways) 8-bit, thing (power-up, black hole, bar) 8-bit, and 8 bits of data (bar is moving to the left, and such)
If I want to do collision checking, I only need to check 8 fields.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: DJ Omnimaga on March 14, 2011, 03:20:00 am
Don't worry about mohammad, everyone can make similar games, although it's generally good to offer something different, like how yours is sideways. As for rewriting, good luck. Just don't fall into the "endless rewrite loop" trap some programmers fell into a few years ago, though. They rewrote their game like 6 times and eventually got bored and killed the project. :(
That looks nice. I wonder if you could make it so we can choose in which direction it scrolls? Some people might prefer to hold the calc on the other side.

Wait, do you have to change the way you hold it? I thought we were supposed to play with the calculator normally but it is sideways =P

But I guess what you asked for shouldn't be that hard to make, just rotating the sprites (but that may depend on how the game was made, and I am not aware of it).
Nah, I meant how some people might prefer to have the keypad to the left and the screen to the right and some other people the opposite. For example, Ztrumpet's old PapiJump clone was the opposite side.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: leafy on March 14, 2011, 03:34:45 am
Seems interesting. I like the deviation from standard top down games.
i was thinking making the controls farther to the right, so your hand doesn't cramp up against the screen without covering it.
Also, the graphics could use work, but overall it looks great. Maybe you could try using fractional movements (/256) to obtain a smoother movement?
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 14, 2011, 07:37:14 am
What do you mean with fractional movements? I cant draw sprites on half of a pixel ofc...

And no, I won't rewrite it again, adding functions will be easy after this rewrite.
The rewriting goes faster than I thought. I think it will be ready soon.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yunhua98 on March 14, 2011, 11:50:46 am
Well, since Axe is integers only, you can multiply the coordinates of the character by a set number, say, 10.

Code: [Select]
:P*10->P
:Q*10->Q

and then when you move, it increment the P and Q by one, but when you display the character, divide back by 10, so the character will move by 1 pixel every 10 frames.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 14, 2011, 02:31:29 pm
Ok, no, because of the way I did it, that won't be possible. I will try something like it, though.
Gravity, menu, and initial generator are working. I'm currently making the in-game generator.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: DJ Omnimaga on March 14, 2011, 02:53:37 pm
Glad to see new progress :D
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 14, 2011, 04:16:22 pm
Ok, generator is working (a little bit) but you still can't die...
Suddenly it crashed and ihadtopullabattery.

Todo:
Orientation switch
Be able to die
Fix generator to make the game harder
Smoother graphics
Trace the random crash
Add dissapearing blocks/bars (how should I call those?)
Maybe other keys
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 15, 2011, 10:21:24 am
Argh, the being able to die bit is hard, without negative numbers.
But... collision checking works really good, and I made a dissappearing block, and one that makes you jump higher.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: DJ Omnimaga on March 15, 2011, 01:52:59 pm
Sorry to hear about the dying glitch. I hope you can manage to fix it soon. :(

Feel free to post source code in the Axe forum if you need help.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 15, 2011, 05:50:47 pm
Ok, dying works, ((((almost))))
The problem was the place in the game loop where I checked it (as an elseIf behind some almost always true others...
I only need to make the game somewhat harder.

Still to do:
Function to remap keys
Orientation switch
Making you lose the game
And also making you lose this game
Put some things in Settings
Add the scoresaver (not much work)
Make the menuscreen more attractive

And:
Actually upload it :P
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 16, 2011, 01:13:18 pm
Why the ******, ***** and **** doesn't that zarking
Code: [Select]
:9—>A
:If getKey(A)
:…
:End
work, it is in the documentation that it should work...

Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 16, 2011, 04:10:01 pm
Halted until I understand getKey, sorry, but the key remapping just doesn't want to work.
Also, this is my 4th post in a row.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yunhua98 on March 16, 2011, 05:00:58 pm
Which version of Axe are you using?

also, for help, it is probably better to ask in the Axe forum.  ;)
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: Munchor on March 16, 2011, 05:02:53 pm
Which version of Axe are you using?

also, for help, it is probably better to ask in the Axe forum.  ;)

More specifically in the Axe Language subforum.

@yrinfish: Watch out for double posts, I guess.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 16, 2011, 05:24:22 pm
Ok, i'll ask it there tomorrow.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 17, 2011, 10:30:47 am
Ok, made a topic there, but, here is the new and completely rewritten version.
Still without score saving, useful settings, etc, but, the game itself works...
Could somebody with Wabbit make a screenshot?

EDIT: IMPORTANT Goto settings first to change the controls.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: Munchor on March 17, 2011, 02:57:13 pm
I can make a screenie for you, here it is, but I highly recommend you to get WabbitEmu or another screenshot-featured emulator.

I think I tried all the keys, but I still couldn't move:

But there is a change I didn't try all the keys:

(http://img.removedfromgame.com/imgs/DionJump.gif)

Note: I really like the menu.


Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on March 18, 2011, 07:40:37 am
There aren't default keys yet, you've got to set them in the settings menu first
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: DJ Omnimaga on March 23, 2011, 03:24:21 pm
I was a bit worried about the speed at first but then I saw you selected Easy so I decided to try in insane mode and the speed was pretty great there. I also like the trampolines. I noticed a bug, though: When you exit the control changing options, it instantly goes into the game afterward, in easy mode unless you press another key very quickly.

Anyway screenshot of insane mode.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on April 18, 2011, 10:26:40 am
A new version!! :)

The keys work,
Score-screen

and...

er...

I did really much but I cant remember what. :D

Remember: NEWJUMP is the game, SNEWJUMP is the source.

PS: I had a week full of tests and I had to learn for that in the weeks before.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: BrownyTCat on April 18, 2011, 01:48:21 pm
Once the minor kinks are worked out and the graphics are finalized, this is going to be the 2nd game on my calc.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on April 18, 2011, 02:13:35 pm
Thats a HUGE compliment, what are the kinks you're thinking of?

Second to Portal X?
(oof, graphics, could some spriter help me?)
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: BrownyTCat on April 18, 2011, 02:17:38 pm
Second to just Tetris, and I mean in order of addition, in order of overall score, this is first. There might just be a few tiny bugs to squash over time, nothing at all major.
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on April 19, 2011, 01:32:04 am
I have a really nice menu-drawing routine.. where can I post it?

And a button routine, but that one only draws...
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: aeTIos on April 19, 2011, 02:46:14 pm
Thats a HUGE compliment, what are the kinks you're thinking of?

Second to Portal X?
(oof, graphics, could some spriter help me?)
I can help you with graphics.

And you can post your menu drawing routine in "routines" (Axe topic, just search for it)
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on April 19, 2011, 04:38:33 pm
OK, that would be great!!

Are you good at graphics?
Do you want credit? I don't even give myself credit so...
Title: Re: DionJump: a DoodleJump clone for the calcs
Post by: yrinfish on June 30, 2011, 03:06:29 pm
Poof, new update, I have been busy on my axe libraries, school, a notes program, Happy, minecraft (sadly), and some other things, but here it is:

* Fixed some annoying bugs, like falling through blocks.
* Blocks aren't (completely) hidden in walls anymore.
* As always, I did more but I forgot ... (0x5)

now version 0.6.7

As always, NEWJUMP is the program, SNEWJUMP the source.

Please report any bugs!!