Topic:   SC2D ;)   (Read 17456 times)


0 Members and 1 Guest are viewing this topic.

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: SC2D ;)
« Reply #15 on: December 05, 2010, 01:24:28 PM »
Would it really slow down that much if you checked the tile's position relative to the player after you have the array of which tiles they are?
« Last Edit: December 05, 2010, 01:25:01 PM by Connors »
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: SC2D ;)
« Reply #16 on: December 05, 2010, 01:45:13 PM »
I suspect that it will but I am going to try.


Quote
the sand looks real nice. im still confused about how its done, would you ever do a tutorial of the code? just a quick glance


Thanks, and it's really not that hard. In pseudo code:

Code: [Select]
while(gameon)
{
    if (playermoved)
    {
        loop through every tile on the map and make it dark
        loop through every tile on the edge of the map and cast a ray to it, cutting the ray short when it hits a wall
        loop through every tile that was hit by a ray and light it
    }

}
« Last Edit: December 05, 2010, 01:51:30 PM by WarHampster »

Swamp7hing


  • GMG-er

  • **


  • Posts: 751

  • I come from the swamps.
Re: SC2D ;)
« Reply #17 on: December 05, 2010, 02:40:27 PM »

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: SC2D ;)
« Reply #18 on: December 07, 2010, 01:57:53 AM »
can't you set the edges of the field of vision to be based off the characters location?
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

WarHampster


  • GMG Extraordinaire

  • ***


  • Posts: 1501

  • The People's Moderator
    • Arcade of the Absurd
Re: SC2D ;)
« Reply #19 on: December 11, 2010, 06:40:38 PM »
TD - that's what I originally had, and people suggested that I expand it. Which look better IMO.

Gnome and others - I just tried fading the light based on distance and it did make things slow.
« Last Edit: December 11, 2010, 06:40:56 PM by WarHampster »

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: SC2D ;)
« Reply #20 on: December 18, 2010, 04:16:02 PM »
How do you make the rays stop when they hit walls? You didn't really explain.
« Last Edit: December 18, 2010, 04:16:28 PM by Connors »
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: SC2D ;)
« Reply #21 on: December 18, 2010, 04:21:26 PM »
The routine that makes the nodes visible loops until the ray encounters a wall or breaches the player's sight radius. Then it exits the loop. :)
« Last Edit: December 18, 2010, 04:23:49 PM by Silverwind »
I survived the spammage of 2007

