making actors like magnets

Game Editor comments and discussion.

making actors like magnets

Postby Sgt. Sparky » Tue Nov 07, 2006 1:34 am

yo! i was wondering on how i could make an actor like a magnent, lke have multiple magnets to make a magnet game, and... am i using the word magnet to much? well, any ways, i was wondering if ya knew.
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Fuzzy » Wed Nov 08, 2006 12:53 am

In what way would they resemble(act like) magnets?
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby Sgt. Sparky » Wed Nov 08, 2006 3:24 pm

you may know the game on arcadetown.com called death star
the goal is to aim and shoot down ur oponent but there are all these stars an' stuff that act like magnets for your shots so, could you tell me how to make actors like magnets(stars) please? :(
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Game A Gogo » Wed Nov 08, 2006 10:06 pm

check the GE gravity war in the demo section of game-editor site
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Sgt. Sparky » Wed Nov 08, 2006 11:01 pm

sorry, no can do :( . all the demos do not work on my comp :cry: , there is always one, only one file that will not work :evil: . :) could you post the script here though? :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby DilloDude » Wed Nov 08, 2006 11:29 pm

My preference for gravity script is to use the ReDir function to change the angle, and then write another function using getangle to change the velocity. Use a modification of ReDir so you don't have to calculate getangle twice. If you need more help I'll try post more later.
Find functions at http://game-editor.com/forum/tp-2629-Ra ... oblem.html
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest