Jump to content


Swast

Member Since 20 Aug 2011
Offline Last Active Feb 23 2013 10:41 PM

Topics I've Started

The buttons of android phones

19 January 2013 - 10:38 AM

So most of the Android phones have these two buttons: (with the main button on the middle that closes the game)
-The "back" button which usually closes the game or undoes something.
-The "menu" button which usually pop ups a menu.

I don't know the real names of these buttons but is it possible to use them in an Android game? It would save so much space in my game's view if I could use those..

And if it is possible, how do I use them?

Adding an entire folder to included files

24 December 2012 - 09:39 PM

So is including an entire forlder (and it's subdirectories) in included files possible? I have dozens of model and texture files from my 8.1 project and it would be damn irritating to include them one by one. I know there is a folder for included files in the project directory but even I copy my files in there, they wont appear in Studio.

I have sent a suggestion in bugs.yoyogames.com but I decided to ask here too.

[3D] Weird bug with textures

13 December 2012 - 09:11 PM

So I have a flat model with a texture that should show the characters back and its frontal body on both sides of the model. But GM doesn't draw the model's back. Only its frontal body on both sides of the model.

When I move my camera close enough to the model with the texture bug, it shows the models back partially by cropping: (The back is the grey part)
Posted Image

In Game Maker Model Creator the model draws correctly but not in GM itself..

HTML5 and 3D

12 November 2012 - 05:07 PM

Will the 3D-functions ever work on HTML5?
I remember that back in the day when the GM:HTML5 was an independent software, there was a notificiation on the version compare-site that 3D functions will be on HTML5 in the future. (That clock image)

So will HTML5 someday support the 3D-graphics or is it too much for a browser game?

Friction on a slope (Box2D Physics)

21 October 2012 - 05:14 PM

So I've tried to learn this physics library and I've had this one problem. (I'm making a platform-game) I've tried to create slopes but the player just slides down them no matter how much friction I add to the player and the slope.
I don't want to add too much friction because then I would have to use a hell of a lot newtons to move the player who is standing on the ground and not to mention moving upwards the slope.

Can you help me?

EDIT: And the players rotation is mostly on 0 and the shape is rectangle.

EDIT: I noticed that I have to push the force to the direction where player is looking but it had no affect. Player still slided down the slope..
if ( keyboard_check( ord( "D" ) ) )
{
    if ( place_free( x + 1, y ) == true )
    {
        physics_apply_local_force( 0, 0, 130, lengthdir_y( 130, phy_rotation ) );
    }
}

EDIT: It seems to me that no matter how much newtons I give the player it seems not to get over the slope... It just slowly slides down it.. Even when I try to run down the slope, it just slowly slides down.