Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gameblabla

Pages: 1 ... 4 5 [6]
76
Casio PRIZM / [Prizm] Rainbow Dash Cloud Attack
« on: August 08, 2013, 08:34:25 pm »

Hi !
I did a port of my own Ti-nspire game Rainbow Dash Cloud Attack for Casio PRIZM.
I know , there is already a similar game called Rainbow Dash Attack made by Ashbad.
But his game overclocks the calc and nobody likes to overclock their calcs so i have decided to port my own game.

You play as Rainbow Dash and you must grab the white clouds and kick the storm clouds !
Each white cloud you grabbed is worth 100pts. Kick a storm cloud is worth 200pts.

I don't own a PRIZM so i had to use the emulator , which sucks. (you can't press more than one key , no direct access to the keys etc...)
So it might plays better or worse on an actual calc. Anyway , i hope you'll still enjoy it !

Download :
Version 1.2

Credits :
I had to use a lot of rountines which are not mine.
So i would to thank KermMartian , Ashbad and PierrotLL for their routines & source code !
*urimas did Rainbow Dash's sprites.

Screenshots :



77
TI-Nspire / Re: [C] Rainbow Dash Cloud Attack
« on: August 04, 2013, 09:47:55 pm »
What I meant was really shifts and ands, not division and modulo on a processor without a divide instruction :)
Code: [Select]
uint32_t ReadLongBigEndian (void) {
    uint32_t temp_long;
    temp_long  = fgetc(output) << 24;
    temp_long |= fgetc(output) << 16;
    temp_long |= fgetc(output) << 8;
    temp_long |= fgetc(output);
    return temp_long;
}

uint32_t ReadLongLittleEndian (void) {
    uint32_t temp_long;
    temp_long  = fgetc(output);
    temp_long |= fgetc(output) << 8;
    temp_long |= fgetc(output) << 16;
    temp_long |= fgetc(output) << 24;
    return temp_long;
}

void WriteIntBigEndian (uint32_t long_in) {
    fputc (((int)(long_in >> 24)) & 0xFF, output);
    fputc (((int)(long_in >> 16)) & 0xFF, output);
    fputc (((int)(long_in >>  8)) & 0xFF, output);
    fputc (((int)(long_in      )) & 0xFF, output);
    fflush(output);
}

void WriteIntLittleEndian (uint32_t long_in) {
    fputc (((int)(long_in      )) & 0xFF, output);
    fputc (((int)(long_in >>  8)) & 0xFF, output);
    fputc (((int)(long_in >> 16)) & 0xFF, output);
    fputc (((int)(long_in >> 24)) & 0xFF, output);
    fflush(output);
}

Hehe , thank you Lionel ! I will certainly use it for my future projects !

Also, another piece of general advice: don't put .tns files at the root of /documents, because TILP cannot cope with them, which means that users couldn't backup such files once your program has created them.
Thanks for the advice , i did a small update to fix that. (Go download it in my first post)
The savefile is now stored in ndless's folder.

I think that will be the last update for my game , i guess it's time to work on another game...
Thank you guys for your support !

78
TI-Nspire / Re: [C] Rainbow Dash Cloud Attack
« on: August 04, 2013, 02:54:46 pm »
Code: [Select]
               
sc = (highscore / 10000) % 10;
dscore[0]=sc;
sc = (highscore / 1000) % 10;
dscore[1]=sc;
sc = (highscore / 100) % 10;
dscore[2]=sc;
sc = (highscore / 10) % 10;
dscore[3]=sc;
sc = highscore % 10;
dscore[4]=sc;

file = fopen("/documents/rdsave.save.tns", "w+");
                        fputc( dscore[0], file);
fputc( dscore[1], file);
                        fputc( dscore[2], file);
fputc( dscore[3], file);
fputc( dscore[4], file);
fclose(file);

I'm really stupid , i should have done this done before. Thanks Lionel...
You can download the new update here : http://goo.gl/xJyaqb
The max pts is now 99999.

79
TI-Nspire / Re: [C] Rainbow Dash Cloud Attack
« on: August 04, 2013, 01:44:57 pm »
Thanks everybody !
I have released a new version (again) , it fixes some bugs.
http://goo.gl/OIwqpV

