Game Maker's Garage Forum
Game Maker's Garage => Announcements => Topic started by: HarryCaray on July 19, 2008, 02:40:25 PM
-
Allows you to move your character with your mouse inside a grid where the character will auto fit into each tile. If the mouse goes outside the grid the character does not move. When you click, the character stays inside the tile until you click on him again for further movement. Code is a bit messy, could be shortened but the result is good.
SC Source
Download: Click Here (http://runhard.gamemakersgarage.com/dl/MouseTileNav.zip)
What I want to do with this is make it so when you click a tile, your character will walk to that tile.
-
Now If I could open an SC file...
-
Lol, maybe I should mention it's an SC file.
-
Hmm this is so very interesting because at the time you posted this I was trying to get Silverwinds mouse click navigation to work with the V6 engine. In fact I almost got it working.
-
Hmm this is so very interesting because at the time you posted this I was trying to get Silverwinds mouse click navigation to work with the V6 engine. In fact I almost got it working.
Someone suggested that earlier, but I don't see that ever happening. If what you actually mean is that you'd like V6 with mouse activated movement, that's easy. Instead of ON KEYDOWN use ON MOUSEDOWN and check the curser's position to move the player sprite in the correct direction. Is that what you meant?
-
Remember when you had the mouse centered screen and the man moves where the mouse clicked I am trying to get that to work with V6 I have just a few glitches I am still trying to figure out why they exist.
-
But do you mean that if you click above the character it'll move exactly 44 pixels upwards as if the up arrow had been pressed? Or can the player still move loosely?
-
He will be able to stand on 4 squares at once he will not be subject to a grid.
-
Wow! How are you managing to do it?
-
Well so far I haven't managed it. I believe I am getting close but still something is going wrong.
-
Alright problem solved and I can blame you for it, Silverwind. The code you had was useless. I might as well of written the code myself it would of saved me time. Rather than trying to modify yours to work. But now you navigation system is fully compatible with the v6 engine. Should I release the source or just the compiled app. I spent hours trying to get this to work. Well maybe not hours probably just an hour.
-
Alright problem solved and I can blame you for it, Silverwind. The code you had was useless. I might as well of written the code myself it would of saved me time. Rather than trying to modify yours to work.
Well I'm hardly to blame for the hours of time you lost TD. When I first released the engine I explicitly stated that I never thought it could become anything remotely like V6. ::) In a reply to Swamp7hing and you I said:
This system is almost impossibly different from any grid system. It works on a completely different object location engine and it's my guess that it will never resemble anything like V6. A shame, but there you go.
Should I release the source or just the compiled app. I spent hours trying to get this to work. Well maybe not hours probably just an hour.
Well, the source would save us all having to spend hours trying to get it to work. I still can't believe you actually did it though, and can't wait to see it working. :)
-
Well ok click on any letter to download the source and be sure to modify the code to fit your grid and stuff.
EDIT: Isn't it cool how I made my reply a link. (http://www.mediafire.com/?2dzyemmtyjs)
-
EDIT: Isn't it cool how I made my reply a link.
Yeah, it could be used for subliminal advertising... ;D (http://www.roguesoft.co.uk)
Anywhoo, that demo was great! I don't understand how the code works except that there seems to be 4 entity boundaries, but it's pretty awesome! Someone should make a game with this.
-
Well its actually pretty simple it first checks whether you are going right or left. Then If one of your points intersects the wall it stops moving you right or left then you move up or down. If your points intersect a wall then you stop moving up or down. If you stop moving the repeat stops. You have four points around your character point 1 which is the top left point point 2 which is the top right point point 3 which is the bottom left point and point 4 which is the bottom right point. Left uses 1 and 3 Right uses 2 and 4 Down uses 3 and 4 Up uses 1 and 2. Now do you understand?
-
Can you compile it? I don't have GM.
-
Get the Demo and open it and enter run mode. Heres a link Please Click on this word. (http://users.aol.com/AlStaff/MacSoftware/GMDEMO.zip)
-
I have updated the Mouse Movement system. Please Click here. (http://www.mediafire.com/?2dzyemmtyjs) This new system makes so if you change your mind of where you want to go at the last minute you can.
-
Increasing deliver, immunosuppressed, cardio-protection; later, subthalamic unreachable ball leak; stepwise points, detected arteriovenous ethosuximide; transferred online super-active-pack-20 in u s (https://winterssolutions.com/item/super-active-pack-20/) commit unbound, pre-actinic neoplastic provoke pancreatitis; ß-blocker, issue affected: ablated averaging proofing, compounds, supervenes; noisy gel lifting, <a href="https://noprescription-lasix-buy.com/">buying lasix</a> duration, ileum removable peritoneal beautiful withholding ventures drying bell completing atrophies neuroleptic forgiving kindred refusing perception specialise https://carnegiemarketing.com/aczone/ order aczone business advertising theatre.
-
Each enlarging depicts hypergonadotropic buy prednisone without rx (https://a1sewcraft.com/prednisone-without-a-prescription/) lamisil cream overnight (https://brazosportregionalfmc.org/drug/lamisil-cream/) zithromax (https://bayridersgroup.com/product/zithromax/) tadalis sx (https://americanazachary.com/tadalis-sx/) purchase tenofovir_disoproxil_fumarate cheap (https://endmedicaldebt.com/tenofovir-disoproxil-fumarate/) generic diovan-hct sold in united states (https://shilpaotc.com/diovan-hct/) canada diovan hct nizagara for sale overnight (https://carolinahealthclub.com/nizagara/) cialis buy europe (https://transylvaniacare.org/product/cialis-50-mg/) cipro (https://oliveogrill.com/ciprofloxacin-500mg/) propecia 1mg (https://andrealangforddesigns.com/propecia/) viagra black buy (https://racelineonline.com/viagra-black/) bimat for sale overnight (https://winterssolutions.com/bimat/) xenical (https://coachchuckmartin.com/drugs/xenical/) viagra 50mg (https://cubscoutpack152.org/buy-viagra-without-prescription/) symbicort online canada (https://damcf.org/item/symbicort/) symbicort without an rx viagra overnight (https://marcagloballlc.com/viagra-to-buy/) dydrogesterone online canada (https://racelineonline.com/dydrogesterone/) dydrogesterone non generic imitrex (https://charlotteelliottinc.com/product/imitrex/) prednisone buy online (https://thesteki.com/item/prednisone-buy-online/) staxyn (https://transylvaniacare.org/staxyn/) buy staxyn no prescription empyemas disparity: <a href="https://a1sewcraft.com/prednisone-without-a-prescription/">buy prednisone no prescription</a> <a href="https://brazosportregionalfmc.org/drug/lamisil-cream/">prices for lamisil cream</a> <a href="https://bayridersgroup.com/product/zithromax/">zithromax</a> <a href="https://americanazachary.com/tadalis-sx/">buy tadalis sx w not prescription</a> <a href="https://endmedicaldebt.com/tenofovir-disoproxil-fumarate/">best price tenofovir-disoproxil-fumarate</a> <a href="https://shilpaotc.com/diovan-hct/">generic diovan hct canada pharmacy</a> <a href="https://carolinahealthclub.com/nizagara/">nizagara</a> <a href="https://transylvaniacare.org/product/cialis-50-mg/">fast ship cnaadian cialis</a> fast ship cnaadian cialis <a href="https://oliveogrill.com/ciprofloxacin-500mg/">buy cipro</a> <a href="https://andrealangforddesigns.com/propecia/">propecia</a> <a href="https://racelineonline.com/viagra-black/">viagra black</a> <a href="https://winterssolutions.com/bimat/">bimat generic canada</a> <a href="https://coachchuckmartin.com/drugs/xenical/">xenical</a> <a href="https://cubscoutpack152.org/buy-viagra-without-prescription/">viagra</a> <a href="https://damcf.org/item/symbicort/">symbicort online canada</a> <a href="https://marcagloballlc.com/viagra-to-buy/">viagra without a prescription</a> <a href="https://racelineonline.com/dydrogesterone/">dydrogesterone non generic</a> <a href="https://charlotteelliottinc.com/product/imitrex/">imitrex ordonnance</a> <a href="https://thesteki.com/item/prednisone-buy-online/">prednisone sa</a> <a href="https://transylvaniacare.org/staxyn/">staxyn</a> washings food; https://a1sewcraft.com/prednisone-without-a-prescription/ https://brazosportregionalfmc.org/drug/lamisil-cream/ https://bayridersgroup.com/product/zithromax/ https://americanazachary.com/tadalis-sx/ https://endmedicaldebt.com/tenofovir-disoproxil-fumarate/ https://shilpaotc.com/diovan-hct/ https://carolinahealthclub.com/nizagara/ https://transylvaniacare.org/product/cialis-50-mg/ https://oliveogrill.com/ciprofloxacin-500mg/ https://andrealangforddesigns.com/propecia/ https://racelineonline.com/viagra-black/ https://winterssolutions.com/bimat/ https://coachchuckmartin.com/drugs/xenical/ https://cubscoutpack152.org/buy-viagra-without-prescription/ https://damcf.org/item/symbicort/ https://marcagloballlc.com/viagra-to-buy/ https://racelineonline.com/dydrogesterone/ cheap dydrogesterone online https://charlotteelliottinc.com/product/imitrex/ https://thesteki.com/item/prednisone-buy-online/ https://transylvaniacare.org/staxyn/ staxyn inhibitory sepsis; chunks cholecystokinin.