![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Lua Stuff: Code and Questions within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi Guys, Well, first off I finished my beta versions of asteriods and my RPG engine complete with mini RPG. ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Hi Guys,
Well, first off I finished my beta versions of asteriods and my RPG engine complete with mini RPG. Sorry the graphics arn't transparent I have to go... "Buy" adobe photoshop or something. So I'll put that out there for anyone who wants the graphics or the code... or fun. Feel free to edit or use the code or graphics as you want. Oh, and before I forget a big thanks goes out to whoever it was that made that lua clock thing or w/e the sin/cos functions gave me what I needed to finish asteroids. I'm going to completely re-write the asteriods game because of the lag it gets on PSP, even though all its graphics are simple drawLine functions : | and I was just wondering if anybody else found this much lag using internal graphics stuff like drawPixel and drawLine or w/e. Also what do you guys do when you find too much lag in your program? For asteroids I drew to an image instead of screen to try and get rid of some but when there's like 15 asteroids floating around it doesn't help much. Also has anyone noticed a considerable FPS speed increase when porting from lua to C? I was considering taking up porting my apps if there was. Also, this week I hope to start programming a much smoother (x,y or maybe completely 360*) tile scrolling function to use in games and such and I was just wondering if someone has already done this as part of their RPG or something. I've seen some good sidescrollers come out for lua and I'll probably end up basing some of my code around that. And finally I really want to program some emulated 3d game like quake, but I can't find any info on the subject. The closest I got was like emulated 3d graphics for QBasic... : ( can anyone recommend some information books or websites or w/e? OK thanks, BakuraMx |
|
|
|
|
|
|
#2 |
![]() ![]() SHOOP DA WHOOP
|
well i know that if you overclock it then it should see a speed increase and also the drawline function is not the best for a game with as many objects (asteriods) on screen as you are saying...
|
|
|
|
|
|
#5 | |
![]() ![]() total-Z
|
Quote:
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
|
#8 | |
![]() |
Quote:
__________________
LUA manual: [url]http://www.lua.org/manual/5.0/manual.html[/url] LUA Wiki: [url]http://wiki.ps2dev.org/psp:lua_player[/url] |
|
|
|
|
|
|
#9 |
![]() Mushroom Man
|
I'm in the process of making something similar to asteroids, called Traveller. It uses basic 2d physics and trigonometry. I used to use drawline for the graphics, and I didn't notice any reductions in speed :O
I've never used LUA, but if other scripting languages are anything to go on you will see a huge performence boost if you were to write your program in C. You calculate vectors etc on a different thread than your render thread, although I think I remember reading that multi-threading is one target for LUA in the future.
__________________
[URL=http://www.othala.co.uk]Othala[/URL] [B]o[/B] [URL=http://www.entheogendefencefund.org.uk/]Save the shroom![/URL] [CENTER][URL=http://www.othala.co.uk/travellerBlog][IMG]http://www.othala.co.uk/graphics/travBanner.png[/IMG][/URL][/CENTER] Last edited by Psilocybeing; 04-04-2006 at 04:37 AM.. |
|
|
|
![]() |
| Tags |
| code , lua , questions , stuff |
| Thread Tools | |
|
|