LoginLogin

SmileBasic style C++

Root / General / [.]

CosmicTacoCatCreated:
Yo! I was thinking of something for c++ that would let us program in a way similar to SmileBasic. This would sort of just be SFML functions placed into functions named after SmileBasic functions and take arguments in the similar way. I don't feel like it'd get much use but it's a neat idea I suppose. I've already started a small part of it and if anyone's interested, we could set up group collaboration. Help would be nice since I don't fully understand some of the SB commands...

I'm not sure exactly what you mean? Do you mean to make a C++ library that behaves similar to the way SmileBASIC's builtin graphics and sprite routines work? If so I think you would be severely limiting yourself.

I'm not sure exactly what you mean? Do you mean to make a C++ library that behaves similar to the way SmileBASIC's builtin graphics and sprite routines work? If so I think you would be severely limiting yourself.
Fantasy console is fantasy console. There's no stopping now.

I'm not sure exactly what you mean? Do you mean to make a C++ library that behaves similar to the way SmileBASIC's builtin graphics and sprite routines work? If so I think you would be severely limiting yourself.
Fantasy console is fantasy console. There's no stopping now.
OK. Whatever you say.

Uh. I suppose I was just wanting to stick some things necessary for creating things like a Sprite into a single function like in SmileBasic. The function would take some different arguments thought. For example, I made a class named gameObject. One of its member functions is defined as setSprite(string textureName) and is overloaded so it can take also take additional arguments. Inside setSprite, is code to create the texture object, set it to the specified texture, apply other requested things, create the Sprite object and apply the texture to it.