You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

[Minecraft] [HP Prime] MinePrime - Minecraft on a Hp Prime!

b/[Inactive] MinePrime (HP Prime) Started by alexgt, April 20, 2015, 12:22:42 AM

Previous topic - Next topic

0 Members and 12 Guests are viewing this topic.

u/Dream of Omnimaga December 24, 2015, 03:48:07 AM
It's ok, just don't do like some people with 20 projects that never get finished because the author jumps from one project to another :P
u/alexgt December 31, 2015, 09:50:40 PM
Yeah, it is hard with 4 projects, let alone more O.O
u/Dream of Omnimaga January 07, 2016, 05:28:04 AM
By the way, you should really use your Zampy Quest engine for this game, at least for walking, because from the contest screenshots it really looked smooth. Also maybe allow destroying blocks with the keypad as an option (maybe the numpad?)
u/kegwaan January 07, 2016, 11:45:12 AM
Quote from: DJ Omnimaga on January 07, 2016, 05:28:04 AM
By the way, you should really use your Zampy Quest engine for this game, at least for walking, because from the contest screenshots it really looked smooth. Also maybe allow destroying blocks with the keypad as an option (maybe the numpad?)
When you say using the numpad, do you mean directional controls similar to Portal Prelude and Portal Returns? Or do you mean using the numbers to move an on-screen cursor?
u/alexgt January 07, 2016, 12:59:21 PM
Quote from: kegwaan on January 07, 2016, 11:45:12 AM
Quote from: DJ Omnimaga on January 07, 2016, 05:28:04 AM
By the way, you should really use your Zampy Quest engine for this game, at least for walking, because from the contest screenshots it really looked smooth. Also maybe allow destroying blocks with the keypad as an option (maybe the numpad?)
When you say using the numpad, do you mean directional controls similar to Portal Prelude and Portal Returns? Or do you mean using the numbers to move an on-screen cursor?
Yep that is what he means

Quote from: DJ Omnimaga on January 07, 2016, 05:28:04 AM
By the way, you should really use your Zampy Quest engine for this game, at least for walking, because from the contest screenshots it really looked smooth. Also maybe allow destroying blocks with the keypad as an option (maybe the numpad?)
Yeah, I am going to re write the engine of MinePrime but I a going to use a different collision detection system because a side effect of keeping it loaded in the spread sheet is it calculates the out come more than you need it to, making more lag. It is fine for a platformer like Zampy's quest since it rests after every level but if you are playing for 20 min + you will run out of RAM <_<
u/Dream of Omnimaga January 14, 2016, 06:50:16 PM
Oh right, I forgot about the apps thing such as how the game actually uses a cellsheet thing. It would be cool if HP allowed us to use apps that don't contain anything, so that they're closer to real apps.

As for running out of RAM, that seems like a serious memory leak issue that needs to be fixed (is it due to an HP bug)?
u/alexgt January 22, 2016, 03:24:15 AM
Quote from: DJ Omnimaga on January 14, 2016, 06:50:16 PM
Oh right, I forgot about the apps thing such as how the game actually uses a cellsheet thing. It would be cool if HP allowed us to use apps that don't contain anything, so that they're closer to real apps.

As for running out of RAM, that seems like a serious memory leak issue that needs to be fixed (is it due to an HP bug)?
Meh, Memory problems are a thing of the past! I was get a young padawan in the ways of HP PPL, I am now a MASTER!!! :P

To conserve space I am taking the matrix as completely out of the RAM as possible, that should cut the size down a lot. I will use pixel test for collision I think.

I made updates to the first post so the download will be current!

Also I am starting back up on this and SynText to!


EDIT: I searched MinePrime in google and 8 pictures of it came up, all within the first 30 O.O
Last Edit: January 22, 2016, 03:32:37 AM by alexgt
u/Dream of Omnimaga January 22, 2016, 05:46:46 AM
But to use the calc to its full potential, you still need to stop rendering the entire game map into a large GROB like you did with Zampy's Quest. Normally, games only render what's in the screen, then when scrolling around it renders the 15 or 20 missing tiles from outside the screen. :P


And nice about Google. I noticed this topic is among the most viewed topics in the forum stats too. I hope it eventually gets released (as well as Zampy's Quest)
u/alexgt January 22, 2016, 12:48:24 PM
Yeah, I am still figuring it out :P I might use the matrix but if there is anything that is a good alternative I will use it ;)
u/alexgt January 24, 2016, 04:37:19 AM
Ok, so I got everything worked out how I am not going to use matrices at ALL!!! AND have HUGE worlds, many block types, super fast load speeds, barely any RAM consumption, minimaps, super ubber precise collision, and did I mention a 2000x150 map being able to be stores in 130KB *.*

Well enough with the suspense, since the Prime uses base ten for colors every pixel has a value from 0 to 16,777,121 (or something). We can read that value with a command like GETPIX_P(), so we can use colors on a GROB as variables, map data, or huge matrices! And since I am using an app you can store hundreds of Maps in the archive (I have lots of space taken up in the archive and I still have ~200MB free!! That means 153 2000x15 size maps O.O). So now the biggest things that took up RAM, huge pre-loaded GROBs for rendering the world and a huge matrix are no longer a problem. The dream of having a 500x150 world that didn't suck up all the RAM now fits in 96 bytes!

So MinePrime will be back better and faster than EVAR!!!!!!!!!
WARNING loooottttsss of emojis
:w00t: :w00t: :w00t: >:D >:D 8) 8) O.O ;D (-_(//)); :ninja: :love: :crazy: :blah: >B) >:D >:D >:D :P :P :P O.O O.O O.O :w00t: :w00t: (-_(//)); (-_(//)); :love: :thumbsup: :crazy: :crazy: :banghead: :blah: <_< :love: :love: :ninja: :ninja: :ninja: :w00t: :w00t: (-_(//)); (-_(//)); (-_(//)); (I am excited :P)
u/Dream of Omnimaga January 24, 2016, 06:01:14 AM
Do you mean 2000x150 tiles or an actual picture of the rendered map? GETPIX seems like a nice solution although larger than matrices, because if you ever make a game with your own maps then you can edit your maps on Paint, GIMP or whatever image editor you like, then import the image data for use with GETPIX. I never actually tried using that command for collision, though.

In any case, that is a good move. Just don't render the entire map every frame :P (even rendering the 21x16 every frame would be slow, although 15 FPS is still bearable)

Also why use so many emoticons when one :walrii: can do the job? :P
u/alexgt January 24, 2016, 07:35:55 AM
2000x150 pixels and their color would represent the block value. And I will be doing what I did for the old version which is just rendering one line of blocks, one block off screen. Also I just used AFilesB("Test") to get the size of the GROB and it is actually smaller than a matrix O.O (it is still compressed but either way t is much smaller than a matrix).

and you meen this walrii :P
u/Dream of Omnimaga January 24, 2016, 08:35:04 AM
Ah ok, and yeah rendering the line of blocks that is off-screen and scrolling in would be better (providing that you check for diagonal movement). And yeah that's the walrus I mean but I was too lazy to go to the fanart thread :P


Good luck!
u/alexgt January 24, 2016, 03:25:10 PM
Yup that is what I meant. And a matrix that is 50x15 (what I used for Zampy's Quest) is just over 20KB so GROBs are certainly smaller, IDK why since they have to store color and transparency values also.
u/SiphonicSugar January 25, 2016, 04:10:07 AM
You know, too bad that I will never get an HP calculator... This version of Minecraft looks really promising!
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal