Recreating SMBX In Lua/Python?
Posted: Sun Jul 19, 2015 2:52 pm
Oh, hello. I was wondering if there was a way to recreate SMBX using Lua and Python. Just a thought.
Forums for SMBX
https://www.smbxgame.com/forums/
OK?Kevsoft wrote:For recreating SMBX in lua you need:
1.) The LÖVE Framework
2.) Some coding skills
3.) A shitload of time and motivation.
>asks a questionmeowflash wrote:OK?Kevsoft wrote:For recreating SMBX in lua you need:
1.) The LÖVE Framework
2.) Some coding skills
3.) A shitload of time and motivation.
Ok.Luigifan2010 wrote:oh but i have more to add.
creating a game is more than just typing some code in, you need to have a good understanding of maths and calculations.
your game is one big loop, a loop that calculates many things. a loop that be called n amount of times per second, though most games lock it to 60. 30 if you're a console gamer. in this loop, things are calculated, graphics are drawn, animations are shown, physics are taken care of, conditions are met, etc. making a game is much more than a simple events system as you've seen in smbx. and to recreate it in a scripting language is a brave task.
making even the barebones engine that is my Java RPG Engine, I've learned alot of things and solved alot of problems. time is kept differently in games than in regular programs. i highly suggest staying AWAY from games as your first project. you will get discouraged, you will hate programming, you will probably never come back to it.
i'm not saying stay away from scripting languages like lua and python, but i'm saying if you're so set on making a game as your first coding project, those probably aren't your best options. sure, you could make it work. but lua was moreso meant for extending programs, though people have made some great games using Lua + LOVE. they're really brave.
CONCLUSION: If you're so bent on creating a game first, I'd say Java. Why Java?
If you plan to go with Java as I've suggested, learn the whole language. Learn types, functions, imports, maths, GUI, everything before jumping right to the game. And use LibGDX as your game engine. I highly recommend it.
- Power of object oriented programming: Yes, Lua and Python offer this to an extent. C#, Java, C++, all offer true object oriented programming.
- Transitioning to other programming languages will be much easier: you'll be accustomed to typing out the type of variable you need. int i = 5 instead of i = 5. You'll be used to return types and specifying things. It'll be better for you. Use scripting languages as a dessert, with OO (object oriented) programming languages as the main course.
- You can implement extensions in Python and Lua
- Performance: Maybe Java may not be the best example of performance, but damn Java runs simple 2D games really well. And Java runs on just about everything
Maybe you can help.Luigifan2010 wrote:i did not just type a fucking novel to get an ok
meowflash wrote:Maybe you can help.Luigifan2010 wrote:i did not just type a fucking novel to get an ok
Oh good lord. You didn't listen to a damn thing Luigifan said, did you.meowflash wrote:Hey, look! The official repository is here! Check it out at https://github.com/Meowflash/JavaMBX!
...Maybe I might need help with recreating SMBX in Java...XerX wrote:Oh good lord. You didn't listen to a damn thing Luigifan said, did you.meowflash wrote:Hey, look! The official repository is here! Check it out at https://github.com/Meowflash/JavaMBX!
..meowflash wrote:Maybe you can help.Luigifan2010 wrote:i did not just type a fucking novel to get an ok
meowflash wrote:...Maybe I might need help with recreating SMBX in Java...XerX wrote:Oh good lord. You didn't listen to a damn thing Luigifan said, did you.meowflash wrote:Hey, look! The official repository is here! Check it out at https://github.com/Meowflash/JavaMBX!
You're so mean.Luigifan2010 wrote:..meowflash wrote:Maybe you can help.Luigifan2010 wrote:i did not just type a fucking novel to get an ok
meowflash wrote:You're so mean.Luigifan2010 wrote:..meowflash wrote: Maybe you can help.
meowflash wrote:Ok.Luigifan2010 wrote:oh but i have more to add.
creating a game is more than just typing some code in, you need to have a good understanding of maths and calculations.
your game is one big loop, a loop that calculates many things. a loop that be called n amount of times per second, though most games lock it to 60. 30 if you're a console gamer. in this loop, things are calculated, graphics are drawn, animations are shown, physics are taken care of, conditions are met, etc. making a game is much more than a simple events system as you've seen in smbx. and to recreate it in a scripting language is a brave task.
making even the barebones engine that is my Java RPG Engine, I've learned alot of things and solved alot of problems. time is kept differently in games than in regular programs. i highly suggest staying AWAY from games as your first project. you will get discouraged, you will hate programming, you will probably never come back to it.
i'm not saying stay away from scripting languages like lua and python, but i'm saying if you're so set on making a game as your first coding project, those probably aren't your best options. sure, you could make it work. but lua was moreso meant for extending programs, though people have made some great games using Lua + LOVE. they're really brave.
CONCLUSION: If you're so bent on creating a game first, I'd say Java. Why Java?
If you plan to go with Java as I've suggested, learn the whole language. Learn types, functions, imports, maths, GUI, everything before jumping right to the game. And use LibGDX as your game engine. I highly recommend it.
- Power of object oriented programming: Yes, Lua and Python offer this to an extent. C#, Java, C++, all offer true object oriented programming.
- Transitioning to other programming languages will be much easier: you'll be accustomed to typing out the type of variable you need. int i = 5 instead of i = 5. You'll be used to return types and specifying things. It'll be better for you. Use scripting languages as a dessert, with OO (object oriented) programming languages as the main course.
- You can implement extensions in Python and Lua
- Performance: Maybe Java may not be the best example of performance, but damn Java runs simple 2D games really well. And Java runs on just about everything