Primary tabs

Comments by User

Tuesday, May 27, 2014 - 01:33

If you have ideas how to remove the rather large safety margin off screen for the oversized tiles, feel free to share.

How about to determine max tile's size inside Map::load(std::string fname) while parsing bg layer ?

Sunday, May 25, 2014 - 18:06

Yep, that is so.

I checked release and it does not stun or freeze.

Seems like VS debug is the reason.

Sunday, May 25, 2014 - 15:41

I tried that from debug, and it just stun's the game

May be debug is the reason, but i have very good hardware(i7 3630QM @ 2.4GHz and 16 GB of ram), so it shouldnt 

Sunday, May 25, 2014 - 15:06

try to replace 3 enemygroups inmineshaft_longsword.txt

with this

[enemygroup]

type=miner

location=11,22,4,10

level=1,1

number=45,40

 

[enemygroup]

type=miner

location=15,12,19,6

level=1,1

number=40,42

 

[enemygroup]

type=miner

location=36,12,15,13

level=1,1

number=41,45

 

Run the game and come to mines, come close to all three groups (close enough when zombie's try to attack you)

 

Sunday, May 25, 2014 - 14:35

Thanx for answering!

I already removed x2 multiplier )

But i didn't do this.

 

j = upperleft.y - tset.max_size_y/2 + tset.max_size_x;

 

Ill apply the whole fix.

Thanx alot again!

 

++

I tried to edit mineshaft_longsword.txt

Multiplied all enemygroups by 4

Was

[enemygroup]

type=miner 

location=15,12,19,6 

level=1,1 

number=10,12

 

After edit:

[enemygroup]

type=miner 

location=15,12,19,6 

level=1,1 

number=40,48

 

And when i came to all groups of enemies game just freeze and does not respond to input at all

 

i came to void GameStatePlay::logic()

and i commented that line hazards->logic();

and game went just fine (hehe i mean no freeze).

So hazards->logic() it causing game to freeze on large enemies groups.

 

 

Sunday, May 25, 2014 - 13:49

Man, i have 640x480

Tile's size is 128x32

75 tiles needed to cover the screen.

2513 and 75, i think it is a huge difference

Sunday, May 25, 2014 - 13:49

Man, i have 640x480

Tile's size is 128x32

75 tiles needed to cover the screen.

2513 and 75, i think it is a huge difference