Author Topic: Progress  (Read 11056 times)

0 Members and 1 Guest are viewing this topic.

katmaster

  • Guest
Progress
« Reply #15 on: January 12, 2006, 05:56:00 pm »
Ok, well here's what I've got. I ran this in Pindur TI, and it runs faster on the calc.

EDIT: Ok, sorry about the contrast. It was late :)smile.gif

user posted image

So, what do you think? Still need power ups and AI, and I'd like to improve the movement engine more; it's still a little laggy.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Progress
« Reply #16 on: January 13, 2006, 02:28:00 am »
OMG awesome!!! Nice to see its still progressing. You even made the char move smoothly, keep up the good work! To speed it up maybe you can make the char move 2 pixels or 4 per time instead of 1. Also you should increase contrast in pindurTI so we can see something (my poor eyes :Pblah.gif)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Progress
« Reply #17 on: January 13, 2006, 05:30:00 am »
QuoteBegin-xlibman+13 January 2006, 8:28-->
QUOTE (xlibman @ 13 January 2006, 8:28)
OMG awesome!!! Nice to see its still progressing. You even made the char move smoothly, keep up the good work! To speed it up maybe you can make the char move 2 pixels or 4 per time instead of 1. Also you should increase contrast in pindurTI so we can see something (my poor eyes :Pblah.gif)  

 Yeah, though it moves pretty well going by 1 pixel it would be faster for 2 (4 or 8 would be a lot more noticable being choppy) unless you do it by 8 which is what I do in my games ^.^.

dragon__lance

  • Guest
Progress
« Reply #18 on: January 13, 2006, 04:09:00 pm »
nice work :thumb:google.gif !!!!
just post ur source code here,and we'll see wat we can do to optimise it ;)wink.gif

katmaster

  • Guest
Progress
« Reply #19 on: January 14, 2006, 05:04:00 pm »
QuoteBegin-kalan_vod+13 January 2006, 8:3-->
QUOTE (kalan_vod @ 13 January 2006, 8:30)
Yeah, though it moves pretty well going by 1 pixel it would be faster for 2 (4 or 8 would be a lot more noticable being choppy) unless you do it by 8 which is what I do in my games ^.^.


 Yeah, the main problem is the lag between pressing the button and the character actually moving. I've been experementing a little bit with ways to fix this, but lately I've been quite busy, so I haven't had time to sit down and test all of my ideas. Don't worry though, I'll find time eventually....

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Progress
« Reply #20 on: January 14, 2006, 06:52:00 pm »
QuoteBegin-katmaster+14 January 2006, 23:04-->
QUOTE (katmaster @ 14 January 2006, 23:04)
QuoteBegin-kalan_vod+13 January 2006, 8:3-->
QUOTE (kalan_vod @ 13 January 2006, 8:30)
Yeah, though it moves pretty well going by 1 pixel it would be faster for 2 (4 or 8 would be a lot more noticable being choppy) unless you do it by 8 which is what I do in my games ^.^.


Yeah, the main problem is the lag between pressing the button and the character actually moving. I've been experementing a little bit with ways to fix this, but lately I've been quite busy, so I haven't had time to sit down and test all of my ideas. Don't worry though, I'll find time eventually....  

 Well I do think you could do smooth scrolling and still have key presses. What I mean is Say you have a default of moving 8 pixels at a time, but you go up and want to go down. So you started moving up by 1 pixel at a time and at the third pixel you pressed down, it would then start moving down not just 8 but now 11 (You moved 3 and now need to move 8 for the down direction so 3+8=11). I have a better explaniation in my head, but I gtg take a shower.

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Progress
« Reply #21 on: February 01, 2006, 05:46:00 am »
Ok well I couldn't get it to work propertly (what I said above)....

Any updates for us?

dragon__lance

  • Guest
Progress
« Reply #22 on: February 02, 2006, 02:49:00 pm »
could u post some code?

katmaster

  • Guest
Progress
« Reply #23 on: February 02, 2006, 04:35:00 pm »
I'm sorry guys, but I don't have any updates right now. My life has been crazy busy with Pep Band like crazy and chess (we're going to nationals, so we're practicing a LOT). In the next week or two, things should start slowing done a little bit. As for code, stupid TI 83+ Graph Link won't run any more on my computer for some reason, so I have no way of copy pasting my code. I need to re-install it or something. So yeah.....

dysfunction

  • Guest
Progress
« Reply #24 on: February 07, 2006, 08:07:00 am »
For improving key responsiveness, you might want to try xLib's built-in getkey routine, real(8. It has its own keycodes, though, so read the readme for more info. Also, though it has a speed advantage over getkey, it has its own drawback- it doesnt always recognize a button press unless you hold it down. Test it out and see if it works in your situation.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Progress
« Reply #25 on: February 07, 2006, 08:29:00 am »
How large is the code between the loop start, the getkey & values, and the End? If it is huge, you might want to delegate some of the code to subroutines... The smaller the loop, the faster the getkey response...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Progress
« Reply #26 on: February 07, 2006, 08:53:00 am »
Btw not to put xlibs getkey routine down, but the only thing which the routine has over getkey is multiple key presses. It doesn't reconize the key always like you said, so if you don't need multiple key presses then just use getkey.

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Progress
« Reply #27 on: February 17, 2006, 07:07:00 am »
Katmaster, everytime I see that ss I keep wanting to try this even more and more! It looks so nice! Can we get a update or a new ss soon? btw how is the AI coming along?

katmaster

  • Guest
Progress
« Reply #28 on: February 20, 2006, 12:49:00 pm »
Well, I just got the new xLIB today, and for some reason it won't transfer to my calc. So yeah, after I figure out what's wrong and get it on, I'm gonna mess around with some of the new functions and see if I can get some stuff working faster. As for AI I haven't really started working on it hardcore yet. I've tried some stuff a little bit, but not anything huge yet. Not to fear though, life is finally slowing down so hopefully I'll get more time to work on this.

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Progress
« Reply #29 on: February 20, 2006, 02:01:00 pm »
Great! As for the sending problem: you could reinstall PTI, TIconnect, and redownload xLIB. Other than that I hope your link cable/link port is fine.