@Bluerobin2 If you've already got the COL file laying around, you can load it into one of 3 palette sets: SPU, BGU, or GRP.
LOAD "COL0:NAME" will load the color palette into the BG colors
LOAD "COL1:NAME" will load the color palette into the SP colors
LOAD "COL2:NAME" will load the color palette into the GRP colors
Now i'm having trouble with being able to walk in my game. Heres my code:@MOVE
IF BTRIG()==4 GOTO@LEFT
IF BTRIG()==8 GOTO@RIGHT
GOTO@MOVE @LEFT
SPREAD(0)X,Y
SPOFS 0,X-16,Y,60
GOTO@MOVE @RIGHT
SPREAD(0)X,Y
SPOFS 0,X+16,Y,60
GOTO@MOVE
Please tell me what i'm doing wrong. It says missing opperand(SPREAD).
You need comma after the parenthesis. SPREAD(0),X,Y
You also need to set the sprite with SPSET before you use it. Read Help Menu #37 and #39 for SPSET and SPREAD() respectively.
I'm still annoyed that Europe didn't get the same help section.
Okay... Should I give you guys the Ranger class in alpha 1.0? It's a little unfair that everyone that plays this first version of the game gets WARRIOR ONLY. So I'm considering adding the second class early. Good move or not?
Or should I say...
Deal or no deal?
Edit: It's not even much of an impact on ME. It's just some sprites, some more code for the bow shots, that's pretty much it.
Ok guys, so that I'm not spamming about Minecraft DS, the new forum for MCDS is here! All talk about Minecraft DS should be here. @BonChoi what all commands do you know in PTCom? I noticed you just joined the forums... I prefer you learn DATA, MID$, GRP saving, everything about graphics, algorithms, and at least Pre-Algebra if you don't know about them already. This program includes all of those excessively.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
Ok guys, so that I'm not spamming about Minecraft DS, the new forum for MCDS is here! All talk about Minecraft DS should be here. @BonChoi what all commands do you know in PTCom? I noticed you just joined the forums... I prefer you learn DATA, MID$, GRP saving, everything about graphics, algorithms, and at least Pre-Algebra if you don't know about them already. This program includes all of those excessively.
Talking about your petit computer game in the petit computer thread is not spamming.
Quite the contrary, your thread has a chance of being closed because.... If one of our games gets a thread, what stops us from creating threads for all of them?
DATA I know. I'm just rusty on it. I don't know about MID$ and I am learning GRP saving. Pre-algebra I know at least to a certain extent (PLEASE don't ask me where that extent is)
If you press and hold the select button and run the program, the program will not stop.
(of course, if you let go the button and press select button again, it will stop program.)
You can use button() to read the button value. it is 2048.
Its usage limited since select button can only be detected at the beginning.
But, it can be used to activate secret hidden stuff at the start up such as debug mode, invincibility, or uninstall menu.
At the beginning of program, check BUTTON()
And if select button is detected, set some flag variable and use the flag variable in the program.
IF BUTTON() AND 2048 THEN SELECT_PRESSED=TRUE
Here is uninstall example using select button trick.
If you run normally, it will play the Exerion look-alike.(ground pattern is from my old project. ship and mountain sprites are from arcade version)
If you hold select and run, program will GO TO @UNINSTALL section I made.
It will display uninstall menu with list of resource files used in game.
Then it will ask for deleting resources(ship sprites, mountain sprites, and ground patterns tile) then the program itself.
After go back to gallery menu, uninstall operation is completed and the program and its resources are removed from petit computer.
Ok guys, so that I'm not spamming about Minecraft DS, the new forum for MCDS is here! All talk about Minecraft DS should be here. @BonChoi what all commands do you know in PTCom? I noticed you just joined the forums... I prefer you learn DATA, MID$, GRP saving, everything about graphics, algorithms, and at least Pre-Algebra if you don't know about them already. This program includes all of those excessively.
Talking about your petit computer game in the petit computer thread is not spamming.
Quite the contrary, your thread has a chance of being closed because.... If one of our games gets a thread, what stops us from creating threads for all of them?
I just didn't want to spam this thread and annoy the crap out of people who don't play the game. If you don't mind all the updates, then I'll just take the other down. Is that alright?
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
DATA I know. I'm just rusty on it. I don't know about MID$ and I am learning GRP saving. Pre-algebra I know at least to a certain extent (PLEASE don't ask me where that extent is)
I did say "preferably" on te math. It just makes it easier. You can still do it as log as you know about the four basic operators and variables, it's just the more you know, the easier it is. I'll explain MID$ later. It can get complicated...
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
I guess I'll just call the file GLAD and release it like that every update...
I need to load that sprite.
Okay, so as far as this, it's the best I've got. Apocalypse Rising has no sprites so I went back to Gladiators.
SPSET needs to be there in order to load the custom sprite. I need the first red-haired sprite location, so I can use it in SPOFS for the custom sheet.
I have the rest handled. @BonChoi Okay, I'm adding the Ranger. Alright, I think I need a little help on sprite details, is one CHR file an entire custom sprite sheet or just one custom sprite? If I'm asking too much, I'm sorry...
Ok guys, so that I'm not spamming about Minecraft DS, the new forum for MCDS is here! All talk about Minecraft DS should be here. @BonChoi what all commands do you know in PTCom? I noticed you just joined the forums... I prefer you learn DATA, MID$, GRP saving, everything about graphics, algorithms, and at least Pre-Algebra if you don't know about them already. This program includes all of those excessively.
Talking about your petit computer game in the petit computer thread is not spamming.
Quite the contrary, your thread has a chance of being closed because.... If one of our games gets a thread, what stops us from creating threads for all of them?
I just didn't want to spam this thread and annoy the crap out of people who don't play the game. If you don't mind all the updates, then I'll just take the other down. Is that alright?
That's what this thread is for!
However, if you feel you're being too intrusive with your updates, there's always the petit computer wiki, you can have a blog there and I'm sure even more people will check it out.
Kk, I fixed the quest log crash glitch in Dungeon Adventure. It was as simple as me using the AND command twice. Also, as I suspected, the taking of your money w/o getting the item when buying in a shop is merely a result of me being lazyyyy. There's a per-item cap, but there's nothing to notify you of the cap. I'll add the notification (along with saves) in 1.1.
Does anyone know a command that chooses a random number between a set of numbers? (i.e 12345 the command chooses 3
I don't think there's a command that chooses a number from a string of numbers. But there's RND(X), which chooses a random dumber between 0 and X. Combine it with FLOOR(X) for better results.
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
That would possibly lag the game if it's done repeatedly. You could instead use
Var=50+rnd(50)
I never find a problem with it, but good point
If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.
Forums
Topic: Petit Computer
Posts 5,141 to 5,160 of 9,618
Sorry, this topic has been locked.