Author Topic: Chip's Challenge  (Read 42051 times)

0 Members and 1 Guest are viewing this topic.

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: Chip's Challenge
« Reply #150 on: March 12, 2009, 12:47:36 am »
...
For xLIB's tilemap function do you plan on allowing decimal/fractional entries in the matrix like in xLIB?  I'm assuming that you're not since the xLIB compatibility is pretty much done, but I just want to be sure before I start converting my engine to the string tilemapper if I don't need to.

I thought that the allowing of decimal input already existed. The only hole in the routine known to me is it not being able to process anything abs(x)<1.

If you find any other bugs relating to its ability to convert, post it on my bug reports topic on UTI. Be sure to include details.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Chip's Challenge
« Reply #151 on: April 24, 2009, 04:18:03 pm »
I'm finally done with exams, and I have a two week break before the spring term starts (there's a course on Differential Geometry I couldn't resist :)).  If I can get motivated, there should be a ton of progress.  Some stuff I have completely planned out:
- Invert the HUD
- Adjust display for when the player is near walls (instead of adding 3 blanks on every side display the sprite not in the center of the screen)
- New idea for movement: Have all commands for tiles in one program, and depending on the tile (which will just be an integer) copy the needed code to a subprogram and run the subprogram.  No need for If:Then or Goto/Lbl; just transfer the three or so lines at 3N-2 to a program and run it (might work well, might not; worth a try).
- Four more levels (they each contain some situations for tile arrangement that need special attending to)
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Chip's Challenge
« Reply #152 on: April 24, 2009, 04:49:51 pm »
I like the idea of copying tile code to a sub program and just running it. That seems like it would work out very well, and should speed up things AND cut down on size. If that does work, i might have use that idea for my project.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Chip's Challenge
« Reply #153 on: April 24, 2009, 05:00:11 pm »
If that does work, i might have use that idea for my project.
You have no idea how much that comment moved Chip's Challenge closer to the top of my "stuff to do when I'm bored" list (i.e. all my priorities).  Thanks ;D
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Chip's Challenge
« Reply #154 on: April 25, 2009, 02:01:38 pm »
Heh glad I can help :)
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Chip's Challenge
« Reply #155 on: April 27, 2009, 06:27:25 pm »
The initial testing of the new movement routine has gone very well.  There's been a pretty good speed increase, and the execution time for tiles is somewhat more uniform.  I believe the reason for these improvements is twofold: (1) There aren't as many If:Then blocks so there's less code to sift through, and (2) Many tiles have very similar actions/effects (like items, or doors, etc...) so certain things were being calculated as a function of tile number, but now, with the new system, everything is hard-coded.

I tried Celtic III's det(23 and det(24 commands and, except for a couple little bugs, there was an even larger speed increase.  det(24 doesn't strip the newline so very quickly my program got filled with tons of newlines hint hint :)

These improvements have come at a cost of nearly doubling the size of movement code; what once took 583 bytes now takes 1115 bytes.  By rearranging certain commands common to all tiles (like the return value stating whether walkable or not) I should be able to cut out 2*48=96 bytes, but it's still much larger than what it was (but the program can be in the archive so it's not taking a chunk out of RAM).

[edit] Oh, and I've also finished with inverting the HUD and the modification to sprite display.
« Last Edit: April 27, 2009, 06:31:28 pm by simplethinker »
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Chip's Challenge
« Reply #156 on: April 27, 2009, 06:53:20 pm »
glad speed increased :), btw is it still planned for 84+ only or will it also be for 83+ when finished?

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Chip's Challenge
« Reply #157 on: April 27, 2009, 07:04:41 pm »
glad speed increased :), btw is it still planned for 84+ only or will it also be for 83+ when finished?
The speed on an 83+ shouldn't be as horrendous as it used to be.  Because of that newline bug I haven't had many consistent tests with Indexfile/LookupIndex, but it's supposed to be a lot more consistent with access time so this does open the door to (possibly) fairly uniform frame rate, and thus a clock :)
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Re: Chip's Challenge
« Reply #158 on: April 28, 2009, 01:44:31 pm »
Glad to see progress, you are doing some very notable things and I sullute you!

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Chip's Challenge
« Reply #159 on: April 28, 2009, 02:12:41 pm »
Glad to see progress, you are doing some very notable things and I sullute you!
Thanks ;D  I've decided to abuse Celtic III to its fullest.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Chip's Challenge
« Reply #160 on: July 08, 2009, 02:13:42 pm »
Umm... I tried the demo.  Bad things happened.
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Chip's Challenge
« Reply #161 on: July 08, 2009, 02:38:15 pm »
Umm... I tried the demo.  Bad things happened.
Could you be a bit more specific please?
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Chip's Challenge
« Reply #162 on: July 08, 2009, 02:41:58 pm »
Well,first, it said ERR:Invalid and I said Goto.  It went to one of the subprogram executions.  I said Okay, that's weird because the program was there on the list and all.  I tried it again a couple of times, then got pissed and tried to delete it from my calculator and when it did it ended up clearing the ram too.  Bad things.
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Chip's Challenge
« Reply #163 on: July 08, 2009, 02:48:40 pm »
do u have one of these calculators with BOOT code 1.02 on it? (press MODE->ALPHA->S to know, then press ON/CLEAR to exit without clearing RAM) I know some ASM programs has trouble on them, such as RealSound and TI-Boy SE

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Chip's Challenge
« Reply #164 on: July 08, 2009, 03:04:54 pm »
Well,first, it said ERR:Invalid and I said Goto.  It went to one of the subprogram executions.  I said Okay, that's weird because the program was there on the list and all.  I tried it again a couple of times, then got pissed and tried to delete it from my calculator and when it did it ended up clearing the ram too.  Bad things.
I'm sorry to hear that.  Which program did it take you to?  (Nobody has mentioned anything like this yet so I'm clueless  :-[)
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%