Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Matrefeytontias on December 30, 2011, 10:37:35 pm

Title: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on December 30, 2011, 10:37:35 pm
Hello guys !

I do a little game where you control a ball which have to jump over holes in order to reach the end of the level. Right now, there are only five levels, but there will be more soon (10 or 15).

(http://mattias.refeyton.fr/espace-ti/speeJump.gif) Physic engine

Here is the program (nostub) : http://mattias.refeyton.fr/espace-ti/speeJumpv0.5.zip (http://mattias.refeyton.fr/espace-ti/speeJumpv0.5.zip). 2nd for OK and jump, arrows for moving, del for pause and clear for quit. The level 5 is a little bugged ;D

I hope you'll enjoy it ! :)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: parserp on December 30, 2011, 11:26:09 pm
looks nice. I like the physics :D
Also, is that a run indicator?
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on December 30, 2011, 11:35:39 pm
I don't understand the question, sorry, can you say it in French if you can or turn it otherwise, please ? ^^'
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: parserp on December 30, 2011, 11:36:57 pm
do you have a line of code like this in your program: ?
Code: [Select]
:DiagnosticOff
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on December 30, 2011, 11:44:11 pm
Ah, yes but I used hexadecimal :
Code: [Select]
Asm(FDCB00AE)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Xeda112358 on December 30, 2011, 11:44:13 pm
He means the thing in the upper right corner of the screen (it happens when graphing or a BASIC program is running)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: parserp on December 30, 2011, 11:45:09 pm
Ah, yes but I used hexadecimal :
Code: [Select]
Asm(FDCB00AE)
hmmmm, but then why is it still there? ???
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on December 30, 2011, 11:49:48 pm
When I had begun to write the program, I didn't know the command DiagnosticOff, and when I learned it, I decided to let the program as it was.
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Xeda112358 on December 30, 2011, 11:50:33 pm
That code doesn't change the run indicator, to my knowledge... maybe FDCB128E?
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on December 30, 2011, 11:54:15 pm
Aaargh yes the run indicator, not the Done ... No, it's still here, sorry ... :-X
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Xeda112358 on December 30, 2011, 11:58:12 pm
You can just add the EF7045 to the end of the hex code you already have (or to the beginning) and it will work fine :)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on December 31, 2011, 12:00:27 am
Yes, while you're writing that, I did it :)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: DJ Omnimaga on December 31, 2011, 11:51:17 pm
I didn't try it yet but I don't understand the thing about holes, because I don't see any in the screenie above (since at the bottom you don't die ???). Or is it because dying is not implemented yet? Also does it have scrolling for some levels?
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on January 01, 2012, 08:15:32 am
That's because the screenie is just a demonstration of the physic engine, but in the real game, if you touch the bottom of the screen, you die.
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Nick on January 01, 2012, 08:40:42 am
well, it is really nice.. do you plan to add more levels? and indeed, level  seems a bit buggy, since when you jump to high, or right in the grey block, it seems like you are absorbed in it lol
but it is nice.. does it run at 6 or 15 MHz ? (couldn't look at you code). congratz!
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Deep Toaster on January 01, 2012, 09:26:40 am
Yay, gravity! It makes game like this look so much smoother :) Nice job.
That code doesn't change the run indicator, to my knowledge... maybe FDCB128E?
It disables both the Done message and the run indicator.
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Xeda112358 on January 01, 2012, 09:30:16 am
I meant the hex code, not the Axe code, sorry x.x
Also, try a game screenie :)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: imo_inx on January 01, 2012, 09:57:08 am
Cool. (If it ran on my fx-9860g slim w/ util at quadruple speed, NOBODY could win :P)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on January 01, 2012, 10:25:09 am
This game was coded on a 83+.fr, so it run at 6MHz.

I've made a new version, there are ever five levels, but now the physics are a less bugged and you must unlock levels before play them ;)

Here it is : http://mattias.refeyton.fr/espace-ti/speeJumpv0.7.zip (http://mattias.refeyton.fr/espace-ti/speeJumpv0.7.zip) (contains a MirageOS  and nostub version, for the icon ;D ).

I'll post the screen in 2 or 3 minutes ;)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: imo_inx on January 01, 2012, 10:34:11 am
Now I need an NSpire...
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on January 01, 2012, 10:37:04 am
Why ?

EDIT : here it is the screen : (http://mattias.refeyton.fr/espace-ti/speeJump3.gif)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: imo_inx on January 01, 2012, 10:50:43 am
To play it with the emulator keyboard.
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on January 01, 2012, 11:09:44 am
Ah ok :)
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: imo_inx on January 01, 2012, 11:12:52 am
Or I could get a 83+/84+... o3o
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on January 01, 2012, 11:24:42 am
That's much cheaper than a Nspire :P
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: annoyingcalc on January 01, 2012, 05:03:06 pm
Why ?

EDIT : here it is the screen : (http://mattias.refeyton.fr/espace-ti/speeJump3.gif)
WOW That is cool!
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: parserp on January 01, 2012, 10:02:07 pm
Hey! nice! Love the greyscale :D
Title: Re: SpeeJump, a fast horizontal-scrolling game
Post by: Matrefeytontias on January 02, 2012, 04:12:28 am
Thank you all :thumbsup: