[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
SloGameDev.net • Poglej temo - MicroBattlefield

MicroBattlefield

Če želite svetu pokazati, na čem delate trenutno ali kaj ste naredili, je to pravi kraj.

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » Ne Mar 03, 2013 7:59 pm

GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » Po Mar 11, 2013 12:46 am

Tokrat žal zelo malo vidnih novosti v MBF. RL služba mi je ta teden vzela malce več časa :)
Koda za kreiranje posameznih enot je sedaj malce bolj pospravljena, dodano par novih enot za rdeči tim, opisi enot so sedaj vsi v datotekah in ne več v kodi,...
Pa še nekaj lepih slikc:
Slika

Pred:
Slika

Po:
Slika
GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a Lamoot » To Mar 19, 2013 11:03 pm

Te moram še enkrat pohvaliti za preprost ampak zanimiv videz igre. Ravnilo se mi zdi super dodatek na karti :)
Lamoot
inštruktor
inštruktor
 
Prispevkov: 363
Pridružen: Po Avg 10, 2009 6:34 pm

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » Sr Mar 20, 2013 9:37 pm

GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » Ne Mar 31, 2013 4:46 am

Podaljšani vikend je seveda priložnost za kodiranje za dušo :)

Za kickstart backerje Planetary Anihilation (ali igralce SupCom2) bo tole izgledalo znano:
Slika

Za kaj pravzaprav gre? Reševanje problema navigacije enot po polju s preprekami. Nekaj zanimivih strani na to temo si lahko ogledate na:
http://www.red3d.com/cwr/steer/FlowFollow.html ali
http://aigamedev.com/open/tutorials/potential-fields

Za tehnične bralce...

Zadeva je pravzaprav dokaj enostavna. Polje razdelimo na celice, ki jim določimo cost (koliko stane prečkanje celice) ter za posamezno enoti goal (kolikšna je vrednost premika na to celico). Vrednosti integriramo.

V zgornjem primeru so ovire naključno določene celice z največjim stroškom prečkanja (1.0). Cilj je naključno določena celica, goal vrednosti pa oddaljenost od cilja. Integrirana vrednost celice je vizualizirana z zeleno barvo (bolj zelena, višja vrednost).

Vse kar enota počne je, da išče sosednjo celico z najnižjo integrirano vrednostjo in potuje proti njej. Kot kapljica vode, ki polzi proti nižji lokaciji.

Seveda poskrbimo še za problem lokalnega optimuma, ko se enota ujame v konkavno oviro. V zgornjem primeru uporabljam sledi, ki obiskanim celicam začasno dvigne integrirano vrednost. Tako se enota raje odloči potovati po drugi poti, kot da se zacikla.

Glede na to, da v MBF ne pričakujem pretiranih težav s statičnimi ovirami konkavnih ovir je tole kar zanimiva rešitev. Pa še lepo se je igračkati z WPF-jem :)
GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » Ne Apr 07, 2013 2:08 am

GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a Blodyavenger » Po Apr 15, 2013 10:28 pm

Uff, kot za druge teme si tudi tuki nism vzel časa za odpisat, sledim pa redno. +1 za tehnične podrobnosti, keep 'em comming.
Sm že tud sam gledu tale algortim podobn temu sam si nism nikol vzel časa za poskusit.

Povej, a stvar deluje že?

Pa ful se čudim da na TIGSource noben kej dost ne komentira ker projekt deluje res kul v primerjavi z nekaterimi tm. .<(16)>
................ ...................
"Don't you dare using uninitialized variables, not in C++"
Uporabniški avatar
Blodyavenger
expert
expert
 
Prispevkov: 716
Pridružen: Pe Sep 12, 2008 3:31 pm
Kraj: Land of the Ten Hares

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » So Apr 27, 2013 7:40 pm

GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » Če Avg 08, 2013 1:03 pm

Spet en update na .

Upam, da vam ni prevroče danes :)
GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » Pe Avg 16, 2013 2:07 am

Še nekaj koristno porabljenega časa... Ptički :)
Slika
Slika
GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » Po Sep 02, 2013 2:27 am

Počasi sem se naveličal črne barve ozadja... SkyBox testing!
Slika

Trenutno še uporabljam sposojeno teksturo - bom nemudoma zamenjal :)
GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a Lamoot » To Sep 24, 2013 12:27 pm

Ptički :) gledam od daleč in so res prava perjad, od blizu pa dve kocki ki plahutata :)

Prejšnji "skybox" oziroma barva ozadja je kljub preprostosti sedla zraven, ker je vse bilo v podobnem poenostavljenem stilu kot preostala igra. Novi skybox ni slab, samo verjetno bi še bolj sedlo kaj stiliziranega.
Lamoot
inštruktor
inštruktor
 
Prispevkov: 363
Pridružen: Po Avg 10, 2009 6:34 pm

Re: MicroBattlefield

OdgovorNapisal/-a GoranSi » To Sep 24, 2013 5:14 pm

GoranSi
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: Pe Jul 20, 2012 9:01 am

Re: MicroBattlefield

OdgovorNapisal/-a Blodyavenger » Pe Sep 27, 2013 3:03 pm

................ ...................
"Don't you dare using uninitialized variables, not in C++"
Uporabniški avatar
Blodyavenger
expert
expert
 
Prispevkov: 716
Pridružen: Pe Sep 12, 2008 3:31 pm
Kraj: Land of the Ten Hares

Prejšnja

Vrni se na Projekti

Kdo je na strani

Po forumu brska: 0 registriranih uporabnikov in 2 gostov

cron