Topic:   v7 nav OPTIMIZED!!!   (Read 13314 times)


0 Members and 1 Guest are viewing this topic.

EqwanoX


  • Administrator

  • GMG Extraordinaire

  • *****


  • Posts: 1180
Re: v7 nav tutorial
« Reply #15 on: March 26, 2011, 02:09:32 PM »
i was reading "masters of doom" where carmack was figureing out how to make a mario game run smoothly, the engine was slow cause it was refreshing all the tiles on the screen every movement, so he made it so it would only refresh the tiles that were changed. i thought i should try that with v7 and holy shlt! the results were much better than i expected, its lightning fast now! and all it took was 4 extra lines! while i was at it i streamlined the rest of the code, its all on one card now, and chests less complicated
http://www.mediafire.com/?txcx82d0r4td5sz
« Last Edit: March 26, 2011, 02:11:59 PM by EqwanoX »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: v7 nav OPTIMIZED!!!
« Reply #16 on: March 26, 2011, 02:51:23 PM »
Haha this is fantastic.
"Emperor Richardson"

Charlo


  • GMG-er

  • **


  • Posts: 451
Re: v7 nav OPTIMIZED!!!
« Reply #17 on: March 26, 2011, 10:20:59 PM »
Awesome job!  I ran into one small bug though: when I was in the house, got the computer and tried to leave, the sprites for the table and the NPCs shifted down one grid square.  Their actual locations were the same because I couldn't walk through where the table used to be, so just the sprites got shifted.

EqwanoX


  • Administrator

  • GMG Extraordinaire

  • *****


  • Posts: 1180
Re: v7 nav OPTIMIZED!!!
« Reply #18 on: March 27, 2011, 11:25:42 AM »
thats strange, i cant replicate that bug. you can give my computer to silverwind to aid the resistance