Page 1 of 2

Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 2:52 pm
by meowflash
Oh, hello. I was wondering if there was a way to recreate SMBX using Lua and Python. Just a thought.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 3:16 pm
by Kevsoft
For recreating SMBX in lua you need:

1.) The LÖVE Framework
2.) Some coding skills
3.) A shitload of time and motivation.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 3:28 pm
by meowflash
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?

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 3:39 pm
by Mable
Why recreate smbx when we got vsmbx and pge. We don't need anymore recreations so many people tried and vsmbx and pge are the only good ones.

meowflash wrote:
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?
>asks a question
>>gets a answer
>>>ok

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 3:52 pm
by meowflash
I understand. Lock it up, guys.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 4:50 pm
by Axiom
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?
  • 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
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.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 5:08 pm
by meowflash
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?
  • 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
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.
Ok.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 5:16 pm
by Mable
Why are you actually replying to someone if all you gotta say is ok? Oh i guess pc.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 5:17 pm
by Axiom
i did not just type a fucking novel to get an ok

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:15 pm
by meowflash
Luigifan2010 wrote:i did not just type a fucking novel to get an ok
Maybe you can help.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:26 pm
by XerX
meowflash wrote:
Luigifan2010 wrote:i did not just type a fucking novel to get an ok
Maybe you can help.
Image

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:43 pm
by meowflash
Hey, look! The official repository is here! Check it out at https://github.com/Meowflash/JavaMBX!

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:49 pm
by Murphmario
The reason it is possible in Lua is because of Mari0. Or at least that's the excuse I have.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:52 pm
by XerX
meowflash wrote:Hey, look! The official repository is here! Check it out at https://github.com/Meowflash/JavaMBX!
Oh good lord. You didn't listen to a damn thing Luigifan said, did you.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:54 pm
by meowflash
XerX wrote:
meowflash wrote:Hey, look! The official repository is here! Check it out at https://github.com/Meowflash/JavaMBX!
Oh good lord. You didn't listen to a damn thing Luigifan said, did you.
...Maybe I might need help with recreating SMBX in Java...

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:55 pm
by Axiom
meowflash wrote:
Luigifan2010 wrote:i did not just type a fucking novel to get an ok
Maybe you can help.
..

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:57 pm
by XerX
meowflash wrote:
XerX wrote:
meowflash wrote:Hey, look! The official repository is here! Check it out at https://github.com/Meowflash/JavaMBX!
Oh good lord. You didn't listen to a damn thing Luigifan said, did you.
...Maybe I might need help with recreating SMBX in Java...

Image

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:57 pm
by meowflash
Luigifan2010 wrote:
meowflash wrote:
Luigifan2010 wrote:i did not just type a fucking novel to get an ok
Maybe you can help.
..
You're so mean.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:58 pm
by Axiom
meowflash wrote:
Luigifan2010 wrote:
meowflash wrote: Maybe you can help.
..
You're so mean.
meowflash wrote:
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?
  • 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
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.
Ok.

Re: Recreating SMBX In Lua/Python?

Posted: Sun Jul 19, 2015 6:59 pm
by TLtimelord
This entire topic:
Image