This site requires JavaScript, please enable it in your browser!
Greenfoot back

Builderboy2005's Comments

Back to Builderboy2005's profile

The glitch seems to happen when you click while the ball is flying through the air
The glitch seems to happen when you click while the ball is flying through the air
Probably not, or at least it would be very different than it is now. The scripting engine is entirely custom :) And yeah, it tests all the points between the two objects, and can also be customized in various ways.
My collision detection between objects is actually spherical, not rectangular. Note that the collision between objects is entirely separate from collision with the map. When an object is moved, it first checks to see if it is near any neighboring objects. If it finds that it is actually touching any neighboring objects, it applies a force to itself moving it away from said object. That force grows stronger as the objects get closer together, which helps smooth things out. Now, when you move at high speeds, like when pressing space (which is actually not supposed to be in the game!) Both objects can collide with each other, leading to both objects applying velocity to themselves. Its really a quirk of the system, and not that reliable. If I changed the radius's around, I could make it so you can push people around no matter what speed you are going. If you want a bit more detail or a look at the specific code, you can take a look at the BILL class, around line 20. Oh and for the movement of the doctors, it is a waypoint system, with the waypoints being set by the scripting engine. The waypoints are able to interact with the ActionActors by telling them where to go, and also interact with the scripting engine by telling it when the object has reach certain waypoints.
Which part of the radar are you confused about? The part that displays the terrain or the part that displays the enemies?
No problem :) I learned how to program from other peoples programs so I always help out my fellow programmers and always post open source ^^
Congrats and major thanks to GameCode for being the 300th person to vote for one of my Scenarios! And thanks to everybody else who has supported me through the years! I hope to be here making games with you guys for another 100 votes :)
Lol i actually *did* implement this functionality in my Nightmare Scenario right before this was updated XD Doh!
Thank you :D I am currently almost finished with the newest update, which might have some enemies waiting in the shadows >:D And don't worry, I am saving lots of scares for later, in addition to some truly diabolical enemies ^^