Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: cyanophycean314 on May 17, 2012, 09:40:31 pm
-
Well, Lua development certainly has slowed down a bit. Anyways, I now introduce my latest project,
Runner Jumper! It's kinda based off Canabalt. You run across the rooftops and go as far as possible. Although you don't see in the screenie, it gets faster as you go on.
Hiscore actually works with this program. I have been programming on-calc, so the program is being run on nspire_emu with oclua.
I'm probably going to add a better, moving sprite. Dimensions are 10*15 if you're interested.
Screenie is attached and suggestions are welcome! :)
Edit: I just noticed how choppy the screenshot was. It's not actually that bad in the game :P
-
Sounds pretty cool. Are the stick-based graphics due to speed issues or are you planning to switch to sprites/tiles in the future for buildings?
-
Nice start, good luck with this :)
-
Good luck with this project!
Lua developpement has indeed slowed down, and that's sad.
I hope there will be a lot of new projects during summer vacation...
-
Well, not everyone posts their projects on a forum ;)
-
Sounds pretty cool. Are the stick-based graphics due to speed issues or are you planning to switch to sprites/tiles in the future for buildings?
Yeah, the graphics are going to be upgraded sometime...
-
Well, here's a version I put together with some sprites. It looks pretty nice, but the program runs noticeably slower... Any ideas on making it faster?
-
:o nice :D
-
Do you create the view of the buildings with rectangles, or is it an image? because if it were an image it would be quite slowing down indeed :)
-
Right now I just use some images, but they're tiled. I just realized that the picture is simple enough to just use rectangles! Yay! :D
-
When displaying sprites, do you redraw them every frame or do you just shift the screen around and only draw the missing parts? The latter, if possible in Lua, might be faster. Also this looks nice :).
-
Attached is an early, but not fully finished build. It has the basic running and stuff so you can has some fun.
I might include features of Canabalt like cranes, billboards, birds?
The falling platforms, bombs, and boxes will be more difficult...
Hope you enjoy!
-
Well, here's a version I put together with some sprites. It looks pretty nice, but the program runs noticeably slower... Any ideas on making it faster?
This page might be able to help you making it a bit faster by changing some parts of the code:
http://trac.caspring.org/wiki/LuaPerformance
-
That is a pretty interesting article, but yeah I fixed the speed problem. Drawing rectangles is a LOT faster than images...
I plan on adding parallax scrolling in the background for depth, that'll probably be the easiest feature to add right now.
-
Well, here's a version I put together with some sprites. It looks pretty nice, but the program runs noticeably slower... Any ideas on making it faster?
This page might be able to help you making it a bit faster by changing some parts of the code:
http://trac.caspring.org/wiki/LuaPerformance
that's just great, thanks for that link :)
and yeah, rectangles are like suuuuperfast in comparison with images, or better, images are suuuuper slow
-
New features added
- Parallax Scrolling (More layers may be added later)
- Billboards
School's out here! Yay!
I've played around with falling platforms. They refuse to cooperate :(
-
Nice! Just a question, can you make the legs move? Not asking you to do this just wondering if it was possible :P
-
erm necropost? that post was from may
EDIT: if I could have the source code I might add leg moving might
-
Hahaha I was just bored :3 so I decided to post something here. Sounds good though. Is there a possibility of reversing Luna's .lua --> .tns to obtain the Lua file?
-
Haha, I plan on releasing a version soon actually. I've added a few improvements like a prettier title screen and better formulas (I think). As for the legs, I am looking into that possibility, it would be rather easy to implement. However, I seem to have misplaced all the sprites for the character. :-\ I'll try to dig them up, they're from Canabalt's open source code.
Hahaha I was just bored :3 so I decided to post something here. Sounds good though. Is there a possibility of reversing Luna's .lua --> .tns to obtain the Lua file?
There is actually a tool to convert from .tns to .lua. ephan (aka Munchor) made one somwhere...
-
Good work !
-
Hahaha I was just bored :3 so I decided to post something here. Sounds good though. Is there a possibility of reversing Luna's .lua --> .tns to obtain the Lua file?
There is actually a tool to convert from .tns to .lua. ephan (aka Munchor) made one somwhere...
You can look up the lua code with Lua Editor in the TI Nspire Software ;)
BTW: Nice Game
-
Haven't really worked too much on it. School's started. However, here's a nice update. The sprite moves and I think I added the title screen in this version.
-
This looks awesome, but I think it is too easy...
I did more than 80,000 in my second trial.
-
This looks awesome, but I think it is too easy...
I did more than 80,000 in my second trial.
Ha yes, balancing is very time consuming... What made Canabalt so hard was the other obstacles like fine mist, falling buildings, windowed areas and stuff. I'll try to implement those windowed buildings, but falling buildings have already given me lots of trouble.
Thanks though! :)