Search found 78 matches
- Thu Apr 13, 2006 4:52 am
- Forum: PSP Lua Player Development
- Topic: Blitting Speed
- Replies: 43
- Views: 18397
i would split the game up into more layers (as i did it in bomberman) which reduces some blits layers: player (saves some blits for fixing backgrounds) background non-animated level animations in level (-> small animated areas) when you blited all those layers merge em (4 large blits) this speeded ...
- Thu Apr 13, 2006 12:06 am
- Forum: PSP Lua Player Development
- Topic: Blitting Speed
- Replies: 43
- Views: 18397
well i tried with 3 images whereat only two were blitted (code can be found on my page) i optimized it to blit only the area shown on screen... loading took about 3 seconds if you try loading the images in background you might have solved your probs ;) not sure if it will be smooth (while loading n...
- Wed Apr 12, 2006 11:18 pm
- Forum: PSP Lua Player Development
- Topic: Blitting Speed
- Replies: 43
- Views: 18397
well I wanted to pre-render the static sprites of a level (ie: floors, walls, etc..) but since a side scroller has a lengthy level it would end up being about 20-30 images.. I have barely started on the project so I will do some tests and do a pre-render on the fly as you move through the levels so ...
- Wed Apr 12, 2006 10:30 pm
- Forum: PSP Lua Player Development
- Topic: Blitting Speed
- Replies: 43
- Views: 18397
- Wed Apr 12, 2006 12:00 pm
- Forum: PSP Lua Player Development
- Topic: Blitting Speed
- Replies: 43
- Views: 18397
No it's not. Do this test: blit a screen of tiles and then pre-render and blit the image. You will see that when you blit the large image, it's fast. Look at the isometric engine I posted, it's actually very fast. If someone does make a graphics library I'd be more than happy to test it out if it's ...
- Wed Apr 12, 2006 11:52 am
- Forum: PSP Lua Player Development
- Topic: Blitting Speed
- Replies: 43
- Views: 18397
well the slow part of blitting is the overhead not the actual blitting itself. I don't have much time to code for the PSP so I don't have time to write my own graphics engine. It is possible to do it with LUA if you do it the right way and pre-render the correct amount of graphics, etc... but I wond...
- Wed Apr 12, 2006 11:34 am
- Forum: PSP Lua Player Development
- Topic: Blitting Speed
- Replies: 43
- Views: 18397
Slow as hell, but great news!@# LUA player 0.19 is out. Check out the main page for more information err that was as helpful as a hemroid.. anyone can give some insight ? I can make it fast through trial and error but I rather get input from you guys as to the best way to do it and skip the debuggi...
- Wed Apr 12, 2006 9:16 am
- Forum: PSP Lua Player Development
- Topic: Blitting Speed
- Replies: 43
- Views: 18397
Blitting Speed
Hello I haven't done any dev'in in Lua since a few versions ago and I was wondering how the blitting speed has changed. I plan on making a side-scroller engine but there might be a lot of objects on the screen and I wish for it to run at a good frame rate. I thought about pre-rendering the levels bu...
- Sat Mar 25, 2006 11:31 am
- Forum: PSP Lua Player Development
- Topic: Image.createEmpty(480, 272) - Can we create a bigger image?
- Replies: 6
- Views: 2934
- Fri Mar 24, 2006 1:12 pm
- Forum: PSP Lua Player Development
- Topic: Image.createEmpty(480, 272) - Can we create a bigger image?
- Replies: 6
- Views: 2934
- Wed Mar 22, 2006 12:13 pm
- Forum: PSP Lua Player Development
- Topic: Free Scrolling engine code for you guys
- Replies: 7
- Views: 5813
Free Scrolling engine code for you guys
Here is something I never finished. Simply didn't have the time nor the concepts to make it into a fun game but it does have a scrolling isometric tile engine along with a bunch of other stuff. I made this a few versions of LUA ago so I am not sure how much LUA has improved. At the time, I had to do...
- Tue Oct 11, 2005 3:46 am
- Forum: PSP Lua Player Development
- Topic: cursor tutorial
- Replies: 5
- Views: 2538
- Tue Oct 11, 2005 3:44 am
- Forum: PSP Lua Player Development
- Topic: screen:drawLine(-10, -10, 100, 50, red) ie off screen
- Replies: 4
- Views: 2337
- Sat Oct 08, 2005 4:06 am
- Forum: PSP Lua Player Development
- Topic: [Lua Tutorial] So you wanna different font..
- Replies: 25
- Views: 11534
I've made an object to do this aswell if anybody wants.. it's basically the same thing but you can print vertical images too and it allows to have many different kinds of fonts at the same time since it's a reusable object :) --################################# --BITMAP FONT OBJECT --###############...
- Thu Sep 29, 2005 11:33 pm
- Forum: PSP Lua Player Development
- Topic: Transparent PNG
- Replies: 3
- Views: 2472
- Wed Sep 28, 2005 1:56 am
- Forum: PSP Lua Player Development
- Topic: Having problems with LuaOS for PSP
- Replies: 2
- Views: 2330
- Mon Sep 26, 2005 11:38 pm
- Forum: PSP Lua Player Development
- Topic: PSPOS
- Replies: 15
- Views: 12848
- Mon Sep 26, 2005 7:13 am
- Forum: PSP Lua Player Development
- Topic: TextWidth and TextHeight functions?
- Replies: 4
- Views: 3090
Re: TextWidth and TextHeight functions?
Length: string.len(text) * 8, Height: 8. note: this works for monospaced fonts only Is it possible somehow to either a)change the default font that Lua uses and you can already access an example on my website (the nick selector, which uses monospaced font [formula as the one of shine above]) greets...
- Mon Sep 26, 2005 12:56 am
- Forum: PSP Lua Player Development
- Topic: TextWidth and TextHeight functions?
- Replies: 4
- Views: 3090
TextWidth and TextHeight functions?
Is it possible somehow to either
a)change the default font that Lua uses
b)calculate the print text height and width of a string (I need this for doing accurate clipping)
If not, would it be possible to add in to the next version ?
a)change the default font that Lua uses
b)calculate the print text height and width of a string (I need this for doing accurate clipping)
If not, would it be possible to add in to the next version ?
- Sun Sep 25, 2005 10:09 am
- Forum: PSP Lua Player Development
- Topic: I started working on
- Replies: 15
- Views: 7216
- Sun Sep 25, 2005 12:54 am
- Forum: PSP Lua Player Development
- Topic: create video of your game (no hardware required)
- Replies: 19
- Views: 6847
- Sun Sep 25, 2005 12:49 am
- Forum: PSP Lua Player Development
- Topic: I started working on
- Replies: 15
- Views: 7216
In order to maintain FPS at constant rate, first save the screen for the next frame and blit objects as needed to a small area where the scene is changed. Would it help? I do that right now but it's a bit trickier than that because my screen image is bigger than the allowed size. So what I have to ...
- Sat Sep 24, 2005 12:02 pm
- Forum: PSP Lua Player Development
- Topic: I started working on
- Replies: 15
- Views: 7216
@Giuliano sim city uses a heavy side effecting engine, do not even know what effects what in that game :) => lot work coming to you *hehe* greets Lumo PS: hope i can continue at bm soon (currently too much work for university) I won't have as many factors as they do, of course, but remember, this i...
- Sat Sep 24, 2005 3:28 am
- Forum: PSP Lua Player Development
- Topic: create video of your game (no hardware required)
- Replies: 19
- Views: 6847
- Sat Sep 24, 2005 3:27 am
- Forum: PSP Lua Player Development
- Topic: I started working on
- Replies: 15
- Views: 7216
hehe its gonna be a quite complicated backend... well I'm up to about 650 lines.. not that much really .. and it's already got the whole tile engine, construction, constants (building information, sizes, etc..), key pad, bitmap font printing, etc.. I like to make everything into objects so that I c...
- Thu Sep 22, 2005 12:51 pm
- Forum: PSP Lua Player Development
- Topic: I started working on
- Replies: 15
- Views: 7216
Here's a screen shot of it..
I got a lot of the back-end coding done.. I will start on the gameplay functions very soon.
http://www.peoplegrade.com/g/utopia-ss.png
I got a lot of the back-end coding done.. I will start on the gameplay functions very soon.
http://www.peoplegrade.com/g/utopia-ss.png
- Thu Sep 22, 2005 12:48 pm
- Forum: PSP Lua Player Development
- Topic: Screenshot
- Replies: 8
- Views: 4379
- Thu Sep 22, 2005 8:50 am
- Forum: PSP Lua Player Development
- Topic: Screenshot
- Replies: 8
- Views: 4379
Screenshot
What's the function to save a screen shot ? I know there's one I just can't find it in the reference :P
- Wed Sep 21, 2005 11:44 am
- Forum: PSP Lua Player Development
- Topic: Protected Code
- Replies: 13
- Views: 7504
- Wed Sep 21, 2005 6:08 am
- Forum: PSP Lua Player Development
- Topic: idea for sidescrolling
- Replies: 8
- Views: 4423