Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GameMaker Studio 2 - Retro Fps Template - V0.15

creating it for the gcx competition over at opera on the free version. · By Play8Bitars

Imported but doesn't seem to work properly?

A topic by kimpo created Mar 30, 2022 Views: 289 Replies: 8
Viewing posts 1 to 5

Hi there,

I've gone and imported this into the latest GMS2 however, there's heaps of issues with rendering and the weapon doesn't show.

Are you able to have a look / see what the issue looks to be? I'd love to pick this up and start looking at this for GMS2. I'm playing around heaps of GM1.4 but would love to get onto GMS2 for making my own FPS.

Kind regards,

Guy

Yeah, I'm running into rendering issues too. None of the walls on the base floor are rendering, though I do see some walls on the cellar floor. I'll try making my own maps to see if I can figure out what's going on, but I'm not promising I'll be able to figure anything out.

ahh awesome! That'd be rad if you can help too! But yes, I see some walls and not others... Haven't tried to debug much ATM though. I also don't see the guns really but can see the bullets... Weird stuff ha!

Developer

Iam very short of time but when i made a qick look a while back i could find that it is all boxes that have faces with no texture that have problems.

in the 3d cube files there is a if else statement to check if an texture is used or not.

if removed they work.

gui and sprite weapons is something after a gm2 update that changed on wath depths gm2 renders them.

So nead to be completely redone.

Sorry for lack of updates but iam completely overwhelmed with other work right now.

Cheers.

Developer

i have a messy test project where walls work but still not the other things.

(+1)

Just downloaded, fantastic resource, thank you!

I was able to correct the walls. Long story short, the pointer values for things like My_texture_front were actually negative, so the "if My_texture_front > 0" would be false whether or not the texture was there.

Change:
- OBJ_3D_Box_Only_Sides: Draw lines from "if My_Texture_xxx >0" to "if My_Texture_xxx != 0"
- OBJ_3D_Box_Only_Sides: Create lines 42, 105, 167, and 229 the same way
- OBJ_3D_Box_Only_Sides: Room End lines the same way

(1 edit)

Heya, awesome to hear and appreciate the effort.

I might try get this going over the weekend and see how I go. Really cool and if seems to work all good, might be able to use as a template for a game I've been doing in GM1.4. fingers crossed!

Cheers.

Developer(+1)

Thanks for the help here when iam lazy ;)

I hope to be able sometime soon to do some coding again .......

I do really apretiate that you help others ;)

Cheers p8b.

(+1)

The player's gun appears only if there is less than -9000 depth, example: -12000.  To fix it, go to variable definitions and add "depth" into the definitions. And set the number to be less than -9000.  It should look like this:       (the red box is needed but the blue must be under -9000)