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 4 Guests are viewing this topic.

u/Unicorn July 24, 2015, 03:27:53 PM
Quote from: alexgt on July 24, 2015, 01:38:51 PM
Quote from: Unicorn on July 24, 2015, 02:33:05 AM
Oooo Anyways, tomorrow'll be big :) With screenshots.
I have actually run into a road block :-\ even when I do WAIT(0.001) the game still freezes because it has to run through the loop many times to move a block so the simple method of making it wait 0.001 seconds per loop cycle is just way too long (I even tried my UTILPACK milisecind timer and it still froze). So  need to relearn my code and almost completely revamp the timing :(
Uh oh....

Quote
I should, the main question is whether I can make the PC version of the game because as of now you die instantly on PC <_<
Uh oh again... It that because of the roadblock?
u/alexgt July 24, 2015, 06:18:36 PM
^ Fixed download on the Nagoji topic
u/Dream of Omnimaga July 26, 2015, 04:26:27 AM
If you are trying to slow down the game to run at the same speed on all platforms, you need to use TICKS. It returns the current calculator time in milliseconds. Once you are done rendering the following frame, do TICKS again. Then you run a WAIT command, but you substract the value of the two TICKS from the total wait time. Or maybe something like that.
u/Snektron July 26, 2015, 09:20:36 AM
You can also make and update loop and render loop, where the render loop runs at max power, and the update loop runs at for example 1/30th of a sec
(This technique is used in pc games and such too :3)
u/alexgt July 26, 2015, 01:41:56 PM
Quote from: DJ Omnimaga on July 26, 2015, 04:26:27 AM
If you are trying to slow down the game to run at the same speed on all platforms, you need to use TICKS. It returns the current calculator time in milliseconds. Once you are done rendering the following frame, do TICKS again. Then you run a WAIT command, but you substract the value of the two TICKS from the total wait time. Or maybe something like that.
Quote from: Cumred_Snektron on July 26, 2015, 09:20:36 AM
You can also make and update loop and render loop, where the render loop runs at max power, and the update loop runs at for example 1/30th of a sec
(This technique is used in pc games and such too :3)
It is fixed but the problem was that I had a delay of 900+LEVEL*25 (in other words I made my own WAIT() function) so even if I delayed it 1 millisecond per loop it would delay it much more so I just increased 900 to ~15000 :3
u/Unicorn July 27, 2015, 03:58:09 AM
So do we have to wait 2 weeks for a screenshot?
u/alexgt August 12, 2015, 02:37:06 PM
It has been very busy for me (tommorow I am leaving for my Uncles house again to straighten out some stuff and will be back sunday and then possibly taking a road trip with my friends <_<) I am very sorry for the delay but there is not much I can do about it :(
u/Dream of Omnimaga August 12, 2015, 03:11:46 PM
You should convince your friends to do a road trip to Quebec if they don't mind french :P

Can't wait for your return but nice to see you again nonetheless :walrii:
u/Unicorn August 12, 2015, 06:21:29 PM
eh, ots fine. Have a great time on your roadtrip though!
u/alexgt August 21, 2015, 06:12:34 PM
Thanks, So next week possibly today I will get some screenies out (How many times have I said that before <_< :P)
u/Dream of Omnimaga August 21, 2015, 08:56:16 PM
As long as you aren't on a permanent road trip and out of school for 2 years or something :P

Good luck
u/iso August 22, 2015, 03:16:44 PM
New here and just reviewed the entire thread, it's really great to see how much progress has been made. It's very impressive.
u/alexgt August 23, 2015, 11:50:01 PM
Quote from: DJ Omnimaga on August 21, 2015, 08:56:16 PM
As long as you aren't on a permanent road trip and out of school for 2 years or something :P

Good luck
Lol :P

Quote from: iso on August 22, 2015, 03:16:44 PM
New here and just reviewed the entire thread, it's really great to see how much progress has been made. It's very impressive.
Hey, and welcome to the forums do you have a Prime? also thanks ;)
u/iso August 24, 2015, 12:07:44 AM
I don't have a Prime, just my trusty TI-84 Plus Silver Edition.
u/Dream of Omnimaga August 24, 2015, 01:44:20 PM
You should download the HP Prime emulator at ftp://ftp.hp.com/pub/calculators/Prime/ :D (it's free but it's Windows-only) since it would probably let you play this game (providing alexgt added speed limits or timers, otherwise the game will run much faster than on the real calc and become unplayable)
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