So I'm trying to develop a platformer similar to mario bros (scrolling, jumping, pickups, inventory maybe, etc.)
A couple questions...
How does one create walking animations?
How does one create a scrolling platformer?
Is there a better way to do movement other than the application of force in the tutorial?
thanks for any help.
Also if someone could just give me the basic code to create a platformer, I could easily modify it to my own needs.
Same applies to the code for an inventory.
also is it possible to make boxed tooltips in LOVE easily?
Help with multiple things.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Help with multiple things.
Well, you could base your code off of Lovely Mario Bros (http://love2d.org/forums/viewtopic.php?f=5&t=1466), or off of my game, Kurosuke (http://love2d.org/forums/viewtopic.php?f=5&t=2197), which is distantly based off of Lovely Mario Bros. Kurosuke is explicitly open source, and Deecodeuh is a pretty cool guy.
That said, you will probably be better off if you just look at our code and see how we accomplish things, rather than just copying it. Writing your own code will always give you a better understanding of whats going on.
Tooltips shouldn't be too hard to render, the tricky part will be figuring out if you're hovering over something.
That said, you will probably be better off if you just look at our code and see how we accomplish things, rather than just copying it. Writing your own code will always give you a better understanding of whats going on.
Tooltips shouldn't be too hard to render, the tricky part will be figuring out if you're hovering over something.
Kurosuke needs beta testers
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Help with multiple things.
A properly coded side-scroller in Love is the holy grail. You might want to start smaller.
When I say properly, I mean without the use of Box2D.
When I say properly, I mean without the use of Box2D.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Help with multiple things.
If you need help with the physics (running, jumping, falling, and so on), I wrote a thing you may want to use.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
-
- Prole
- Posts: 2
- Joined: Thu Feb 03, 2011 5:45 pm
Re: Help with multiple things.
e.eJasoco wrote:A properly coded side-scroller in Love is the holy grail. You might want to start smaller.
When I say properly, I mean without the use of Box2D.
well yes I see how physics could majorly complicate things.
Also would you say that a top-down shooter (think CS2d, which I extensively modified in lua) would be easier to make? I'm considering making a semi-clone of CS2d in LOVE
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 8 guests