Jump to content


epicpiedude

Member Since 11 Aug 2011
Offline Last Active Private

Topics I've Started

3D Shooting (With Bullet Objects)

25 January 2013 - 08:53 PM

So, I want to use objects for the shooting in my 3D game (The bullet is actually just a ball that can be pulled by magnets, bounce off stuff, etc.)
The method I use now is incredibly glitchy; would it be possible to use a zdirection kinda thing?
Currently, I have the following:

Player:
End Step:
///Mouse Look
direction -= (display_mouse_get_x() -display_get_width()/2)/(10+xspd); //Use the horizontal mouse movement to look left or right
pitch += (display_mouse_get_y() -display_get_height()/2)/(400+yspd); //Use the vertical mouse movement to look up or down
display_mouse_set(display_get_width()/2,display_get_height()/2); //Put the mouse back at the center of the screen
pitch = max(min(pitch,3),-3); //Make sure the pitch isn't greater than 3 or less than -3
Left click:
///Shoot
var bullet;
bullet=instance_create(x,y,obj_bullet);
bullet.direction=direction;
bullet.speed=1;
bullet.zspeed=tan(degtorad(pitch*-30));//This converts the variable Pitch to a measure of degrees, then to radians, then to the slope
bullet.z=z+char_height;//Create at the player's height

Bullet
End Step:
z+=zspeed;
Can anyone help with this?
EDIT: Added comments just so it's easier to see what I'm trying to do.

[Closed] Top-down sprites

17 November 2012 - 03:40 PM

Hello, Graphics forum! I've got a TDS in the final stages (level design and graphics and all that) and I was wondering if anyone could help me out a bit?
Graphics needed (all Top-down, for those that skip titles)
Player Character 1 (Wearing a black military uniform, brown hair human, try to keep him about 16x16):
Holding pistol
Shooting pistol
Reloading pistol
Player Character 2 (Wearing a green military uniform, blond hair human, try to keep him about 16x16):
Holding rifle
Shooting rifle
Reloading rifle
Player Character 3 (Made of crystal, humanoid, try to keep him about 16x16):
Standing
Throwing energy ball
Charging up energy ball

Enemy 1 (Wearing a red military uniform, black helmet, same 16x16):
Holding pistol
Shooting pistol
Enemy 2 (Wearing red armor, black helmet, 18x18):
Holding minigun
Firing minigun
Enemy 3 (Wearing a red military uniform, black helmet, 16x16):
Holding rifle
Shooting rifle
Enemy 4 (Wearing red armor, black helmet, 18x18):
Holding rocket launcher
Loading and firing rocket launcher

If I use any of your artwork as a concept or in my game I'll credit you as an artist.
If you want a demo, PM me.
If you want to be a major artist, just draw up a boss that looks mildly futuristic, preferably some form of mech.
Thanks,
Epicpiedude

Save/load Camera problem

29 September 2012 - 07:33 PM

SOLVED! I've got a great survival horror game made, and I'm just working out the kinks of stuffs that the player will be using (I hate having to patch because: it's a pain to do right, if I do it wrong it might make it worse, or the user might not report a glitch well, etc.) so I just tried out the save/load system. Works great, except that when you are loading from the title screen (not in-game, curiously) the first-person part of FPS goes right out the window and the game defaults to this weird top-down view.
Thoughts?
EDIT: I'll post code soon, but if it's a logic problem (as in, DERP YOU DIDN'T DO IT RIGHT DERP) then it'll be solved.

Putting Games on Steam Without Greenlight

18 September 2012 - 10:47 PM

Since Steam Greenlight is

a popularity contest... I care more about the lint in my belly button than Steam Greenlight. -True Valhalla

. Most users dislike download games that don't install with shortcuts, as you can lose them in your computer's downloads area.
However, for those of you that don't know, there is a simple way to add games to Steam, complete with the icon of the game.
Go to Games>Add a Non-steam Game>Browse and then find your game. It is now part of your Steam client and will be easily accessible, making it more user-friendly. Users would have to do this themselves, but you can put it in the help file.

Gun and Enemy Sprites Request

30 July 2012 - 11:58 PM

I made an FPS with a mildly good story and pretty good graphics. However, I still have problems.
For example, the guns the player uses don't have good sprites. I need:
Spoiler

Click on any of the guns to go to a picture of the gun to get an idea. I need it to be drawn as though the player was looking down the barrel (see the FPS tutorial by Mark Overmars)
I've also made a pretty good sprite for the revolver, but the hand that holds it looks horrible.
That's it for the guns! A new sprite is worth 3 points, 6 if it's really good. An edit that improves a sprite is 1 point, 2 if it's spectacular.
DUE TO CHANGE IN GAME STORY ALL PREVIUS ENEMY DESIGNS ARE CONCEPT ART ONLY, I NEED THE FOLLOWING TYPES OF MONSTERS:
Spoiler


Note: I will not accept rips of any kind, whatsoever.

Now on to the good stuff:
OLD POINT SYSTEM HAS BEEN SCRAPPED DUE TO EDIT OF THE CREDITING SYSTEM.
<5 points: Name mentioned under special thanks IF CONCEPT/ART WAS USED
<10 points: Name mentioned under Art Contributions
<15 points: Name mentioned under Major Art Contributions
<20 points: Name mentioned under Artists
>=20 points: Name mentioned under Major Artists
Cyberios: 9 points
Stewart B: 5 points
Rapishes: 24