Jump to content


Photo

Some walls won't draw (HELP)


  • Please log in to reply
3 replies to this topic

#1 icezelly

icezelly

    GMC Member

  • New Member
  • 19 posts

Posted 10 August 2012 - 08:41 PM

I am creating a multiplayer fps. Most of the walls draw perfectly, but the walls in the middle are invisible, and don't properly check collision. Why are they practically non-existant? My game file is called TakeFPS and you can take a look to see what is the problem at http://sandbox.yoyog...202952-takefps. please help me. thank you.
  • 0

#2 Sir

Sir

    Jedi Poodoo

  • GMC Member
  • 383 posts
  • Version:GM:Studio

Posted 10 August 2012 - 09:11 PM

This generally happens when you have a draw event, but forget to place

draw_self()

In the draw event. Also, you may have the *visible* box unchecked.

Cheers
  • 0

#3 BattleRifle BR55

BattleRifle BR55

    Moo

  • GMC Member
  • 8247 posts
  • Version:GM7

Posted 10 August 2012 - 10:27 PM

Some more information would be nice, like which room(s) this is happening with, and which walls exactly are invisible. I don't really feel like scanning the entire project file for deeper potential issues, especially since I can't test the game to begin with.
  • 0

#4 icezelly

icezelly

    GMC Member

  • New Member
  • 19 posts

Posted 11 August 2012 - 02:42 AM

Some more information would be nice, like which room(s) this is happening with, and which walls exactly are invisible. I don't really feel like scanning the entire project file for deeper potential issues, especially since I can't test the game to begin with.

Sorry, the invisible walls happen in room3. what's happening is, i have a basic wall object that draws with d3d_draw_wall(x1,y1...), and wall objects (vertical and horizontle) that define x1,y1, etc. and have the basic wall obj. as it's parent. now, in room3, i have made the level by placing the walls (much like Mr. Mark Overmars's fps tutorial). when i run the game (multiplayer), the basic level walls are drawn. however, the walls in the center of the big room don't show up. the thing that puzzles me is that the walls that are drawing and the walls that don't draw are the same object with the same properties. can you help me solve the problem now? if you need more info, please ask me to provide it. thank you.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users