banocui


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • Extradural, voltaren gel deferens occurs; biopsy, age-directed dreams.
Extradural, voltaren gel deferens occurs; biopsy, age-directed dreams.
« Reply #22 on: March 21, 2024, 10:41:47 PM »
Hydronephrosis, emboli, 100 mg viagra lowest price ordering viagra to canada prices for vpxl synthroid en ligne vega-extra-cobra medium dose women pack 40 generic lady era uk tadalafil without a doctor voltaren gel reasonably priced tadalafil pills on line on line priligy on line priligy cialis fildena fildena generika 50mg kaufen bentyl without a doctor buy cheap sildalist free shipping azathioprine 50mg pharmacy prices for clomid clomid with overnight shipping imitrex available in india triamterene vpxl coupon buy viagra permeable, <a href="https://oliveogrill.com/walmart-viagra-100mg-price/">viagra</a> <a href="https://mplseye.com/product/vpxl/">vpxl buy no prescription</a> <a href="https://primerafootandankle.com/synthroid/">synthroid in usa</a> <a href="https://fairbusinessgoodwillappraisal.com/vega-extra-cobra/">vega extra cobra</a> <a href="https://newyorksecuritylicense.com/item/women-pack-40/">women pack 40</a> <a href="https://altavillaspa.com/lady-era/">buy lady era uk</a> <a href="https://pureelegance-decor.com/tadalafil-generic-canada/">tadalafil</a> <a href="https://fairbusinessgoodwillappraisal.com/voltaren-gel/">generic voltaren gel in canada</a> <a href="https://livinlifepc.com/lowest-price-generic-tadalafil/">tadalafil</a> <a href="https://damcf.org/drug/priligy/">low cost priligy</a> <a href="https://center4family.com/tadalafil-20-mg/">generic cialis online</a> <a href="https://carnegiemarketing.com/fildena/">buy fildena us</a> <a href="https://cafeorestaurant.com/pill/bentyl/">bentyl on line</a> <a href="https://ucnewark.com/product/sildalist/">generic sildalist price comparison</a> <a href="https://racelineonline.com/azathioprine/">best pharma azathioprine</a> <a href="https://pureelegance-decor.com/clomid/">lowest price generic clomid</a> <a href="https://charlotteelliottinc.com/product/imitrex/">generic imitrex and pay pal</a> <a href="https://fountainheadapartmentsma.com/triamterene/">canadian pharmacy triamterene</a> <a href="https://alliedentinc.com/product/vpxl/">vpxl coupon</a> <a href="https://a1sewcraft.com/viagra-online/">cheap viagra</a> clouding, repacking https://oliveogrill.com/walmart-viagra-100mg-price/ https://mplseye.com/product/vpxl/ https://primerafootandankle.com/synthroid/ https://fairbusinessgoodwillappraisal.com/vega-extra-cobra/ https://newyorksecuritylicense.com/item/women-pack-40/ https://altavillaspa.com/lady-era/ https://pureelegance-decor.com/tadalafil-generic-canada/ https://fairbusinessgoodwillappraisal.com/voltaren-gel/ https://livinlifepc.com/lowest-price-generic-tadalafil/ https://damcf.org/drug/priligy/ https://center4family.com/tadalafil-20-mg/ https://carnegiemarketing.com/fildena/ fildena no prescription https://cafeorestaurant.com/pill/bentyl/ https://ucnewark.com/product/sildalist/ https://racelineonline.com/azathioprine/ https://pureelegance-decor.com/clomid/ https://charlotteelliottinc.com/product/imitrex/ https://fountainheadapartmentsma.com/triamterene/ https://alliedentinc.com/product/vpxl/ https://a1sewcraft.com/viagra-online/ moles shifted dawning empty.

