ENIGMA Development Environment
Home
About
Download
Wiki
Forums
EDC
Games
Tracker
Progress
Guest |
login
|
register
Commit to
enigma-dev
by
time-killer-games
: "
Add focus wait to Zenity/KDialog (#2198)"
(at 2021-03-28 22:54:56;
Click here to view
.)
ENIGMA Forums
>
Outsourcing saves money
>
Issues Help Desk
>
move_bounce_help
Pages:
1
« previous
next »
Print
Author
Topic: move_bounce_help (Read 4036 times)
jjtyler21
Posted on:
December 23, 2011, 03:01:56 pm
Joined: Aug 2011
Posts: 15
This is for a breakout game. This function doesn't seem to be working correctly. The ball bounces across this sprite as if it were a block -
I do have the green pixel transparent.
Is this a GML error or an Enigma error?
Logged
My Website -
http://jtylersarticles.org
Music & Sounds -
http://www.squidoo.com/video-game-music-resource
GML Scripts -
http://www.infobarrel.com/GML_Scripts_for_Game_Maker
polygone
Reply #1 Posted on:
December 23, 2011, 03:12:57 pm
Location: England
Joined: Mar 2009
Posts: 794
ENIGMA only has bbox collisions as the moment, move_bounce is a part of the collision system it just goes by the bounding box for the instance.
Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
jjtyler21
Reply #2 Posted on:
December 23, 2011, 03:14:28 pm
Joined: Aug 2011
Posts: 15
Is there anything I can do to get the kind of bounce I want?
If not, when will enigma implement more advanced collision detection?
Logged
My Website -
http://jtylersarticles.org
Music & Sounds -
http://www.squidoo.com/video-game-music-resource
GML Scripts -
http://www.infobarrel.com/GML_Scripts_for_Game_Maker
polygone
Reply #3 Posted on:
December 23, 2011, 03:20:10 pm
Location: England
Joined: Mar 2009
Posts: 794
Don't expect any other collisions any time soon. You can work out your own math for this, but I wouldn't do it sprite based treat the instance as a circle and do the math from there.
Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
jjtyler21
Reply #4 Posted on:
December 23, 2011, 03:26:04 pm
Joined: Aug 2011
Posts: 15
Ok. Thanks.
Logged
My Website -
http://jtylersarticles.org
Music & Sounds -
http://www.squidoo.com/video-game-music-resource
GML Scripts -
http://www.infobarrel.com/GML_Scripts_for_Game_Maker
Post made December 23, 2011, 03:52:52 pm was deleted at the author's request.
Josh @ Dreamland
Reply #6 Posted on:
December 24, 2011, 01:33:34 am
Prince of all Goldfish
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950
Fede, shoo!
Anyway, jjtyler. People were griping at me the other day to do polygon-based collisions. I take it that's your vote?
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall,
Friends of Voltaire
Pages:
1
Print
« previous
next »
0