Blockland lua for psp.

Author Topic: Blockland lua for psp.  (Read 14522 times)

Or you could make a pandora battery.
It's reversible, too, but tricky.

This is really fun to read. Everytime you post you have implemented a new feature. Could this become BL portable? :3

Do you really understand how much effort that would take?

Is anyone familar with the rendering system for the psp?
I can't find much information on it.
The problem is right now 100 bricks give you 20 frames per second.
That seems a little low, I bet if everything is being rendered in higher quality.
Still working on importing .bls files. I got some collision problems though.
Will update when I fix this.

god damit, if only i didn't have to custom firmware it i would gladly try it out.
isn't there a way to do it without bricking your PSP?

Create your own damn Pandora battery. It's reversible if you do it right.

This is really fun to read. Everytime you post you have implemented a new feature. Could this become BL portable? :3

Do you really understand how much effort that would take?

He already has some of the basics, I am not naive enough to assume his portable version will support the more complex functions of Blockland, nor the shear scale of what is possible in it, but he has already made great progress.

In the end it may wind up as "just another app" in the big heap of apps, but it's really interesting to read about. My only question is, if your capable of basically making your own engine...how come we haven't seen any mods from you? I assume at least some of the skills transfer over?

goo dthang i have a psp i will diffentaly get this for it when it comes out

My only question is, if your capable of basically making your own engine...how come we haven't seen any mods from you? I assume at least some of the skills transfer over?

First, I learned how to code lua the day before I started this project.
Second, I never really felt the need to make a mod for blockland.

Oh, and I forgot to update, I got bls importing to work some what. only rectangle blocks and planes though (100 or so is about 20 frames per second).  the game is also crashing every once in a while.
I did a test, I can get 500+ bricks if none are being rendered. The plan lock the game at 20 frames per second and have the field of view change to view a max of about 100 bricks (I hope more when I get how the rendering engine works :|).
ok, now or some future plans, I've been reading up and ogg support is out for psp lua so I can make a simple music brick ( will not get louder / softer like blockland's though, just a simple play if inside the box, stop if you leave the box.
Code: [Select]
if (object.musicon ~= 1) (model.speed_x + 5 > object.x) and (model.speed_x < object.x + 5) and (model.speed_z + 5 > object.z) and (model.speed_z < object.z + 5) and (jump.gravity + 5 > object.y) and (jump.gravity < object.y + 5)
then
Music.playFile(ms0:/psp/music/blockland/test.ogg
object.musicon = 1
end
if (object.musicon ~= 0) and (model.speed_x - 5 > object.x) and (model.speed_x < object.x - 5) and (model.speed_z - 5 > object.z) and (model.speed_z < object.z - 5) and (jump.gravity - 5 > object.y) and (jump.gravity < object.y - 5)
then
Music.stop()
object.musicon = 0
end
Another thing I want to do is make a mini menu for choosing brick sizes and a editor wand like object
for changing the size in game. Then save your 10 brick slots.
This makes another problem; controls, you can only have so many. I'm thinking of having 2 diffent control sets, one for moving and 1 for building, quickly switched by pressing the select button or somthing else.
I broke collosion somehow when I did the bls importing (I know why codes use more then one file now :P).
I'm adding anymore features this second, just fixing some problems. I hope to release again with in 48 hours.

I'm still hoping someone will make a menu too (with some free music please :D)

On a related note, I wonder why ephialtes didn't yell at me yet for not being as good at coding :X

Some of the skills transfer from language to language depending on how both languages function.

For example, if both languages are derivative of C++, for example, some skills and the basic syntax transfers over, but it is still usually a great deal different from the original language.

Sorry for the lack of updates, I could only work on the project for 3 hours the past 2 days. The next update will be Blockland Portable Alpha 1.

So far I fixed some major collision issues, added a system for having multible size bricks in game (no menu yet though), and a color system for the bricks, Since I have no idea how to lock the speed (were the game stays the same speed no matter what the frames per second) I did a haxy thing and just made it so move speed is increased when the FPS drops, i.e. fps = 60 movespeed = 1, fps = 30, move speed = 2.

Working on making those damn menus, remaping the controls, saving bricks, not rendering bricks out side your camera view (all most done :D), cleaning up vars. (I did a  bad thing and used some vars. that I wasn't using and used then for something else and din't change the name :X), music bricks, new player model.

Since no one wanted to help with the project I'm not going to post and upload every update I make. Just when I make a lot of updates and It looks nice.

I fixed some more collision problems (still having a hard time with bottom collision), and made it so you can walk on top of a brick
Code: [Select]
if (model.height + jump.gravity < object.height + object.y + 1 is not true.
I guess its time for me to learn how to make menus :S.

I need some awesome menu music too guys

I added a texture to the bricks, Looks much nicer then the psp's 3d color rendering and it isn't affecting the frame rate.
Will not be able to update for 3 weeks (I may work 5 hours tops) do to me going to the florida keys then band camp for 2 weeks.
So Blockland Portable Alpha 1 will be coming out tonight or next morning.

Holy shat, dude, if this is  finished, and people use it, won't Badspot be kinda pissed?
But anyways, what is the model format? DTS? 3DS? I can probably help with the player model if I can get the size I need to make it, and the format.

Holy shat, dude, if this is  finished, and people use it, won't Badspot be kinda pissed?
Its not even close to blockland v0002, light years away from retail, plus its free advertisement.


But anyways, what is the model format? DTS? 3DS? I can probably help with the player model if I can get the size I need to make it, and the format.

Right now I'm exporting every time to text format, I haven't gotten animation working yet.
« Last Edit: July 20, 2008, 11:31:39 PM by (MoA) Shaun »