Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: nikitouzz on June 10, 2013, 05:12:52 am

Title: New projet gravity guys z80
Post by: nikitouzz on June 10, 2013, 05:12:52 am
DOWNLOAD THE BETA VERSION HERE : http://tiplanet.org/forum/archives_voir.php?id=19512

Hi, i'm coding an adaption of gravity guys for nspire on my z80 the game will be programmed in axe.

My question to chokosta is : can i use the lvl and the design of gravity guys nspire for my game if i quote you in my credit ?

(good english :D)

(http://www.mirari.fr/cla9)

News graphisme....

(http://i.imgur.com/dKueN4F.gif?1?5394)

EPIC WIN : variation menus is the same one the chockosta game :p

(http://i.imgur.com/Q4KEO4z.gif)

MENU finish !!!!

(http://up2sha.re/uploads/AjzyBOhPR1Nw.gif)

EDIT : i have add the acceleration on the game and i correct more bug ;)

(http://i.imgur.com/MT21rwF.gif)

EDIT : more bugs corrected, the game is the same now, try the beta version with the levels 1 and 2

(http://img.ourl.ca/Runer4.gif)
Title: Re: New projet gravity guys z80
Post by: Hayleia on June 10, 2013, 08:31:13 am
I think you didn't know about this but squidgetx already started this game a while ago (http://ourl.ca/12900/241437). I don't think it was finished though.

Also, why do you want to "copy" the style from Chockosta's game ? Why not making (well, trying to make) it look like the original game on Android and iDevices ?

Other than that, good luck for your project.
Title: Re: New projet gravity guys z80
Post by: Stefan Bauwens on June 10, 2013, 08:42:11 am
This seems to be the latest release: http://www.ticalc.org/archives/files/fileinfo/444/44447.html
That's 0.9, so I guess it's missing some things(may be only levels though).
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 10, 2013, 10:54:09 am
i know that the game exist already but my goal it's to make the SAME game of gravity guys by chockosta :D

same level... same graphic... (if it's possible)
Title: Re: New projet gravity guys z80
Post by: DJ Omnimaga on June 10, 2013, 06:33:37 pm
Looks nice. I wonder if you could make two versions, one being like the Nspire one (for people who wants to play it but can't due to lacking the calc) and one like the original? Finish the current one first, though, since I liked the levels :P
Title: Re: New projet gravity guys z80
Post by: squidgetx on June 10, 2013, 10:20:49 pm
IIRC chockosta's version was inspired by mine lol

I called it 0.9 just because it felt messy; I think I had a high score system and attempt tracker that didnt mesh well conceptually with having levels, also I wanted to add more levels but I never got around to it. Then I decided to play with RLE compression for the first time and development got tedious because it always involved a lot of copy-pasting hex data because I didn't have the right tools to do what I wanted and then the deadline for zContest came up so I just submitted and stopped working on it haha.

A few suggestions to improve over my own version:
A parallax scrolling background would make this pretty awesome. Also I think the flash game allowed switching gravity in mid air? Can't remember, but I know I made it so that couldn't happen in mine. Third, levels taller than the size of the calculator screen could make things interesting as well.
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 11, 2013, 05:17:54 am
Thanks for all :) squidgetx : i use two number hexadecimal for one vertical line :

00
11
00
00    And then 11 is a block, 00 one whole, 10 one speeder (if don't know if "speeder" exist :p) as this, i can use two number
00    decimal per ligne ;)
10
11
00

In my game we cannot switch gravity in the air like in the nspire game ! for the scrolling i will thinking about this, already i will implement one real scrolling (for the drawn block one the right size)
Title: Re: New projet gravity guys z80
Post by: Matrefeytontias on June 11, 2013, 11:08:13 am
I don't think that you could switch gravity in mid-air in any version of Gravity Guy. That's what made the game hard to beat.
Title: Re: New projet gravity guys z80
Post by: Streetwalrus on June 11, 2013, 11:48:49 am
Yeah if you could switch in mid air you would just fly through the levels. :P
Title: Re: New projet gravity guys z80
Post by: Chockosta on June 11, 2013, 12:17:32 pm
Wow, this looks pretty good !

My question to chokosta is : can i use the lvl and the design of gravity guys nspire for my game if i quote you in my credit ?
Of course.
You don't have to quote me, since my programs are totally free. Anybody could re-use my code and sell it.

IIRC chockosta's version was inspired by mine lol
No, I discovered your gravity guy a few days after starting mine.
My game was more inspired by the android version. (The gravity is linear in my game and the android app, but not in your version)

I don't think that you could switch gravity in mid-air in any version of Gravity Guy. That's what made the game hard to beat.
Indeed, that would make it trivial.
Title: Re: New projet gravity guys z80
Post by: squidgetx on June 13, 2013, 04:59:29 pm
Sorry, I think I was thinking of Jetpack Joyride where you can get the gravity suit, and it does allow you to switch in mid air complete with acceleration lag.
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 14, 2013, 05:36:13 pm
Hey i have make news graphisme and lvl menus :) there are stiil a lot of bug but the game functon... ^^

(http://i.imgur.com/dKueN4F.gif?1?5394)
Title: Re: New projet gravity guys z80
Post by: Streetwalrus on June 14, 2013, 05:47:12 pm
*graphics :P
But yeah it's looking very cool. :D Though it seems to be to fast. :P
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 15, 2013, 03:37:30 am
I'm fighting with the processor.... it's difficult to make one good speed...
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 15, 2013, 07:00:36 pm
News graphics :D the menus is the same now :3

(http://i.imgur.com/Q4KEO4z.gif)
Title: Re: New projet gravity guys z80
Post by: Sorunome on June 15, 2013, 07:56:57 pm
wow, that's looking awesome O.O
Title: Re: New projet gravity guys z80
Post by: Hayleia on June 16, 2013, 03:55:54 am
The scrolling menu is a good idea, but it is a bit slow. Couldn't you have it scroll 2 pixels by 2 pixels instead of 1 by 1 ?
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 16, 2013, 04:01:16 am
No but hayleia you don't understand what i search to make :p I want make THE SAME game to te gravity guys on nspire by chockosta :p
Title: Re: New projet gravity guys z80
Post by: DJ Omnimaga on June 17, 2013, 09:32:56 pm
Looks very nice, but I agree that the scrolling is a bit slow. It would be nice if it was for an intro transition like Contra for the NES, but for a transition between two options/sections it should move around 2x faster.
Title: Re: New projet gravity guys z80
Post by: TIfanx1999 on June 18, 2013, 02:59:56 am
In game speed is looking very nice. Great work! :D
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 18, 2013, 03:33:26 am
there are still things that i need to resolve....
Title: Re: New projet gravity guys z80
Post by: Streetwalrus on June 18, 2013, 03:47:31 am
Yeah you definitely should make text scroll faster. I think it's so slow on the Nspire due to crappy OS routines. <_<
BTW to pause the game you can try CTRL+Up. ;)

Edit : Aaaaaand 500 posts ! :w00t:
Title: Re: New projet gravity guys z80
Post by: DJ Omnimaga on June 18, 2013, 04:50:15 pm
I think on the Nspire the speed isn't affected by Nover, so it is possible that Lua speed is capped or something, but even if it wasn't, it would probably still be kinda slow-ish, although most games are playable like Gravity Guy.
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 18, 2013, 06:28:36 pm
thanks streetwalker for this thing (pause the game) ;)
Title: Re: New projet gravity guys z80
Post by: Streetwalrus on June 19, 2013, 03:33:17 am
I think on the Nspire the speed isn't affected by Nover, so it is possible that Lua speed is capped or something, but even if it wasn't, it would probably still be kinda slow-ish, although most games are playable like Gravity Guy.
It is probably capped because my Nspire runs at 246MHz and it doesn't get any faster. ;)
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 27, 2013, 05:07:50 pm
More things implement now ! same grapics for the fail or win one level....

(http://up2sha.re/uploads/AjzyBOhPR1Nw.gif)
Title: Re: New projet gravity guys z80
Post by: Spyro543 on June 27, 2013, 05:56:06 pm
That looks okay, but the menu screen scrolling looks a bit slow. Instead of moving the text a pixel at a time, try moving it by 2 or 4 pixels at a time. Other than that, the game looks pretty good!
Title: Re: New projet gravity guys z80
Post by: nikitouzz on June 27, 2013, 06:10:56 pm
i have pause 50 in the scrolling menus i can delete it
Title: Re: New projet gravity guys z80
Post by: DJ Omnimaga on June 30, 2013, 09:02:28 pm
Another idea could be to allow the player to skip the animation, so if he presses 2nd or ENTER it scrolls instantly.
Title: Re: New projet gravity guys z80
Post by: Hayleia on July 01, 2013, 02:10:29 am
Yeah, or put a "Pause getKey(54)?1,50" or "Pause getKey(54) xor 1 *49+1", I don't know which one is the most optimized, but I mean have it scroll faster if 2nd (or another key) is held down.
Title: Re: New projet gravity guys z80
Post by: nikitouzz on July 01, 2013, 05:34:18 pm
epic optimisations i want juste post it X)

:pxl-test(A+7,(C=1)*-9+8+B)+pxl-test(A,(C=1)*-9+8+B)->r1??(C=0)*2-1+B->B
:r1*getkey(9)?C xor 1->C

Ca donne

select(pxl-test(A+7,select((C?-1,8)+B->,​)+pxl-test(A,)),*getkey(​9)? xor c->C)??=C*2-1+B->B
Title: Re: New projet gravity guys z80
Post by: Hayleia on July 01, 2013, 11:56:35 pm
Ca donne
Lol, French fail.

You want another epic optimization ?
: If D=0 or (D>100)
:  1→D
: End
Gives
: D-1>99?→D

/me runs
Title: Re: New projet gravity guys z80
Post by: nikitouzz on July 16, 2013, 06:40:38 pm
I have added one version, look the forst post ;)
Title: Re: New projet gravity guys z80
Post by: nikitouzz on July 21, 2013, 02:06:07 pm
You can play at the beta version now in the first post !
Title: Re: New projet gravity guys z80
Post by: DJ Omnimaga on July 24, 2013, 12:40:38 am
Ok I'll try it when I get some time :)