Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate

Primary tabs

  • View
  • Collections
  • Comments(active tab)
  • Followers
  • Friends
  • Favorites
If you have ideas how to
Monday, May 26, 2014 - 22: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 ?

Yep, that is so.
Sunday, May 25, 2014 - 15:06

Yep, that is so.

I checked release and it does not stun or freeze.

Seems like VS debug is the reason.

I tried that from debug, and
Sunday, May 25, 2014 - 12: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 

try to replace 3 enemygroups
Sunday, May 25, 2014 - 12: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)

 

Thanx for answering!
Sunday, May 25, 2014 - 11: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.

 

 

Man, i have 640x480
Sunday, May 25, 2014 - 10: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

Man, i have 640x480
Sunday, May 25, 2014 - 10: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