Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: GreenFreak on July 13, 2011, 03:59:41 pm

Title: (Another) DoodleJump for TI
Post by: GreenFreak on July 13, 2011, 03:59:41 pm
Hi!

I want to present my very first game: DoodleJump!  :D
I hope that it isn't uninteresting for you because of the many other clones..  :-\

It's written in Axe, like everything else I write since I know Axe.  :P

Controls:

[left ] / [right ] turn left/right
[clear] exit
[2nd] start game (main menu)
[up] / [down] change speed: 6Mhz/15Mhz (main menu)

There are a few things that I try to add or change:


- physics! :-X
- pause (?)
- additional sprites when using jetpack or propeller cap
- credits-window

There are two versions:
- a version for Axe 0.5.3 (slower)
- another version for 1.0.3 (faster, but ~75 larger)
(ASODJ = Actual State Of DoodleJump)


Please try it out and give a feedback!  :)


Thank you ;)

Maybe, someone can create a screenshot of it ;)
Thanks for the screenshot, ben_g! :D


New Screenshot ;)
Title: Re: (Another) DoodleJump for TI
Post by: Munchor on July 13, 2011, 04:13:02 pm
I just tried it on wxWabbitemu (couldn't make a screenshot now though, you should ;)) and it looks very nice. The Game Over screen could be improved (delete background and it will look cooler).
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 13, 2011, 04:16:51 pm
Yeah, you're right... I'll change that, too. That was the easiest way to do it because I first want to get the game work!
Title: Re: (Another) DoodleJump for TI
Post by: ben_g on July 13, 2011, 04:29:10 pm
It's great. Especially for being a first game.

You can make animated screenshots with wabbitemu. Just press backspece.
Just in case that won't work on your computer, I made a screenshot for you.

EDIT: THE GAME over screen would probably look a lot better when you copy what's on the display to the back buffer, and the text to the front buffer. then you can make the background grey and the text black.

And: the jumping would look a lot more realistic with accelleration and decelleration.
Title: Re: (Another) DoodleJump for TI
Post by: ztrumpet on July 13, 2011, 04:33:33 pm
That looks pretty nice, Grean Freak.  Great job, especially for a first program. :)
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 13, 2011, 06:43:08 pm
Thank you!

I added some things to the first post..
Like:
Controls:

[left ] / [right ] turn left/right
[clear] exit
[2nd] start game (main menu)
[up] / [down] change speed: 6Mhz/15Mhz (main menu)

I should add to the main menu that you can change the speed by pressing to up/down key because many testers don't notice that...
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 08:33:56 am
what's about three lives?
I mean that you fall out of the screen, and appear again on top of screen, and tha you can make that three times.

Maybe vthat you can earn lives with getting points.
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 09:41:11 am
I don't really like the idea... :-/

Does anyone else like the idea to have multiple lives?
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 09:56:49 am
What's anbout if the multi-live-mode can be turned on and off?
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 10:45:56 am
ATM I'm trying to add greyscale and a new "Game Over" screen...

EDIT: Should I use 3-lvl or 4-lvl greyscale?
Title: Re: (Another) DoodleJump for TI
Post by: ztrumpet on July 14, 2011, 10:56:00 am
EDIT: Should I use 3-lvl or 4-lvl greyscale?
I'd say start off with 3, and once you see how difficult that is then move to 4. ;)  But it's your choice. :)
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 11:01:30 am
O.o The size of the compiled game is now ~200 bytes larger
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 11:02:48 am
oh.
Thhat'a not very good.
200bytes just in cause of a better picture.

but f it looks nice, it's ok  ;)
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 11:11:00 am
I hope it'll look fine... Since everything works fine (exept the main menu and the "Game Over!" screen) I need to create greyscale sprites for the items.
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 11:14:20 am
A little idea:


make the Platforms likle this:

      XXXXXXXX
  SSSSSSSSSSSSS

The X is the platform, where you can strand on.
the S is grey and just a shadow, where you can't jump on.

This will make it easyer to see, where the platforms are.
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 11:16:50 am
ATM you can see platforms well.. Maybe I'll add this later...
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 11:19:43 am
OK

but I think it's sometimes difficult to see, where the platforms are. Especially in the DoodleJump-APP of Mohamad Adib.
(Go on JUMP TO at the bottom. There you can find it.)

Are you planning to make some parts animated?
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 11:22:58 am
Have you ever played MY version of it?
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 11:27:53 am
Yes.
It's really not bad.
There it's not the problem that the Game scrolls so fast.
In your game are the platforms smaller.
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 11:39:44 am
The game is too fast?! O.o Really?! Do you play in full speed mode? ;D (by pressing [up] in the main menu)

If so, you will like the new version with greyscale because it's slower now at normal speed (I can't do DispGraphClrDraw^r anymore because of the "Game Over!" screen (which looks very nice BTW :P) )

EDIT: I didn't read the "not" in your sentence ;D
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 11:42:39 am
So can you please explain to me, what this ^r means?
I've seen it in Cuberunners and had no idea what it's doing.

