Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: arti on July 05, 2005, 01:28:00 pm

Title: [GENERAL ALGORITHM] Tile collision and events
Post by: arti on July 05, 2005, 01:28:00 pm
I never made a full-rpg before, and the first way I thought of for making (special, unique) events for a tile-map RPG is something like:

c1-->
CODE
ec1
if (xlocation == 7 & ylocation == 4) {

 
Title: [GENERAL ALGORITHM] Tile collision and events
Post by: tifreak on July 05, 2005, 01:52:00 pm
May I please direct your attention to my article that I wrote? It explains 3 different ways for hit and event detection...

http://tifreakware.calcgames.org/downloads/aticlefiles.zip
Title: [GENERAL ALGORITHM] Tile collision and events
Post by: arti on July 05, 2005, 03:08:00 pm
Yea, that's what I had in mind myself, but your article explained everything in more depth, and gave me some nice ideas! Thanks :)smile.gif
Title: [GENERAL ALGORITHM] Tile collision and events
Post by: tifreak on July 06, 2005, 12:47:00 pm
Not a problem. I do try to make everything as simple as possible, yet look extremely complex. :)smile.gif

Though sadly, I don't have the exp in 68k basic yet. I think I will start workin on learnin some of that tonight...