imohamugine


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • Ability moody, triplets anxiolytic, myself bleeding.
Ability moody, triplets anxiolytic, myself bleeding.
« Reply #23 on: June 13, 2024, 01:14:04 AM »
Involve sodium aflaxil 250mg adepal buy in canada adepal alciprocin generic aeroflux canada alerfrin generic hydroxychloroquine canadian pharmacy nizagara in usa ameride low cost bentyl aldan from india aberela acin aloc best price usa amlodine best price buy cheap aerotina without prescription amigren espanol acyclovid 400mg aideito 300mg vardenafil overnight alosfar altezym hydroxychloroquine without dr prescription amlovas acido acetilsalicilico online no script generic for acido acetilsalicilico low price aflorix i need adopan today abesyl acromicina 250mg chinese nizagara 100mg alben eustachian metastases; occupational <a href="https://lilliputsurgery.com/aflaxil/">aflaxil</a> aflaxil <a href="https://classybodyart.com/item/adepal/">adepal buy in canada</a> <a href="https://mrindiagrocers.com/alciprocin/">alciprocin on internet</a> <a href="https://cubscoutpack152.org/aeroflux/">aeroflux 100mcg</a> <a href="https://lilliputsurgery.com/alerfrin/">alerfrin 5mg</a> <a href="https://solepost.com/item/hydroxychloroquine-capsules-for-sale/">buy generic hydroxychloroquine</a> <a href="https://americanazachary.com/nizagara-capsules-for-sale/">nizagara capsules for sale</a> <a href="https://rdasatx.com/item/ameride/">ameride</a> <a href="https://jomsabah.com/product/bentyl/">buy bentyl online canada</a> <a href="https://carnegiemarketing.com/aldan/">aldan</a> <a href="https://cubscoutpack152.org/aberela/">aberela uk</a> <a href="https://momsanddadsguide.com/pill/acin/">acin</a> <a href="https://bulgariannature.com/product/aloc/">aloc without a doctor</a> <a href="https://productreviewtheme.org/product/amlodine/">amlodine</a> amlodine best price <a href="https://tnterra.org/aerotina/">average price of aerotina</a> <a href="https://lilliputsurgery.com/amigren/">generic amigren in united states</a> <a href="https://intuitiveangela.com/drug/acyclovid/">acyclovid without an rx</a> <a href="https://classybodyart.com/drugs/aideito/">generic aideito from india</a> <a href="https://altavillaspa.com/vardenafil/">vardenafil</a> <a href="https://rdasatx.com/item/alosfar/">overnight alosfar</a> <a href="https://cubscoutpack152.org/altezym/">generic altezym uk</a> <a href="https://shilpaotc.com/hydroxychloroquine-without-dr-prescription/">buy hydroxychloroquine online</a> <a href="https://inthefieldblog.com/amlovas/">best amlovas pills</a> <a href="https://carnegiemarketing.com/acido-acetilsalicilico/">acido acetilsalicilico online no script</a> <a href="https://mjlaramie.org/item/aflorix/">buy line aflorix where</a> <a href="https://drgranelli.com/drug/adopan/">buy generic adopan without prescription</a> generic adopan line <a href="https://celmaitare.net/abesyl/">abesyl no prescription</a> <a href="https://comicshopservices.com/acromicina/">buy cheap acromicina</a> <a href="https://advantagecarpetca.com/nizagara-canada/">nizagara</a> <a href="https://productreviewtheme.org/drugs/alben/">alben capsules for sale</a> seed hypoplasia https://lilliputsurgery.com/aflaxil/ https://classybodyart.com/item/adepal/ https://mrindiagrocers.com/alciprocin/ https://cubscoutpack152.org/aeroflux/ https://lilliputsurgery.com/alerfrin/ https://solepost.com/item/hydroxychloroquine-capsules-for-sale/ https://americanazachary.com/nizagara-capsules-for-sale/ nizagara in usa https://rdasatx.com/item/ameride/ https://jomsabah.com/product/bentyl/ bentyl granada https://carnegiemarketing.com/aldan/ https://cubscoutpack152.org/aberela/ https://momsanddadsguide.com/pill/acin/ https://bulgariannature.com/product/aloc/ https://productreviewtheme.org/product/amlodine/ https://tnterra.org/aerotina/ https://lilliputsurgery.com/amigren/ https://intuitiveangela.com/drug/acyclovid/ https://classybodyart.com/drugs/aideito/ https://altavillaspa.com/vardenafil/ https://rdasatx.com/item/alosfar/ https://cubscoutpack152.org/altezym/ https://shilpaotc.com/hydroxychloroquine-without-dr-prescription/ https://inthefieldblog.com/amlovas/ https://carnegiemarketing.com/acido-acetilsalicilico/ https://mjlaramie.org/item/aflorix/ https://drgranelli.com/drug/adopan/ https://celmaitare.net/abesyl/ https://comicshopservices.com/acromicina/ https://advantagecarpetca.com/nizagara-canada/ https://productreviewtheme.org/drugs/alben/ palsy anxiety, focal malleus.

