Omnimaga

Omnimaga => Completed => Our Projects => Trapped for the TI-Nspire and TI-89 => Topic started by: apcalc on August 06, 2010, 02:34:10 pm

Title: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 06, 2010, 02:34:10 pm
Well, now that I am just about done with Block Dude Nspire (just checking for bugs), I have decided to start work on my next Nspire project, Trapped Nspire.  Trapped clone of a TI-83+ game that was like a sequel to Block Dude.  Also, for now, I am keeping these games separate.  I may combine them in the future (right now, that is not likely).  There are still many things I need to add and with school starting, this game will definitely take longer to finish than Block Dude (which only took about 3 weeks), despite the fact that a good portion of the code from Block Dude can be reused.

Proof of Concept Image:

(http://i974.photobucket.com/albums/ae226/apcalc/BDN-5.gif)

EDIT - I just realized that the original name of this topic "Trapped Nspire" can imply that my Nspire is "trapped", so I changed the name to avoid any confusion. :)
Title: Re: Trapped Nspire
Post by: willrandship on August 06, 2010, 02:38:26 pm
yay! more nspire games! I always loved the block-dude puzzles. Some of them took me >30 tries, and I never reached the end.
Title: Re: Trapped Nspire
Post by: apcalc on August 06, 2010, 02:43:04 pm
Also, I should note that I plan on changing all of the graphics from the original Block Dude Nspire (brick, block, guy, door) to make this game a little different from the original.  (although this change will probably not take place for a little while)
Title: Re: Trapped Nspire
Post by: ztrumpet on August 06, 2010, 03:09:06 pm
Nice job!  It looks great.  Good luck! ;D
Title: Re: Trapped Nspire
Post by: bwang on August 06, 2010, 04:23:28 pm
Mmm...bombs!
Nice work :D
Title: Re: Trapped Nspire
Post by: TIfanx1999 on August 06, 2010, 04:30:23 pm
Looks great! :)
Title: Re: Trapped Nspire
Post by: apcalc on August 06, 2010, 06:33:53 pm
I was a little bored (didn't want to do summer work or get work done on the game core) and I decided to play around with the explosions in the game.  This is the first time I ever tried to do anything like this (somewhat smooth animations), and I am not sure if I like the outcome.

(http://i974.photobucket.com/albums/ae226/apcalc/BDN-6.gif)
Title: Re: Trapped for TI-Nspire
Post by: bwang on August 06, 2010, 06:49:37 pm
I like it!
Although the explosions could use a little grayscale...
Title: Re: Trapped for TI-Nspire
Post by: DJ Omnimaga on August 06, 2010, 09:33:37 pm
This is great, can't wait to try it :)
Title: Re: Trapped for TI-Nspire
Post by: bwang on August 06, 2010, 11:31:10 pm
While we're talking about animations, would it be hard to make the little man move smoothly from one block to the next?
Title: Re: Trapped for TI-Nspire
Post by: fb39ca4 on August 07, 2010, 11:11:19 am
@apcalc: for walking, you can use smooth scrolling and a 2 or 4 frame walking animation drawn in the same place on the screen.
Title: Re: Trapped for TI-Nspire
Post by: apcalc on August 07, 2010, 11:17:35 am
I am working on walking animations now.  Due to the way my drawing engine works (all it does is draw a portion of the level array) and the things I have to do to get ready for school, this may take me a few days to finish.  Also, I want to put the final touches on Block Dude before it is released!
Title: Re: Trapped for TI-Nspire
Post by: DJ Omnimaga on August 07, 2010, 03:09:43 pm
I assume you are gonna apply the down arrow key fix for Trapped too, right?
Title: Re: Trapped for TI-Nspire
Post by: apcalc on August 07, 2010, 05:23:36 pm
Yes, I have already changed that in Trapped.  I do still have to change Trapped so it uses the same method for receiving key codes as Block Dude, but this will be fixed very soon.  On another note, the guy now has a walking animation between each frame, but smooth scrolling is a problem.  I don't know if I will be able to add it.  I will try to post a picture of the walking animation later.
Title: Re: Trapped for TI-Nspire
Post by: ztrumpet on August 07, 2010, 06:17:48 pm
On another note, the guy now has a walking animation between each frame, but smooth scrolling is a problem.  I don't know if I will be able to add it.  I will try to post a picture of the walking animation later.
Sounds cool!  Good luck. :)
Title: Re: Trapped for TI-Nspire
Post by: apcalc on August 09, 2010, 11:38:31 pm
I think I am also going to make this game for the TI-89.  It is not too hard at all to port the code to 89 C and the 68k community could use some activity!  I will be working on both version simultaneously, so that might slow down updates/release.  The 89 version will not have grayscale or the animations present in the Nspire version to same me some time.  Also, I have decided to restart the game engine from scratch as it does not take too long to write and it will be easier that making a ton of changes to the current version (actually, the drawing engine was much harder to write than the game engine).

EDIT:  Also, I doubt I will get any work on this until early September because I have a ton of work I have to do for school. :( (I have 3 weeks--it is going to be very close for me :()  I will pick up work once I have free time when school starts (which will still be limited). :(
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: TIfanx1999 on August 10, 2010, 12:28:20 am
I was actually wondering how easy it would be to port stuff from 68k C to Nspire C or vise versa. It would be pretty nice to have this game available for the TI-89 since it don't own a Nspire yet. :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: TC01 on August 10, 2010, 09:56:55 am
I'm glad to see another 68k project on Omnimaga besides mine.  :) Good luck!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Lionel Debroux on August 11, 2010, 10:46:02 am
Quote
I was actually wondering how easy it would be to port stuff from 68k C to Nspire C or vise versa. It would be pretty nice to have this game available for the TI-89 since it don't own a Nspire yet. :)
With the right level of abstraction, porting games between TI-68k C and Nspire C should be rather easy. But the set of Nspire libraries/programs is currently far from the depth and density of the set of TI-68k programs (TIGCCLIB, ExtGraph, etc.).
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 11, 2010, 11:13:59 am
At this point, it is much easier to port games from the Nspire to 68k calcs than it is to port games from 68k to the Nspire.  The 68k series already has just about everything the Nspire has (I can't think of anything it dosen't), so it really just a matter of making some slight syntax changes. (For example, the sprite function is different for both calcs).  Right now, we don't have all of the functions for the Nspire as we do for the 89.  Hopefully in the future we will have all of the functions the 89 has for the Nspire and the job of porting games to the Nspire should be quite easy!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Hot_Dog on August 11, 2010, 11:25:02 am
Looking good, apcalc!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: TIfanx1999 on August 11, 2010, 11:48:00 am
@Lionel Debroux & apcalc: Ah, ok. Very cool guys. Thanks for the info! :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Lionel Debroux on August 12, 2010, 04:50:08 am
Documenting Nspire OS functions is an even more dauting task than documenting TI-68k OS functions, for two reasons:
* TI gave a public list of names and definitions for a subset of the TI-68k functions, variables and data structures (with some oddities: some purely internal stuff is exported in the ROM_CALL table while other useful stuff isn't);
* the Nspire (CAS) OS is much larger than the TI-68k OS is.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: bwang on August 12, 2010, 05:03:03 am
At this point, it is much easier to port games from the Nspire to 68k calcs than it is to port games from 68k to the Nspire.  The 68k series already has just about everything the Nspire has (I can't think of anything it dosen't), so it really just a matter of making some slight syntax changes. (For example, the sprite function is different for both calcs).  Right now, we don't have all of the functions for the Nspire as we do for the 89.  Hopefully in the future we will have all of the functions the 89 has for the Nspire and the job of porting games to the Nspire should be quite easy!
What's the 68k sprite function syntax? I'll change mine to match it, if I can.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Lionel Debroux on August 12, 2010, 05:43:39 am
Besides TI-68k libraries, there are also interesting things in HP-GCC ;)


Here go the TI-68k libraries:
* TIGCC/GCC4TI multi-mode sprite functions:
Code: [Select]
void Sprite8 (short x, short y, short height, const unsigned char *sprite, void *vm_addr, short mode);
void Sprite16 (short x, short y, short height, const unsigned short *sprite, void *vm_addr, short mode);
void Sprite32 (short x, short y, short height, const unsigned long *sprite, void *vm_addr, short mode);

* ExtGraph single-mode sprite functions, more drawing modes and sizes, compile-time library: see the ExtGraph SVN repository, http://opensvn.csie.org/ExtGraph , in the lib folder.

* the Genlib library, the other surviving library of graphical functions for TI-68k calculators, run-time dynamic library which needs PreOS: see http://www.yaronet.com/t3/?id=20
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on August 15, 2010, 06:32:40 pm
A 68k port would be awesome. I assume it would just be trapped, right? (I think there's already a Block Dude 68K port)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: TC01 on August 15, 2010, 07:43:45 pm
There are actually two ports for the 89 (written in C, anyway), Block Dude 89 (http://www.ticalc.org/archives/files/fileinfo/206/20666.html) and Dudeman (http://www.ticalc.org/archives/files/fileinfo/421/42155.html). Both are nostub and Titanium compatible.

Although there might be more written in Basic.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 15, 2010, 07:46:44 pm
Yes, only Trapped will be ported.

Also, the only progress I have made on this is porting the drawing engine to TIGCC for the 89.  I have been working on 1 or 2 other Nspire projects lately, as well as getting ready for school, so progress is very slow.  I am hoping to have this released sometime around Christmas, but this is dependent on how much free time I have during the school year.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on August 15, 2010, 07:54:48 pm
Good luck on those projects!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 17, 2010, 09:51:27 am
Ok, I got a little time to work on this last night, and I made some progress on the Nspire part.  Most of the things I added were internal modifications to the game engine, but I never posted the little walking animation I did (which was done about a week ago).  It is not final yet, and the animation is only 2 frames, but I think it looks kindof nice! Also, there is still no animation on up/down movements.  Only left and right.  The up/down animation is coming soon.

(http://i974.photobucket.com/albums/ae226/apcalc/TRAPPED.gif)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on August 17, 2010, 11:37:20 am
Pretty nice! What's that line of sprites to the complete rigth of the map, though?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: ztrumpet on August 17, 2010, 11:44:22 am
Great job!  I wish I had an Nspire to try it on, but at least I get to watch the screenie. ;D
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 17, 2010, 01:15:05 pm
Pretty nice! What's that line of sprites to the complete rigth of the map, though?

A metal wall.  They cannot be destroyed by bombs like everything else.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on August 17, 2010, 09:29:07 pm
Aaah ok thanks ^^
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 25, 2010, 07:03:09 pm
Just wanted to give a little update on the progress I have made and the things I have planned.

Implemented
Bombs and Gold Bombs
Metal Walls
Spikes

Top Priority
Ladders
Push Blocks
Rewrite Drawing engine for 68k version (should be very easy)

A Little Bit Later
Smooth Scrolling
New Graphics
Implement game engine in 68k version (should be very easy, as I will only have to change the key press tests, but I want to finish it first for the Nspire so I don't change something in one version and forget to change it in the other)

Still deciding if I will add...
Animated Pieces (like the bricks, spikes)
Level Editor/Loading of external levels

I forgot to install CalcCapture when setting up my development environment on this computer, so I can't post a screenshot, but I will try to post one soon.

I am hoping to have this project finished sometime before Jan/Feb of next year.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: bwang on August 25, 2010, 07:14:34 pm
I really recommend adding external levels. It's really easy (all you do is use a function to read the file into an array) especially since we have directory listing functions now :D
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on August 25, 2010, 08:21:59 pm
Awesome to see an update :)

External levels would be cool. Smooth scrolling as well. :)

Gonna setup a sub-forum for this soon.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Hot_Dog on August 25, 2010, 08:53:15 pm
Animated Tiles would be cool if not difficult.  Whatever the case, keep up the good work!  I like where this is going.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: ztrumpet on August 26, 2010, 09:41:12 am
This all sounds really cool.  Good luck with your programing. :)  I think that you should make external levels, but animate tiles only if it's not too hard. ;D
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 27, 2010, 09:13:25 pm
After a very long debugging process, I have finished the ladder drawing routine.  Here is a screenshot of the ladders in action:

Note:  For some reason, this screenshot runs much slower than The Game is on calc.  I will try to find out why this is happening soon.

EDIT:  Also, I have not done all of the new graphics yet (that is why the guy turns into a bomb when climbing a ladder and the ladder "disappears when the guy is in front of it. :P)

(http://img.removedfromgame.com/imgs/1282957898-TRAPPLAD.GIF)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on August 27, 2010, 09:14:50 pm
Nice to see you got it fixed. Btw, are you gonna add sprite masking for the little dude?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 29, 2010, 05:56:39 pm
New screenshot!

Added:
Ladder Graphics, Sprite Masking
Push Blocks

Again, this screenshot is much slower than the game runs on calc (I still don't know why :()

(http://img.removedfromgame.com/imgs/1283118887-TRAPPLAD.GIF)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Hot_Dog on August 29, 2010, 07:43:14 pm
Saaaaaaaaaaaaaaay, that's a sweet screenshot! :D
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on August 29, 2010, 08:48:37 pm
Update!

I just released a beta of this game in the "Beta Releases" topic in this projects sub forum! :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on August 30, 2010, 01:14:51 am
Great! I'Ll try it out asap :)

And good luck on finding time to work on it. I hope you can find some. Good luck with school.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: meishe91 on August 30, 2010, 01:20:30 am
That is looking great! Great work on it so far ;D
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: bwang on August 30, 2010, 01:39:19 am
Shiny! I'll try this out as soon as I unpack my Nspire.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Jonius7 on September 03, 2010, 03:05:49 am
yes, another block game! i loved the original and i would like to play it with bombs!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on September 03, 2010, 04:36:47 pm
Just a quick note about the demo in the beta release thread, this was compiled without the "volatile" in the isKeyPressed( function, so there may be places where you press a key and it does not respond.  The next time I get around to compiling this, this issue will be resolved.

Also, the current progress:


Implemented
Ladders (still a bit buggy)
Push Blocks
Rewrite Drawing engine for 68k version (should be very easy)

Top Priority

Perfect Ladders
Add remaining Levels that will be built into the game

A Little Bit Later
New Graphics
Implement game engine in 68k version (this is going to be one of the last things that I do, as I don't want to fix a bug in one version and forget to fix it in the other)
Level Editor/Loading of external levels

Still deciding if I will add...
Animated Pieces (like the bricks, spikes)
Smooth Scrolling

Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on September 03, 2010, 06:33:11 pm
Nice to see more progress :), keep up the good work :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on September 05, 2010, 09:00:46 pm
New beta posted in the release thread!

No new features were added, but I fixed many, many bugs!

I have been making fair progress on this lately.  I hope to have a release of the game, hopefully, before halloween, then, I will start work on the level editor, which I will release after so I don't hold up release on the actual game.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Jonius7 on September 05, 2010, 11:35:36 pm
ooh i tried the first level of trapped and it's great! just like the prequel, however when i went to level 2 there was nothing. i guess you are still creating it, but well done!!!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on September 06, 2010, 09:31:56 am
Yeah, level 2 is not there yet.  I have pics of all of the original levels, but I just didn't type them in yet, choosing to just add the new features to the current level (there should not be any ladders in level 1 for example).  I am going to start adding the other levels soon! :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on September 06, 2010, 09:46:29 pm
Nice to hear about new progress :)

Idk if I'll be able to try for a while, though. It will depend how things goes...
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on September 19, 2010, 05:21:39 pm
1.7 compatible version uploaded in the beta releases thread.  I have not made too much progress on this lately. :(  As I predicted, I was killed with school work during the first two weeks.  The amount of work is cooling off slightly now, so I have had some time to program.  Mainly, I have been working on Chip's Challenge, playing around with the new Ndless (this has taken up a lot of my programming time), and experimenting with a possible new project.

EDIT:  I should note that I really don't have too much more work with the game itself (only have to add levels and fix a few bugs).  The level editor might come later though if I lack motivation to write one.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on September 19, 2010, 11:51:20 pm
Glad school work is cooling off. Was it mostly tests of all sorts?

Also will the new version be the same file for Nspire and Nspire CAS? I think I saw somewhere that Ndless 1.7 will use the same file on both CAS and non-CAS models.

Also a suggestion: try to not take on too many projects at once unless they're really small, else you can get overhelmed with them and all of them end up being finished years later due to constantly switching from a project to another x.x. It's up to you, though.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on September 20, 2010, 03:29:40 pm
Glad school work is cooling off. Was it mostly tests of all sorts?

Actually, my tests are just starting now. :( The thing I really mean by "cool off" is I am getting really fast at doing tasks that occur almost weekly, like, for example, it takes me about half the time to do a chapter summary in US Hist. now than it did in the beginning of the year.

Also will the new version be the same file for Nspire and Nspire CAS? I think I saw somewhere that Ndless 1.7 will use the same file on both CAS and non-CAS models.

Yes, they will be the same.

Also a suggestion: try to not take on too many projects at once unless they're really small, else you can get overhelmed with them and all of them end up being finished years later due to constantly switching from a project to another x.x. It's up to you, though.

That is what I am trying to do.  Besides Trapped and Chip's, I only have one other project I am working on (which is being done in my notebook in school during free time :P).
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on September 22, 2010, 11:59:20 am
Ah ok I see x.x. Well I hope you don't get way too busy still x.x. It sucks when you want to do something but can't because of school/job.
/me wonders what apcalc is working on besides Trapped and Chips ;D
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 02, 2010, 10:25:27 am
Just a quick update on this (since I have not updated in a while x.x):

I have begun work on the 68k version of this!  So far, I have about 20% of the Nspire version ported to the 89.  About 75% of what is left to do is mearly copying and pasting code from the Nspire version.  Assuming I have enough free time, this should not take too long to do.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on October 02, 2010, 11:07:49 am
I'M glad to hear! I hope you doN't lose progress again or something x.x

Good luck!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 02, 2010, 11:16:24 pm
Game engine done! ;D

Now, to work on the drawing side.  When I finish this (should not be long at all :)) both the Nspire and 89 version will be at the same level of completeness (about 75% ;))
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on October 03, 2010, 04:20:13 am
Nice! Will you post screenshots of the 68k version soon?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 03, 2010, 11:09:14 am
Nice! Will you post screenshots of the 68k version soon?

Just finished the drawing engine! ;D

(http://img.removedfromgame.com/imgs/1286118500-TEST0015.gif)

EDIT:  A beta version of this has been added to the "Beta Releases" thread. :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on October 03, 2010, 01:12:37 pm
Wow looks nice! I was unsure if you were using 16x16 or 8x8 sprites. Those sprites looks nice btw. My concern in 16x16 mode is that it would have been hard to see where you are going on the smaller screen. I think I'll load this on my TI-89 Titanium later :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 03, 2010, 01:22:37 pm
Actually, the sprites are 10x10 (technically speaking, they are 10x16, but the last 6 columns are blank and the next sprite is drawn over the blank area).  8x8 was too small, but if I made it 16x16, I would not be able to have the amount of the level on the screen the same as the Nspire version.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on October 03, 2010, 01:57:43 pm
ah, right, I thought they were 8x8 lol.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Yeong on October 18, 2010, 09:12:25 am
Trapped..I couldn't beat that game ever.. I think I was stuck at lvl 11.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: yunhua98 on October 18, 2010, 12:53:57 pm
yeah, although I couldn't even beat block dude.  :P
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on October 18, 2010, 02:58:51 pm
I am not sure how far I got... I think it was level 4 or 5. At Block Dude it was 9.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 18, 2010, 03:26:35 pm
I can't beat Trapped either! :P

/me will have to figure out how to beat each level so they all can be tested :(

For Block Dude, I had to use some of the level solutions at Detached Solutions
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: fb39ca4 on October 18, 2010, 03:30:56 pm
Trapped..I couldn't beat that game ever.. I think I was stuck at lvl 11.
I got to level 11 too.
As for block dude, I'm stuck at 10
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on October 18, 2010, 03:31:23 pm
Alternatively you could maybe email the author to see if he still knows ;D

Or you could modify the level to go through it to see if the game ending works, but then you can't see if the level has glitches making it unbeatable...
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: ExtendeD on October 18, 2010, 03:33:54 pm
You could release a Block Dude Solver with AI :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 18, 2010, 07:45:06 pm
A small update on this:

I fixed a two bugs, one of them being particularly nasty (boxes and bombs would vanish if they fell more than 3 spaces).

Right now, I know of 2 bugs with the game, one of which is very simple to fix, the other being more complicated.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: ExtendeD on October 19, 2010, 03:59:33 am
apcalc, I'm thinking of using Block Dude as a screenshot or video tutorial for the upcoming GDB support (http://ourl.ca/6877/126139) of of Ncubate. Wouldn't you mind?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 19, 2010, 05:20:31 pm
apcalc, I'm thinking of using Block Dude as a screenshot or video tutorial for the upcoming GDB support (http://ourl.ca/6877/126139) of of Ncubate. Wouldn't you mind?

Not at all!  Feel free to use whatever you need. :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Munchor on October 19, 2010, 06:28:37 pm
Ok, to run that program we obviously need NdLess??

Btw, you have some unneeded blocks in your maps (saw them on GIF images). Delete them for faster game :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 19, 2010, 06:51:37 pm
What blocks are unneeded?  I copied the levels directly from the original Block Dude/Trapped games, so I want to keep them as original as possible.  Also, speed is not a major concern with this seeing that I already have to slow it down a ton (and if I needed more speed, I could set the Nspire to run at 150 Mhz).

Also, yes Ndless is needed to run this program.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Munchor on October 19, 2010, 07:01:07 pm
What blocks are unneeded?  I copied the levels directly from the original Block Dude/Trapped games, so I want to keep them as original as possible.  Also, speed is not a major concern with this seeing that I already have to slow it down a ton (and if I needed more speed, I could set the Nspire to run at 150 Mhz).

Also, yes Ndless is needed to run this program.
What blocks are unneeded?  I copied the levels directly from the original Block Dude/Trapped games, so I want to keep them as original as possible.  Also, speed is not a major concern with this seeing that I already have to slow it down a ton (and if I needed more speed, I could set the Nspire to run at 150 Mhz).

Also, yes Ndless is needed to run this program.

Some corner blocks not needed. If speed is not a problem, then it's OK :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on October 20, 2010, 02:17:52 am
Question: Is it possible to set the Nspire to something lower than 90 MHz? If so, then I wonder if the artificial slow down could be lowered and the calc be set to low CPU speed to save on battery power?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: ztrumpet on October 20, 2010, 04:33:17 pm
Question: Is it possible to set the Nspire to something lower than 90 MHz? If so, then I wonder if the artificial slow down could be lowered and the calc be set to low CPU speed to save on battery power?
I believe this is possible.  It's a great idea! ;D
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on October 28, 2010, 09:01:20 pm
I had access to a digital camera today, so I though I'd take a pic of Trapped on hardware (no Nspire pic, as I temporarily have OS 2.0 on it for school)

(http://img.removedfromgame.com/imgs/1288314164-Untitled.png)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on October 28, 2010, 09:04:44 pm
That seems to look pretty nice! Great job so far and I'm glad it runs on hardware so far. :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on November 14, 2010, 12:18:43 pm
Update!

Versions for Ndless 1.1, Ndless 1.7, and 68k are in the beta releases thread!

Added:
Levels 1-4 Now Implemented!

Fixed:
Bomb explosion bug
Ladder climbing bug

Current known bugs:
Only in the 68k version, the sprites shown when the guy is climbing ladders or on top of ladders may be completely off, including the guy disappearing while climbing the ladders.


I am getting pretty close to a release on this!  Please report any bugs you may see and make any comments, positive or negative, about the game!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on November 14, 2010, 11:27:52 pm
Awesome! I may not try now since I got a lot on my plate and my Nspire has OS 2.0.1 but I can't wait to try the 68k version!

Glad to see this progressing. :)

EDIT: Hmm will the Nspire version works on Ndless 1.0? I got a copy of Goplat emulator somewhere that is already set up (by Bwang) with Ndless 1.0, so I could try it there for now.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: Hot_Dog on November 15, 2010, 12:07:42 am
Nice work, apcalc!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: phj on December 09, 2010, 12:21:36 pm
In level 3 and 4 you can exit the screen. Also sometimes the boxes and bombs float.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on December 09, 2010, 01:59:21 pm
In level 3 and 4 you can exit the screen. Also sometimes the boxes and bombs float.

Thank you very much for the bug report!  I will look into this.  If I recall correctly, I think I may have fixed the floating boxes/bombs, but I never uploaded a working version.  As for walking off the screen, that could have been a typo in the level array (I was never able to beat level 4 :P). I really have to get around to adding more levels to this soon.  Hopefully, I will have time to do this during Christmas break!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: FinaleTI on December 09, 2010, 03:21:59 pm
I should give this a try on my 89...

But level 4 was pretty tricky wasn't it? I'm stuck on level 6 in the 83+ version myself.
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on December 09, 2010, 03:24:38 pm
Actually, I think there may be a problem with my game engine that might be causing me to be unable to beat the level (Moreso, some changes between the original Block Dude and the original Trapped).  I have not had time to test it recently on the 83, so I still have to figure it out. :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on December 09, 2010, 06:49:15 pm
More levels would be cool :D. I'm probably gonna try this when I install OS 1.7 and Ndless 1.7 :). Also good luck fixing the bugs. :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: ruler501 on February 18, 2011, 06:12:07 pm
I have been playing the touchpad version and have found it impossible to climb the ladders in level two. Could you please check this and put something in the touchpad version saying what the controls are. Otherwise it is working wondefully
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on February 20, 2011, 11:09:23 pm
Is there a 2.0 Clickpad version?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: ruler501 on February 21, 2011, 08:29:57 am
I beleive if it is compiled with Ndless 2.0 it will work on a 2.0 clickpad
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on February 23, 2011, 03:43:39 pm
Ok because it's a bit confusing with all those programs that won't run on Touchpad or vice-versa. X.x
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on February 23, 2011, 04:06:58 pm
Yeah, some of these compatibility issues are getting quite confusing. :(

Right now, if you are using Ndless 2.0 and the clickpad, I believe anything (except Ndless 1.1 stuff) will successfully work.
For the touchpad, you need it to be build with Ndless 2.0.
For the ticalc release of Ndless 1.7, you need it to be build with Ndless 1.7.

Someone please correct me if I made a mistake in the above! :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on February 23, 2011, 04:07:51 pm
Ok, so I should be fine with my current setup, then? (Ndless 2.0 installed on OS 2.0.1 with clickpad regular Nspire model)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on February 23, 2011, 04:08:45 pm
Yep, I think so!  I have the exact same thing, and I have never run into any issues! :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on February 23, 2011, 04:10:37 pm

On a side note how is the TI-89/92+/v200 version progressing?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on February 23, 2011, 04:12:03 pm

On a side note how is the TI-89/92+/v200 version progressing?

With the exception of one change I made to the Nspire version that I need to add to the 89 (this will take no more than 42 seconds to do!), I need to fix one bug with the graphics.  As soon as it is fixed, I will be able to release this version too (and I will add an additional level or two then also! :)).
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: TIfanx1999 on February 24, 2011, 09:18:38 am
Sounds good. I'll be looking forward to playing the TI-89 version. =)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: ruler501 on February 24, 2011, 05:21:40 pm
How is the Nspire version going? have you fixed the bugs I mentioned? It looks great I just want to see more than the first and second levels
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on February 25, 2011, 05:14:49 pm
You can play any of the five levels at any time.  Just hold down the appropirate number key while pressing esc to exit the dialog box! :)
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on February 28, 2011, 03:59:11 pm
Cool to hear the 68K version is coming along nicely too. Make sure to not forget to put it in the dl section and ticalc when ready. :D
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: vsilvar on March 12, 2011, 09:06:36 am
I tried the Trapped-Touchpad.tns, but it doesn't work on the touchpad
It crashes when the firsh message appears.
I'm using 2.1 OS and Ndless 2.0
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on March 12, 2011, 08:09:59 pm
I tried the Trapped-Touchpad.tns, but it doesn't work on the touchpad
It crashes when the firsh message appears.
I'm using 2.1 OS and Ndless 2.0

Yes, I do know these bugs are present. :(

My life has been very hectic over the past few weeks, particularly this last week.  I will try to fix these bugs as quickly as I possibly can. :)

I know exactly what is causing this, I just need to get around to fixing it...
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on March 13, 2011, 01:06:34 am
Sorry to hear Apcalc, I hope things gets better soon. X.x Also welcome here vsilvar
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: vsilvar on March 13, 2011, 02:33:26 pm
Sorry to hear that too and thanks for your awesome games :)
Thank you DJ_O
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: scottx69 on September 11, 2011, 02:21:48 pm
were do u download it at?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on September 11, 2011, 05:21:58 pm
You can download from ticalc:

http://www.ticalc.org/archives/files/fileinfo/435/43546.html
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: DJ Omnimaga on November 13, 2011, 02:46:52 pm
Hmm I wonder... did that game include the original Block Dude in it? I'm curious since you didn't release any Block Dude 1 for the 89. Or is it already available for the 89?
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on November 15, 2011, 11:13:59 pm
I never made a block dude 1 for the 89, but there are several versions of it already available.  I think there is even one with a level editor!
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: renatose on November 16, 2011, 04:54:32 pm
apcalc: are you considering making a Lua version of trapped? maybe joining trapped and block dude in the same app as they can use the same sprites and you'd know it would be (we believe) eternaly compatible with recent and updated nspires...
Title: Re: Block Dude 2: Trapped for TI-89 Titanium and TI-Nspire
Post by: apcalc on November 16, 2011, 09:56:04 pm
This is a pretty good idea, I might look into it.  I have been very stressed IRL lately and I have had very little time to pursue my projects.  Hopefully, I will have more time in the near future!