Qbic: The adventure begin [FROZEN]
-
- Prole
- Posts: 6
- Joined: Tue Oct 11, 2011 11:00 pm
- Location: Cancun, Quitana Roo, México
- Contact:
Qbic: The adventure begin [FROZEN]
Hello guys, Im making a platform game named Qbic. The story will be SMB-like with some RPG, like upgradable weapons, skills, etc. But I dont know if I need to make it with physics or with statements like 'for', 'do' or 'while'. I really need help with how to make it without physics. I appreciate your help .
Last edited by AxGS on Fri Nov 16, 2012 11:04 pm, edited 1 time in total.
Current projects:
·Exabyte
·Qbic: The adventure begin
·Cristalina: Resolving the past
*Released
*In develop
*In wait
·Exabyte
·Qbic: The adventure begin
·Cristalina: Resolving the past
*Released
*In develop
*In wait
Re: Qbic: The adventure begin
Hi. The physics library that comes with Love is called Box2D.AxGS wrote:I dont know if I need to make it with physics or with statements like 'for', 'do' or 'while'. I really need help with how to make it without physics. I appreciate your help .
It's not designed for platformers per se - if you decide to use it you would have to figure out certain things like how to implement one-sided platforms and such.
If you don't want to use Box2D, then you would have to program your own collision detection and resolution system which can get pretty complicated.
Re: Qbic: The adventure begin
For a standard platformer, using Box2D will only make things a lot harder. Do it "the normal way".
Implementing a simple collision detector isn't hard at all. Making a tile system is more complicated but still not a big problem. Just drawing tiles on a bunch of 512*512 framebuffers and then drawing the ones that should be visible on screen isn't too hard and gives good performance.
Implementing a simple collision detector isn't hard at all. Making a tile system is more complicated but still not a big problem. Just drawing tiles on a bunch of 512*512 framebuffers and then drawing the ones that should be visible on screen isn't too hard and gives good performance.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
-
- Prole
- Posts: 6
- Joined: Tue Oct 11, 2011 11:00 pm
- Location: Cancun, Quitana Roo, México
- Contact:
Re: Qbic: The adventure begin
Oh, thank you guys, I will try to make the collition system, but play a little bit with Box2D, I hope you guys like this project . I think, will be a quite hard to do the collition system because its my first platform project, wish me luck .
Current projects:
·Exabyte
·Qbic: The adventure begin
·Cristalina: Resolving the past
*Released
*In develop
*In wait
·Exabyte
·Qbic: The adventure begin
·Cristalina: Resolving the past
*Released
*In develop
*In wait
Re: Qbic: The adventure begin
But collisions aren't hard. When it comes to collision between objects, do somthing like http://love2d.org/wiki/BoundingBox.lua and then if you use tiles, just mark the tiles that are "solid" and check every time an object tries to move whether or not the place it's trying to move to is inside a solid tile. It's not very hard at all.AxGS wrote:Oh, thank you guys, I will try to make the collition system, but play a little bit with Box2D, I hope you guys like this project . I think, will be a quite hard to do the collition system because its my first platform project, wish me luck .
Making an efficient tile system is more complicated. There are a bunch of tutorials on this subject though (although none of them use framebuffers which I consider ideal for this task).
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: Qbic: The adventure begin
Personally I think a good collision system is WAY harder to code than tile maps. Luckily you don't have to do either.
http://vrld.github.com/HardonCollider/
http://love2d.org/forums/viewtopic.php?f=5&t=2567
http://vrld.github.com/HardonCollider/
http://love2d.org/forums/viewtopic.php?f=5&t=2567
Re: Qbic: The adventure begin
Well, it depends on the game. Simply checking if two boxes overlap works great and is very easy. It's also very easy to save performance by, for example, only checking collisions with stuff on screen. For most games this will be enough.Kadoba wrote:Personally I think a good collision system is WAY harder to code than tile maps. Luckily you don't have to do either.
http://vrld.github.com/HardonCollider/
http://love2d.org/forums/viewtopic.php?f=5&t=2567
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Qbic: The adventure begin
But with a platformer, you have to handle what to do with collisions, not just whether or not they're touching.That gets into dealing with solids, semi-solids, and a host of unusual situations.T-Bone wrote:Well, it depends on the game. Simply checking if two boxes overlap works great and is very easy. It's also very easy to save performance by, for example, only checking collisions with stuff on screen. For most games this will be enough.Kadoba wrote:Personally I think a good collision system is WAY harder to code than tile maps. Luckily you don't have to do either.
http://vrld.github.com/HardonCollider/
http://love2d.org/forums/viewtopic.php?f=5&t=2567
I was able to put together a working system in Kurosuke with Box2D without as much difficulty as everyone seems convinced of, but it does mean I can't do one-way platforms. Doesn't bother me too much though, everything else works pretty well and pretty quickly.
Kurosuke needs beta testers
Re: Qbic: The adventure begin
LÖVE 0.8.0 will make one-way platforms a possibility.tentus wrote:I was able to put together a working system in Kurosuke with Box2D without as much difficulty as everyone seems convinced of, but it does mean I can't do one-way platforms.
-
- Prole
- Posts: 6
- Joined: Tue Oct 11, 2011 11:00 pm
- Location: Cancun, Quitana Roo, México
- Contact:
Re: Qbic: The adventure begin
Thank you by the help . Im glad there are grateful people in this forumKadoba wrote:Personally I think a good collision system is WAY harder to code than tile maps. Luckily you don't have to do either.
http://vrld.github.com/HardonCollider/
http://love2d.org/forums/viewtopic.php?f=5&t=2567
Current projects:
·Exabyte
·Qbic: The adventure begin
·Cristalina: Resolving the past
*Released
*In develop
*In wait
·Exabyte
·Qbic: The adventure begin
·Cristalina: Resolving the past
*Released
*In develop
*In wait
Who is online
Users browsing this forum: No registered users and 2 guests