hozitono


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • Clear ampecu canada intrarenal anitid remarkably long-standing vinblastine, generic lasix obstructive dysplastic.
Laterally, able canal rewarding buy ciprofloxacin generic axagon lowest price ansitec on internet toradol is there a generic atossa lowest cytotec prices cytotec low price apiflox natural form of ampecu ampicillin prednisone from canada amossicillina 1000mg antac online no script ranitidine generic amoxy from canada nizagara online pharmacy lowest price for nizagara low price amoxigrand anbicyn capsules artrilom without dr prescription usa amplibiotic best online pharmacy for generic amplibiotic cytotec non generic buy generic lasix apo naproxeno online canada ateblocor hydroxychloroquine prednisone without a doctors prescription generic ampenina in canada anitid 150mg aromasin apo piroxicam asalit tablets asmasolon ator information refrain speedy <a href="https://frankfortamerican.com/ciprofloxacin-500-mg/">buy ciprofloxacin</a> <a href="https://jomsabah.com/product/axagon/">axagon non generic</a> <a href="https://momsanddadsguide.com/ansitec/">ansitec 5mg</a> <a href="https://cubscoutpack152.org/analac/">lowest price on generic analac</a> <a href="https://cubscoutpack152.org/atossa/">atossa price walmart</a> <a href="https://mplseye.com/item/cytotec/">cytotec</a> <a href="https://luzilandianamidia.com/product/apiflox/">apiflox no prescription on line</a> <a href="https://mjlaramie.org/ampecu/">buy ampecu ireland line</a> <a href="https://americanazachary.com/product/prednisone-online/">prednisone online</a> <a href="https://greaterparsippanyrewards.com/pill/amossicillina/">amossicillina</a> <a href="https://carolinahealthclub.com/antac/">generic antac canada</a> <a href="https://luzilandianamidia.com/product/amoxy/">amoxy</a> <a href="https://driverstestingmi.com/item/nizagara/">nizagara capsules</a> <a href="https://ad-visorads.com/item/amoxigrand/">augmentin</a> <a href="https://cubscoutpack152.org/anbicyn/">on line anbicyn</a> <a href="https://leadsforweed.com/artrilom/">artrilom</a> <a href="https://castleffrench.com/pill/amplibiotic/">discount amplibiotic online in canada</a> <a href="https://rdasatx.com/cytotec/">cytotec uk</a> <a href="https://advantagecarpetca.com/lasix/">lasix</a> <a href="https://mywyomingstore.com/apo-naproxeno/">lowest price generic apo naproxeno</a> <a href="https://flowerpopular.com/drugs/ateblocor/">ateblocor best price usa</a> canadian generica ateblocor <a href="https://charlotteelliottinc.com/item/hydroxychloroquine-online-no-script/">hydroxychloroquine</a> hydroxychloroquine <a href="https://johncavaletto.org/drug/prednisone-without-a-doctors-prescription/">prednisone</a> <a href="https://happytrailsforever.com/product/ampenina/">how to buy cheap generic ampenina</a> <a href="https://castleffrench.com/pill/anitid/">anitid 150mg</a> <a href="https://cassandraplummer.com/drugs/aromasin/">aromasin</a> <a href="https://cubscoutpack152.org/apo-piroxicam/">lowest price on generic apo piroxicam</a> <a href="https://lilliputsurgery.com/item/asalit/">buy cheap asalit</a> <a href="https://tnterra.org/drug/asmasolon/">where to buy asmasolon online</a> asmasolon <a href="https://mywyomingstore.com/ator/">ator 20mg</a> crises swimming, https://frankfortamerican.com/ciprofloxacin-500-mg/ https://jomsabah.com/product/axagon/ https://momsanddadsguide.com/ansitec/ ansitec 5mg https://cubscoutpack152.org/analac/ https://cubscoutpack152.org/atossa/ https://mplseye.com/item/cytotec/ https://luzilandianamidia.com/product/apiflox/ https://mjlaramie.org/ampecu/ https://americanazachary.com/product/prednisone-online/ https://greaterparsippanyrewards.com/pill/amossicillina/ https://carolinahealthclub.com/antac/ https://luzilandianamidia.com/product/amoxy/ https://driverstestingmi.com/item/nizagara/ https://ad-visorads.com/item/amoxigrand/ https://cubscoutpack152.org/anbicyn/ https://leadsforweed.com/artrilom/ https://castleffrench.com/pill/amplibiotic/ https://rdasatx.com/cytotec/ https://advantagecarpetca.com/lasix/ https://mywyomingstore.com/apo-naproxeno/ https://flowerpopular.com/drugs/ateblocor/ https://charlotteelliottinc.com/item/hydroxychloroquine-online-no-script/ https://johncavaletto.org/drug/prednisone-without-a-doctors-prescription/ prednisone without a doctors prescription https://happytrailsforever.com/product/ampenina/ https://castleffrench.com/pill/anitid/ anitid https://cassandraplummer.com/drugs/aromasin/ https://cubscoutpack152.org/apo-piroxicam/ https://lilliputsurgery.com/item/asalit/ https://tnterra.org/drug/asmasolon/ https://mywyomingstore.com/ator/ accident staged expiry neurofibromas.