- Game Maker Community
- → Viewing Profile: Topics: CGPM
CGPM
Member Since 06 Jun 2012Offline Last Active May 03 2013 01:24 AM
About Me
I'm an 13 year old dirt biker, but I make indie games as a hobby. I used to use
Lite, but now I finally have
Pro. I won't accept any friend requests unless I know you personally. Visit my sandbox account at http://sandbox.yoyog....com/users/CGPM.
My accounts across the web:
Sploder: http://www.sploder.c...bers/trialsboy/
Gamejolt: http://gamejolt.com/...ile/cgpm/10265/
Email: trialsboy.cory@gmail.com
Youtube: http://www.youtube.com/user/CGPM1
My best games: try Hole Jumper for epic music and challenging levels, or Ball Fighter for a lot of open source code and a very tough boss.
I also listen to Programming Throwdown, a podcast that covers a programming language every episode.
My accounts across the web:
Sploder: http://www.sploder.c...bers/trialsboy/
Gamejolt: http://gamejolt.com/...ile/cgpm/10265/
Email: trialsboy.cory@gmail.com
Youtube: http://www.youtube.com/user/CGPM1
My best games: try Hole Jumper for epic music and challenging levels, or Ball Fighter for a lot of open source code and a very tough boss.
I also listen to Programming Throwdown, a podcast that covers a programming language every episode.
Community Stats
- Group GMC Member
- Active Posts 51
- Profile Views 2074
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Interests
Game programming (duh), dirt biking
-
Version
GM8
Topics I've Started
Using smoothstep()
19 July 2012 - 12:39 AM
There's a function called smoothstep() that I don't know how to use. I have an object that I want to move from one place to another. How do I do that with that function (and with a maximum speed of 15)?
What's your indent style?
10 July 2012 - 01:38 AM
What's the indent style (<<click here before voting) that you use, not just in GML but in other languages too?
Here's the poll.
Here's the results.
I usually use the Allman style, but sometimes the CCR style. Also for short things:
Here's the poll.
Here's the results.
I usually use the Allman style, but sometimes the CCR style. Also for short things:
if activated {move=true} else {move=false}
Machinegun not firing
08 July 2012 - 10:47 PM
In this game, I'm making a boss which flies around randomly and shoots a machinegun and a rocket launcher. I've implemented the machinegun, but when I run it, nothing happens. Any suggestions? Here's the code:
Spoiler
///Machinegun
if !exploding && !limit
{
if (sprite_index=boss_r)
{
if (point_direction(x,y,guy.x,guy.y) > 270)
firing=1
else
firing=0
}
else
{
if ((point_direction(x,y,guy.x,guy.y) > 180) && (point_direction(x,y,guy.x,guy.y) < 270))
firing=1
else
firing=0
}
}
if firing
{
if (sprite_index=boss_r)
draw_sprite_ext(b_machr,round(random(4)),x,y,1,1,gauss(point_direction(x,y,guy.x,guy.y),10),c_white,1)
else
draw_sprite_ext(b_machl,round(random(4)),x,y,1,1,gauss(point_direction(x,y,guy.x,guy.y),10),c_white,1)
}(This is run in the boss' step event. Resources used: boss_r and boss_l, which are the sprites for the boss facing right and left respectively, guy, which is the object name for the player, b_machr and b_machl, which are the sprites for the machinegun, and gauss(), which you can read about here.)Pausing bug
03 July 2012 - 08:26 PM
In my game Hole Jumper, there's a level (only one) that uses views because the level is bigger than the default 640 by 480 display. When I pause, I take a screenshot, set it as the background, deactivate everything, and draw a fullscreen sprite, which works fine. But on that level, I draw the sprite at (view_xview[0],view_yview[0]). However, this makes the room in the back (visible through the semi-transparent sprite) look all messed up. Here's a screenshot from before pausing, and a screenshot from after. Anyone know how I can fix this?
How did you discover Game Maker?
29 June 2012 - 01:57 PM
How did you discover Game Maker?
Here's the poll.
View the results.
Post other answers here.
EDIT: Oops, forgot to post what mine was. I went to an after-school class once and got to bring
Lite home on a CD.
EDIT 2: Poll.cm is going out, so I had to move the poll to a different website. However, I don't exactly remember the options, so it might be a little different. Plus, the results from before were lost.
Here's the poll.
View the results.
Post other answers here.
EDIT: Oops, forgot to post what mine was. I went to an after-school class once and got to bring
EDIT 2: Poll.cm is going out, so I had to move the poll to a different website. However, I don't exactly remember the options, so it might be a little different. Plus, the results from before were lost.
- Game Maker Community
- → Viewing Profile: Topics: CGPM
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content