Page 1 of 1

UnsFuck Engine - Object-oriented platformer engine, with slopes too!

Posted: Thu Jun 13, 2024 5:38 am
by nicholasrickys
Hey all! I seen the lack of ways to make a platformer easily, atleast not without it standing out... And so I did!

I made UnsFuck Engine, an platformer engine I made for my game. There isn't much to talk about here, except that it can do slopes, it has neat placeholder character for you to use, mobile support, and other stuff I didn't mention.

CONTROLS: W, S, A, D, Space L. Shift.

To go through the menu, use your mouse

...Unfortunately, this engine uses assets I made for my game, music and everything. Please remove these assets if you end up making a game out of it.

P.S. To make spritesets, use the tool I linked. It requires nodeJS to run, and it's quite easy to use if you know your way around a terminal.

https://github.com/Saxashitter/UnsFuck- ... /tree/main

I made maps using an app called NotTiled... Because I don't have a PC, and that's the only mobile map editor. :P. Luckily, it has a PC port, and it's on GitHub as well.

GAME SOURCE CODE (It's not done, but I figured it's best if I link it here, so you can see what changes I done): https://github.com/Saxashitter/UNSTOPPA ... fill-Mart/

Re: UnsFuck Engine - Object-oriented platformer engine, with slopes too!

Posted: Thu Jun 13, 2024 8:25 am
by dusoft

Code: Select all

Error

src/objects/systems/input/controls.lua:70: attempt to index global 'lovepad' (a boolean value)


Traceback

[love "callbacks.lua"]:228: in function 'handler'
src/objects/systems/input/controls.lua:70: in main chunk
[C]: in function 'require'
src/states/game.lua:2: in function 'stateFunc'
src/libs/USFM.lua:81: in function 'iterate_through_folder'
src/libs/USFM.lua:96: in function 'addStates'
globals.lua:79: in main chunk
[C]: in function 'require'
main.lua:5: in main chunk
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

Re: UnsFuck Engine - Object-oriented platformer engine, with slopes too!

Posted: Thu Jun 13, 2024 1:55 pm
by nicholasrickys
dusoft wrote: Thu Jun 13, 2024 8:25 am

Code: Select all

Error

src/objects/systems/input/controls.lua:70: attempt to index global 'lovepad' (a boolean value)


Traceback

[love "callbacks.lua"]:228: in function 'handler'
src/objects/systems/input/controls.lua:70: in main chunk
[C]: in function 'require'
src/states/game.lua:2: in function 'stateFunc'
src/libs/USFM.lua:81: in function 'iterate_through_folder'
src/libs/USFM.lua:96: in function 'addStates'
globals.lua:79: in main chunk
[C]: in function 'require'
main.lua:5: in main chunk
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
srry about that

Re: UnsFuck Engine - Object-oriented platformer engine, with slopes too!

Posted: Thu Jun 13, 2024 7:58 pm
by dusoft
It works now.

Maybe the name could be more friendly.

Re: UnsFuck Engine - Object-oriented platformer engine, with slopes too!

Posted: Sat Jun 15, 2024 5:23 pm
by pgimeno
I agree about the name. As an adult I have absolutely no problem with it - but the likes of me are not the only kind of audience that comes to these forums. There have been previous discussions on project naming in past along similar lines, and it wouldn't be a bad idea to reconsider a name change for the most explicit names.

Re: UnsFuck Engine - Object-oriented platformer engine, with slopes too!

Posted: Thu Aug 08, 2024 12:33 pm
by glitchapp
Making an engine from scratch is a lot of fun and a great way to learn, congratulations for the engine and the 2 players mode. It looks promising.

If you ever consider creating a game using a more matured engine feel free to fork my fork of boxclip engine which you can find here: https://codeberg.org/glitchapp/boxclip-mobile

It also have split screen and multiplayer mode and lot of features to create a platform game almost without coding.