But I think it's a second "screen"
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 11:44:20 am
Ever used the Axe command list? ;D very very useful! :D
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 11:45:50 am
only read it one time.  :-[
I'm german, and I don't understand everithing in there.

What does it make?
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 11:49:32 am
I'm german, too ;D Look here:
http://ourl.ca/9285

There you can learn how to use greyscale, too. ;)
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 12:04:28 pm
I've already tried this PRGM on my TI, too.
But my (damned) bug makes, that the bock is not grey.
nice bug! I hate it!
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 12:07:26 pm
Did you used this code?
Code: [Select]
.GRS
[FFFFFFFFFFFFFFFF]->Pic1
5->Y
40->X
Repeat getKey(15)
Pt-On(X,Y,Pic1)r
Line(0,63,95,63
If Y<55
Y+1->Y
End
DispGraphr
ClrDrawr
End

The r (or ^r) is the "r" you find by pressing [2nd], [apps], [3]
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 14, 2011, 12:09:10 pm
Yes!
And it was just a black block.  :(
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 14, 2011, 12:18:24 pm
Try this:
http://ourl.ca/8214/151836
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 15, 2011, 12:39:10 pm
I just got a RAM-clear. But when I looked in the memory menu, all of my files, that I lost because of the bug in Axe, appeared, but the DoodleJump version with greyscale I made yesterday wasn't there. :banghead: I decided to reset my whole memory, because I used the archieve after the boot-up with [clear]+[on].  :P

So I have to do my changes once again  :-\

But I hope that my cals is okay now.
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 17, 2011, 10:57:51 am
UPDATE:

In added everywhere some greyscale! :D
But the items look bad when scrolling :-/
In addition, it's much slower.. But don't forget the 15Mhz mode ;)

See the first post for a screenshot and the new source!

Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 17, 2011, 11:30:16 am
Can you addspecial graphics for the different Items?
(rocket on the back, rotor on the head, ...
And pleas move the Points one pixel downwards - the taxt is exactly under the line for Items.




Wo genau hast du eigentlich die X-Position im Spiel gespeichert?
Ich hab's schon geschafft, dass man 20 Leben hat und jedes mal, wenn man ein Leben verliert, wieder 50 Pixel weiter oben ist (auf dem Bildschirm)
Und wo ist, wie lange jedes Item hält?

(Ich veränder immer was um herauszufindn, was was bewirkt. Ich lern so viel besser den Axe-code)
Title: Re: (Another) DoodleJump for TI
Post by: Anima on July 17, 2011, 11:44:56 am
@p2: Du weißt aber schon, dass das ein englischsprachiges Unterforum ist, oder? :P

The screenshot looks really awesome, I'll check the game tomorrow. ;)
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 17, 2011, 11:45:05 am
Yes I'll! ;)
Ok, I'll do that, too.

___________________
Die X position von was? Vom Doodle {0+L1}^r  und von den plattpformen {X*6+L1}^r ...
D ist die Höhe (in pixeln), die man noch aufsteigt, bis man wieder herrunterfällt (wenn D=0).
Wenn man ein Item bekommt, wird D einfach erhöht. Du kannst einfach ganz einfach unten:

Code: [Select]
Lbl COL
If abs(....
25->D           //normale plattform
If r5<>5          //r5 ist die item nummer
r5*35->D        // itemnummer*35->D
End
End
Return

...die 35 höhen/verkleinern

Ich hoffe ich habe dir damit geholfen ;)

Gute Methode Axe (oder alle anderen Sprachen) zu lernen... ;) mache ich auch ;D
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 17, 2011, 11:49:33 am
Must du mal bei Cuberunners machen (Ich hab doppelten speed, stärkere Lenkung, anderes Symbol/Bildchen, 50 Leben, andere appv, ...  ;D
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 17, 2011, 12:09:23 pm
Thank you, Anima :D

Nice, p2 ;D

Should I start a new tread in the german forum?
Title: Re: (Another) DoodleJump for TI
Post by: p2 on July 17, 2011, 12:31:42 pm
Yes.
I think this'll be great idea.

Die erse Topic im TI-relevanten teil vom Deutschen Abschnitt.
Title: Re: (Another) DoodleJump for TI
Post by: yrinfish on July 20, 2011, 07:24:23 am
BTW: Physics: keep the x and the y variables, but add an extra variable that holds the speed, every 'tick' of the game you add the speed to the y position and decrement the speed,
When you hit a block at ypos 30, you set the speed to, for example, 6, and then this happens:
(S is speed here)

Y: 30 S: 6
Y: 36 S: 5
Y: 41 S: 4
Y: 45 S: 3
Y: 48 S: 2
Y: 50 S: 1
Y: 51 S: 0
Y: 51 S:-1 w00t I'm flying
Y: 50 S:-2 Oh no
Y: 48 S:-3
And so on

That's How I did it in DionJump, you can have a look at the source at my topic.
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on July 20, 2011, 07:43:05 am
It's difficult to do any changes on my DoodleJump because everything is connected with something else...  :-\

INFORMATION: The next update im working on is faster than version 2.1 ;) and I fixed a liitle bug, too. ATM I try to change the probabilities of the items and try to add sprites when using a jetpack or propeller-hat  ;)

Title: Re: (Another) DoodleJump for TI
Post by: yrinfish on July 20, 2011, 07:48:23 am
I know, i've rewritten it twice, but you said you wanted physics?
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on August 25, 2011, 02:33:42 pm
Little Update!

Two changes:
- A version for Axe 0.5.3 (slower) and one for 1.0.3 (faster, but higher size ~75 bytes)
- Changed probabilities of the items (jetpack and propellor-hat only have a chance of 1:31)

Source (0.5.3 and 1.0.3 version) are in the first post!
Title: Re: (Another) DoodleJump for TI
Post by: DJ Omnimaga on August 25, 2011, 11:04:12 pm
Nice. I think the speed boost will definitively help. By the way have you tried adding backgrounds like in Deep Thought's version?
Title: Re: (Another) DoodleJump for TI
Post by: GreenFreak on August 26, 2011, 08:58:56 am
I think, I could easyly do that, but I think the game would slow down too much. :/