Also why is the max points 25500?
For each (white) cloud you touch , you get 100 pts and if you kick a black one , you get 200 pts.
I can only store a char , what can i do ? (the max value for an unsigned char is 255)
Easy , i divide the highscore by 100 and then the program saves the highscore.
When the game will read the savefile , it will multiply the highscore stored in the file by 100.
I know, Lionel would not be proud of me...

80
TI-Nspire / Re: [C] Rainbow Dash Cloud Attack
« on: August 04, 2013, 12:20:05 am »
You code fast O.O
Indeed.
I have released a new version (i think this will be the last one) , you can now kick clouds !

Download link : http://goo.gl/i3DWR6

81
TI-Nspire / Re: [C] Rainbow Dash Cloud Attack
« on: August 03, 2013, 05:51:38 pm »
Quote
That's because i need to write a integer to a file but fscanf() is not available in Ndless...
fgetc() works but only writes a char...
Just choose an endianness for your serialization of integers, and use fgetc on the integer shifted by 8, 16 and 24 then and'ed with 0xFF :)
^^' Sorry , i don't understand...
But i found a way to get the save working. It is not precise at all but it works well with my game.

yaaaaaaaaay :D
Also, can you still kill the black clouds if you hit 'em right at the end? (and giving more points)
No , you can't do that. This will probably be in the next update.

EDIT : A new update is available , you can now save your highscore ! http://goo.gl/ZCY4yz

82
TI-Nspire / [C] Rainbow Dash Cloud Attack
« on: August 03, 2013, 03:12:54 pm »

Hi !
You asked for it , there it is !
You play as Rainbow Dash and you need to grab all the white clouds and kick the storm clouds !
You score 100 pts for each cloud you grab and score 300 pts if you kick a storm cloud.
The maximum score you can get is 99999 , i dare you to reach that !
Hope you'll enjoy it !

Download : (You need Ndless installed on your TI-nspire)
Version 1.05

Screenshots :


83
TI-Nspire / Re: [C] Where's Derpy (Port for TI-nspire CX)
« on: August 02, 2013, 03:59:12 pm »
There are tons of different versions of RD attack, here is one: http://www.derpyhoovesnews.com/games.php?id=6

EDIT: this is actually more the typical rainbow dash attack: http://www.derpyhoovesnews.com/games.php?id=2
Thanks for the links Surunome , i'm already working on it :D

Sorry for the crappy quality , i had to use my DSi...
You can download and try the little demo here : http://goo.gl/o5GOm4

Anyone tried Where's Derpy on their Ti-nspire ?

84
TI-Nspire / Re: [C] Where's Derpy (Port for TI-nspire CX)
« on: August 02, 2013, 12:50:41 pm »
Thank you guys !
I have released a new version , it is much smaller than the previous version. (3.5 Mo => 2.8 Mo)
http://goo.gl/Zgv86Y

...Hoping for a Rainbow Dash Attack port in the future. :P
Actually i'm interested to do a port/clone of this game , i think i can do that...
The only problem : This game doesn't work on emulator so i have no idea how it plays...

85
TI-Nspire / [C] Where's Derpy (Port for TI-nspire CX)
« on: July 31, 2013, 08:52:48 pm »
Hi !
I did a port of Where's Derpy for TI-nspire CX, a flash game that was made by pepperpunk.
This port is based on Where's Derpy 1 and its sequel and 20 screens are available.
The goal of the game is to find Derpy AND all the three muffins in 25 seconds. (15 seconds for the last screen)
I hope you'll enjoy it !



Where's Derpy running on my TI-nspire CX CAS.

Download :
Version 1.01

File size : 2.8 Mo
You need Ndless to run this game.

86
TI-Nspire / [C] "Cass' Gueule" - A game for TI nspire CX
« on: January 23, 2013, 10:12:45 pm »
Hello everyone !


Here's my first project for the TI nspire CX !
It's a pretty easy game but i don't recommend for the faint-hearted. :)
Your Objective :
Hit the enemy to get points but be careful ,
keep an eye on the enemy's lifebar to not kill it too fast !



Choose between four weapons and 3 enemies !

Download link

Any comments and suggestions are welcome !

Pages: 1 ... 4 5 [6]