What is the best way to make a platformer?

0

CubicleHead 2021-01-12 19:36

I was wondering what the best way to make a side scrolling platformer would be
I especially wonder about making good easy collisions

Thanks :)


Timo 2021-01-12 21:24 (Edited)

Platformers are actually quite complex. You need at least simple physics for jumping, a quite good collision detection with the floors and walls. Especially with scrolling it gets complicated, at least in LowRes NX.

The easiest way is probably to use an existing platformer and change the graphics and maps. But there aren’t a lot of games of this type here yet.

Here a few you can check:

https://lowresnx.inutilis.com/topic.php?id=1480

https://lowresnx.inutilis.com/topic.php?id=1026

https://lowresnx.inutilis.com/topic.php?id=830

https://lowresnx.inutilis.com/topic.php?id=417

https://lowresnx.inutilis.com/topic.php?id=363

https://lowresnx.inutilis.com/topic.php?id=153

https://lowresnx.inutilis.com/topic.php?id=25


CubicleHead 2021-01-13 01:30

Thanks :)


was8bit 2021-01-13 05:53

I am still muddling over that very question... my game here is my current best attempt... notice it doesnt scroll..

https://lowresnx.inutilis.com/topic.php?id=1581


was8bit 2021-01-13 05:55 (Edited)

Based on this success, i have a few ideas for my next attempt... something along the lines of using editable backgrounds, but then the game code would scan the background and set it up things to run like my Llaftip game runs... my Llaftip sets up each set randomly... it shouldn't be too difficult to convert random input into scanned input for the setup...

If you notice my games, i often test out each LITTLE idea first, and get each little idea to work... this is to avoid trying to clump many new ideas all together at the same time, and then get stuck as to why nothing works...


Timo 2021-01-13 07:34

By the way, was8bit, I didn’t include your game, because it’s not a typical platformer where the levels are based on editable maps. It’s still a nice game though :)


was8bit 2021-01-13 08:44 (Edited)

Thanks :)

.. and you are correct, my game doesnt match the request.... but for myself, i do better if i break a big idea down into its smaller parts and focusing on each smaller part...

... so just in case one might get overwhelmed attempting the whole thing at once, and wanted to quit, i was offering my idea as an encouragement to not give up, but to try chewing smaller bites, rather than trying to gulp down the whole meal in one go ;)


CubicleHead 2021-01-13 13:44

Thanks :D
I was wondering specificly what the easiest way to do sprite cell collisions would be
Is there a easy way?


Timo 2021-01-13 14:57

You can use the shiny new search bar in the forum now :) just look for "cell collision", there are several topics.


was8bit 2021-01-13 16:39 (Edited)

Actually, check this out... it covers collision, scrolling, and player picking things up ;)

https://lowresnx.inutilis.com/topic.php?id=318


CubicleHead 2021-01-13 19:55

Thanks alot :D


DrGonzo 2021-01-16 08:05

Imo Timo’s Mario is the best looking one: https://lowresnx.inutilis.com/topic.php?id=11
I took the liberty to add enemy examples and platform.


Timo 2021-01-16 10:21 (Edited)

But it's not a good base to create your own game. It has no gameplay and no support for big maps implemented. And all the graphical effects are just for this specific scene, so you wouldn't have a lot of freedom to design different levels.
It is basically a scroll tech demo only.


nwallen 2021-01-19 20:55

One place to start is doing a finite state machine for the character. For me it is easier to wrap my head around what the character is doing and what processes(inputs, collisions etc) need to take place.


Log in to reply.