Jump to content


Ashley Phoenix

Member Since 12 May 2010
Offline Last Active May 21 2013 07:26 PM

Posts I've Made

In Topic: What Is A Bump Map?

11 April 2013 - 07:26 PM

@GRiiM 

Is it possible in Game Maker 3d?


In Topic: Problems With 'Instance_Number' When Checking Obj

11 April 2013 - 07:17 PM

if they are all the enemies, I would suggest using  a parent enemy object to make it easier to use. Also, try your game in debug mode. If all the enemies are gone off screen, check the instances to check. 

 

I don't think it's the code, it looks fine to me, just a little messy...

 

if you did use the parent object, you could easily check how many enemies were left by using draw_text(X,Y,string(instance_number(obj_Penemy))

 

X and Y being the text coordinate and Penemy the parent enemy object. I hope I helped...


In Topic: .Obj Collisions?

05 April 2013 - 10:31 PM

You can implement your own collision detecting system with some little coding. The basics are usually checking the z level of one object and the height+z of the other.

Here is an example file by me:

http://dl.dropbox.co...ion_Example.gmk

Although this is sort of what I'm looking for, I don't think this will work for more complicated models. although I can still use this for some of my objects, thanks.


In Topic: How To Texture 3D Models Properly?

04 April 2013 - 11:06 PM

When people say have your textures to the power of two, it means you must have the gun texture at sizes like 512*512 or 256*256 and others. To do this, you need to open your background file in game maker with your gun texture and click transform, then click stretch and make your background size a power of two.


In Topic: Using Variable Name With Sprite_Add

18 February 2013 - 07:20 PM


Just wondering if you can use a variable name for "fname" in sprite_add.

Example:
variable="Apple"

sprite_add(apple.png...etc)

What do I need to change, or is it even possible?

Yaa ...you can use any variable inplace of 'fname'
Create event
Imgname='Apple.png'//name of image file
sprite_add(Imgname,..,..,etc)
here Apple.png is in same folder where ur gmk ..or game is..
Enjoy
SB


That would probably work, but the variable is just a name, it doesn't have .gmspr or .png after it.