Author Topic: Light  (Read 19840 times)

0 Members and 2 Guests are viewing this topic.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Light - Progress
« Reply #60 on: November 25, 2010, 09:25:03 pm »
Well, the most recent workable sources are all available on this thread.  When programming on the highly volatile platform combined with the highly dangerous language that is Axe on z80 calculators, I generally think it's a good idea to disseminate sources as much as possible to guard against RAM crashes.
I think getting somebody to rewrite the portion in assembly might be a last-resort kind of idea, but I'll definitely keep it in mind. 

[RANDOM THOUGHT]You should add the quote "I hope your project doesn't die" to your signature![/RANDOM THOUGHT]
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

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: Light - Progress
« Reply #61 on: November 25, 2010, 09:31:20 pm »
Ah ok I forgot to check ;D

Hopefully a solution can be found. :)

At the very worst case you could always do it the Joltima way but have corners using triangle tiles instead of squares, or something like that.

EDIT: About signature edit... I had another idea recently, but I forgot. X.x
« Last Edit: November 25, 2010, 09:32:07 pm by DJ Omnimaga »

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Light - Progress
« Reply #62 on: November 25, 2010, 09:32:23 pm »
At the very worst case you could always do it the Joltima way but have corners using triangle tiles instead of squares, or something like that.

Wait, what? 
*Music scratches to a halt

What would that do?
« Last Edit: November 25, 2010, 09:32:59 pm by Michael_Lee »
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

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: Light - Progress
« Reply #63 on: November 25, 2010, 09:57:39 pm »
See first screenshot (animated):

http://www.ticalc.org/archives/files/fileinfo/76/7671.html

As for triangles I mean like this:

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Light - Progress
« Reply #64 on: November 25, 2010, 10:39:25 pm »
I did.  I'm working on deciphering Runer112's tilemap program, but I'm still not entirely sure how it works.

I think that's b/c it's crazy optimized.

Correct! I often struggle to decipher my optimized code, which is why I usually try to force myself to add more comments than I think I need so I can understand it at a later time. However, it looks like I didn't comment my tilemapper much. Want me to go back and comment it?

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: Light - Progress
« Reply #65 on: November 26, 2010, 12:19:55 am »
Just try to make sure there aren't way too many either so it still fits in his RAM ;D (he could use it as external sub-routine I guess, though)

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Light - Progress
« Reply #66 on: November 26, 2010, 11:02:41 pm »
I did.  I'm working on deciphering Runer112's tilemap program, but I'm still not entirely sure how it works.

I think that's b/c it's crazy optimized.

Correct! I often struggle to decipher my optimized code, which is why I usually try to force myself to add more comments than I think I need so I can understand it at a later time. However, it looks like I didn't comment my tilemapper much. Want me to go back and comment it?

I appreciate the offer, but I think I've managed to understand the tilemap moving part well enough that comments really aren't necessary.  (The tilemap creation part, however, is... difficult to follow, but strictly speaking, I don't need it for my project).  If you have time though, making the guide to Axe optimization that you mentioned on the tilemap thread would be pretty cool, though (poke, poke).
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Light - Progress
« Reply #67 on: November 27, 2010, 12:44:01 pm »
I did.  I'm working on deciphering Runer112's tilemap program, but I'm still not entirely sure how it works.

I think that's b/c it's crazy optimized.

Correct! I often struggle to decipher my optimized code, which is why I usually try to force myself to add more comments than I think I need so I can understand it at a later time. However, it looks like I didn't comment my tilemapper much. Want me to go back and comment it?
Wait...you optimize your code so much you can't understand it? :o

EDIT: I have now passed the divide...
« Last Edit: November 27, 2010, 12:44:18 pm by MRide »

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: Light - Progress
« Reply #68 on: November 28, 2010, 10:12:44 am »
Another trick can also be to split your game source in sub-routines. That can help making the code easier to read.

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Light - Progress
« Reply #69 on: November 29, 2010, 06:14:05 pm »
True.  I kind of wish that TI BASIC allowed things like C++, where the subroutines/procedures are all in one file.  Like Axe.

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: Light - Progress
« Reply #70 on: November 30, 2010, 02:13:57 am »
Well, there's BasicBuilder, but it's not very reliable. Programs run slower, lots of pic stuff need to be renamed, xLIB/DCS sprite/map/pic commands won't work with internal BB pics, there are no archived program support and it's limited to 1 page apps. Hence why none of my old games use it.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Light - Progress
« Reply #71 on: December 26, 2010, 02:00:17 pm »
Well, holy crap.

I wanted to see how fast Axe 0.4.7's new line commands were, so I compiled a version I had on the computer using both Axe 0.4.6 and 0.4.7 (see screenshots below)

If this is how the speed is like even without me fully using the new commands of 0.4.7...

My motivation just went up by over nine thousand.  :hyper: :w00t: :hyper:
« Last Edit: December 26, 2010, 02:02:11 pm by Michael_Lee »
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Light - Progress
« Reply #72 on: December 26, 2010, 02:08:16 pm »
That is a nice increase. Very cool! =)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Light - Progress
« Reply #73 on: December 26, 2010, 03:53:43 pm »
wow! that's a huge increase!
/e

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: Light - Progress
« Reply #74 on: December 26, 2010, 04:16:54 pm »
Woah that's a huge increase indeed! Does this means the project might be revived soon? :D