Login    Register
User Information
Username:
Password:
We are a free and open
community, all are welcome.
Click here to Register
Sponsored
Who is online

In total there are 73 users online :: 5 registered, 0 hidden and 68 guests


Most users ever online was 218 on Wed Dec 07, 2016 6:58 pm

Registered users: Bing [Bot], Exabot [Bot], Google [Bot], MSNbot Media, Yahoo [Bot] based on users active over the past 5 minutes

The Team
Administrators
Global Moderators
global_moderators.png CS

Game Maker, anyone?

All non-spudgun related discussion goes here such as projects, theories, serious questions, etc. All "off-topic" posts (aka useless posting, determined by moderators) will be removed.
Sponsored 
  • Author
    Message

Game Maker, anyone?

Unread postAuthor: saefroch » Mon Jan 10, 2011 9:14 pm

So I guess from this thread that there are some programmers on here. Is anyone here good with Game Maker? I'm having some (probably n00bish) problems, and the Game Maker forum isn't sending me an e-mail so I can register, so I figured I'd just try here.

I'm not going to start just spewing out code if nobody can understand it :roll:
  • 0

User avatar
saefroch
Major General
Major General
 
Posts: 1679
Joined: Mon Jun 08, 2009 8:47 am
Location: U.S.A.- See Map
Country: United States (us)
Reputation: 0

Re: Game Maker, anyone?

Unread postAuthor: Davidvaini » Tue Jan 11, 2011 3:01 am

saefroch wrote:So I guess from this thread that there are some programmers on here. Is anyone here good with Game Maker? I'm having some (probably n00bish) problems, and the Game Maker forum isn't sending me an e-mail so I can register, so I figured I'd just try here.

I'm not going to start just spewing out code if nobody can understand it :roll:


I've never used GameMaker, but I am a programmer, so if you need any help I might be able to help. I also have taken simulation courses in college that involve game design... we used a game engine called unity (which is alright).. So I have some experience there...
  • 0

User avatar
Davidvaini
Major General
Major General
 
Posts: 1315
Joined: Tue May 29, 2007 8:58 pm
Reputation: 0

Unread postAuthor: saefroch » Tue Jan 11, 2011 7:45 am

So I'm trying to use the path-based motion planning function, but when I run the below set of calls on my grid to produce a path in the step event for the object "enemy", it uses the path for the enemy closest to the object "rk" for all enemies moving.

Code: Select all
//Create the grid
mp_grid_clear_all(grid)

//Mark occupied cells
mp_grid_add_instances(grid,wall,false)
mp_grid_add_instances(grid,lgate,false)
mp_grid_add_instances(grid,rgate,false)
if global.etarget[target] != sage.id {mp_grid_add_instances(grid,sage,false)}
if global.etarget[target] != rk.id {mp_grid_add_instances(grid,rk,false)}
for (i=0; i<=global.rmtargets; i+=1) if global.target[i] != id {mp_grid_add_instances(grid,global.target[i],false)}

//Generate the path "path0" from grid "grid"- and that space isn't actually there
mp_grid_path(grid,path0,x,y,global.etarget[target].x,global.etarget[target].y,true)

//Run the generated path
path_start(path0,1,0,true)
  • 0

User avatar
saefroch
Major General
Major General
 
Posts: 1679
Joined: Mon Jun 08, 2009 8:47 am
Location: U.S.A.- See Map
Country: United States (us)
Reputation: 0

Unread postAuthor: jhalek90 » Thu Jan 13, 2011 5:09 pm

I've used GM sence 4.0 2005ish send me a pm here on spudfiles and I will help You fix your problem.

My username on the GMC is twisted_games. Take a look at some of my posts there.
  • 0

jackssmirkingrevenge wrote:I wonder... if you put flammable vapours inside a lady... could you get her to diesel?

POLAND_SPUD wrote:Anything is possible with the proper 3-way valve.
User avatar
jhalek90
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 498
Joined: Fri Aug 14, 2009 5:37 pm
Reputation: 0

Unread postAuthor: jhalek90 » Thu Jan 13, 2011 5:39 pm

I've used GM sence 4.0 2005ish send me a pm here on spudfiles and I will help You fix your problem.

My username on the GMC is twisted_games. Take a look at some of my posts there.
  • 0

jackssmirkingrevenge wrote:I wonder... if you put flammable vapours inside a lady... could you get her to diesel?

POLAND_SPUD wrote:Anything is possible with the proper 3-way valve.
User avatar
jhalek90
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 498
Joined: Fri Aug 14, 2009 5:37 pm
Reputation: 0

Return to Non-Spudgun Related Discussion

Who is online

Registered users: Bing [Bot], Exabot [Bot], Google [Bot], MSNbot Media, Yahoo [Bot]

Reputation System ©'