Forums

Topic: Petit Computer

Posts 8,561 to 8,580 of 9,618

Mariominer

Petitlife935 wrote:

but once i use
bit=-val(bit$)
later on in the code how would i subtract from bit$
?

Well, if you mean subtract characters from the string, you should start studying mid$. Mid$ Works like this. Say you want to make "900" 90. Well then you'd do this:
(variable)$=Mid$(bit$, 0, 1)
This works because a string starts from 0 then ends with the number of characters-1. So That includes 9 (0) and 0 (1). Mid$ can be defined as this:
Mid$(String, beginning character, ending character)
If you mean subtract a number, and might as well trash all that, then you just use the new variable instead. So as I said earlier
Bit=val(Bit$)
Then you would use the variable Bit to subtract. So now that you know both ways, might as well show you how to subtract 1 character from any sized string.
(Variable)$=mid$(Bit$, 0, len(Bit$)-1)
Or so on of however you'd like to subtract.

Like a boss? Please, I AM a boss. You're welcome

InsertPi

To subtract numbers, instead of using VAL() or MID$(), just input a variable.

INPUT VAR

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.

X:

Mariominer

Is there any way of retrieving the data of FILES in edit mode? I just want to find out for my file sending system to allow them to know the names of their programs without ending it and potentially ending the entire mode of program If they load it from the gallery. If not, that's cool. Cooler than solid oxygen.

Like a boss? Please, I AM a boss. You're welcome

Gimmemorecoinz

if anyone wants to talk to me I'm in the ptc wikia chatright now

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Gimmemorecoinz

Hey everyone I've been up all night working on a project I had planned for weeks. This is part of the ptc code generation project.
Happily, I might add I've got quite a bit of the base work done on the project. A few things remain to be added and tested.
Right now it can handle map arrays of any size (any size) with scrollable screens so you can edit multiple map screens and link them easily.
http://imgur.com/qgxdvAy
Right now vertical scrolling works only.

In the future this data can be exported to work alongside the discostew's megaman 2 tutorial map array system.
I plan to make it super easy and allow you to choose your player sprite from the start and also set which tiles are solid.
This system supports the loading of your own custom BGUS or BGS which means that you don't have to worry about memorizing tile numbers inside ptc when you export .

To recap: This is a base for a totally easy rpg overworld map system. It will export custom ptc code that you can paste into ptc utilities and then
use on your 3ds. Hopefully, everyone will be able to enjoy using it before PTCS life span is over.

Guess what!! UPDATE!!
I have uploaded the file you can get it here: http://s000.tinyupload.com/index.php?file_id=6385436190629614...
This is a safe file and there are no bugs as far as I know with the file.
WARNING do not use map size X or Y <25.
I suggest using a number that is ^25 for both the map X and map Y. That way. you can safely explore the map's boundaries within the editor.
This editor does not save, BUT you can experiment and even load custom BG files.

The use for it right now: Best used to preview game maps.
An alternative to the PTCUTILITIES editor.
Future: Being able to create maps that are somewhat compatible with the discostew's maps. Or for zelda style scrolling maps.
Yep that's about it. HAVE FUN!
Please do tell me what you think.

[Edited by Gimmemorecoinz]

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

bigdog00

Bluerobin2 wrote:

bigdog00 wrote:

One more thing: What did I miss?

Only about a year and a half worth of posts. Nothing much. I told you that its impossible to leave Petit Computer. You just can't escape its charm.

Ok, so maybe you were right... I loose. So anyway, I messed around with the minecraft DS PTC game and figured out that I could make it 2 player by taking the map file (saved as a grp) of what the other player built and sending it to the host machine every 5 minutes or so. that way, they would still be interacting and playing together, just not in real time. I don't know how then to display what the other player built, but I'm sure it would be easy for someone who knows how to use DATA"" (Not me ). one more thing, my step brother and I are working on a new OS called JOS-PRO. it will have a fully functioning notification center, and real system settings to preserve battery. It will have 4 different desktops that are semi-customizable (meaning you can drag icons around and choose a BG per desktop).

[Edited by bigdog00]

I like petit computer! Asphault 3d is awesome!

X:

bigdog00

So... Any other good games that came out besides minecraft ds while I was gone?

I like petit computer! Asphault 3d is awesome!

X:

twinArmageddons

bigdog00 wrote:

So... Any other good games that came out besides minecraft ds while I was gone?

village, mega man 2, smashville melee, cookie clicker ptc etc. you should check out the wiki, there are some really good programs on there.

i finally learned GPUTCHR and i added a screenshot function to aot 3d
Untitled
i started working on a new level and a mini-map and a compass
the forest is randomly generated and is 80x64, and you have to get out of the forest without being killed by titans to win. sadly it takes a few seconds to generate it :/

get in loser we're going titan hunting

bigdog00

twinArmageddons wrote:

bigdog00 wrote:

So... Any other good games that came out besides minecraft ds while I was gone?

village, mega man 2, smashville melee, cookie clicker ptc etc. you should check out the wiki, there are some really good programs on there.

i finally learned GPUTCHR and i added a screenshot function to aot 3d
Untitled

i started working on a new level and a mini-map and a compass
the forest is randomly generated and is 80x64, and you have to get out of the forest without being killed by titans to win. sadly it takes a few seconds to generate it :/

Like

I like petit computer! Asphault 3d is awesome!

X:

Slayer

I keep taking a look at Ghost Scrolls and have no idea what I am going to work on first! I might arrange a list of what to do and pick off the tasks one by one. @Damolii, I think it was you who offered the music creation? I'll see what I want for this game.

I have nothing really to say about myself.

Gimmemorecoinz

bigdog00 wrote:

twinArmageddons wrote:

bigdog00 wrote:

So... Any other good games that came out besides minecraft ds while I was gone?

village, mega man 2, smashville melee, cookie clicker ptc etc. you should check out the wiki, there are some really good programs on there.

i finally learned GPUTCHR and i added a screenshot function to aot 3d
Untitled

i started working on a new level and a mini-map and a compass
the forest is randomly generated and is 80x64, and you have to get out of the forest without being killed by titans to win. sadly it takes a few seconds to generate it :/

Like

Looks kinda neat. Can't wait to play it.

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Gimmemorecoinz

@randomouscrap98 if you're around i'd like to talk to you about something

[Edited by Gimmemorecoinz]

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

T-bender

@IAmAPersson
Its impressed how you made a whole 3D game on Petitcom! I'm still a newnie level1-, so can anyone tell me a good tutorial website? And are there QR-codes for the Japanese YS and YS2?

Progress:
Alarm Clock (PTC) 75% done
Shooter w/o a name yet (PTC) 0,01% done Xd

InsertPi

T-bender wrote:

@IAmAPersson
Its impressed how you made a whole 3D game on Petitcom! I'm still a newnie level1-, so can anyone tell me a good tutorial website? And are there QR-codes for the Japanese YS and YS2?

There's a good tutorial website here, but if you have any specific questions that cannot be answered there, feel free to ask anyone here!

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.

X:

T-bender

ok realy thanks!!!

Progress:
Alarm Clock (PTC) 75% done
Shooter w/o a name yet (PTC) 0,01% done Xd

Slayer

I don't know if anyone knows FREEMEM, but I just discovered it. It's a neat little command that shows how much disk space you have free for programs. It's nice, I'll try it.
EDIT: Apparently you have to use PRINT before it, since it's a system variable.
Now, I've examined Ghost Scrolls and I'm not sure how to go about this... should I use loops as a primary source for new and load game? Or subroutines? I'm guessing loop for new and subroutine for load, so using GOSUB and RETURN for loading games, which I don't know will work, and using a loop for a new game, so when you press new game it should throw you into a one-time segment of the game and then it goes from there. I don't know. For now I'll just design sprites quietly.
EDIT OF LAST THING: I'm sure we all love Skyrim so I'll try to do my best to make this something like Skyrim that won't crash or lag all of your systems
I have the theme I need for this game! Here it is:

Whoever volunteered as the music developer, please fit this to PTC. Otherwise I'll select a new battle theme from any FF game. (lol)
Sorry for the lengthy post, I have much to say and I'm trying not to double post.

[Edited by Slayer]

I have nothing really to say about myself.

Gimmemorecoinz

I was going to be lazy and refer to another post. well I still am. But here's a custom thread describing what I've done.
http://petitcomputer.wikia.com/wiki/Thread:16397

Anyways moving on.
I've been working on a map editor for pc known for now as PTC_MAP
It's a program that runs on windows as an exe.
It allows you to create vastly large maps for a game inside ptc. One downside for right now is that it only lets you use one bg layer.

How to use the editor which can be found here: http://s000.tinyupload.com/index.php?file_id=0031787616915813...
ON YOUR COMPUTER

Controls:
Mouse to select tiles on the right.
Mouse to click arrow buttons (scrolls over one cell in any direction)
Spacebar to save.
A file called savemap.txt will be generated in the same folder as PTC_MAP

Okay so how to use the data from it:

You can then save your maps, and it will get saved to a text file known as savemap.txt
This text file can then be turned into a few QR codes which you can scan.
I reccomend saving the QR codes as something like "Mdata" or "GDATA" or "GMAP" etc.
So once that's over with what next.
Well you take this program here called MAPP which is a slightly modified version of discostew's map system with zelda style scrolling and
player movement (a base for a game to be built upon) and you scan it. So go ahead. Scan it: http://imgur.com/SK8OlKu
Next what you do is you load it using write program in ptc then inside the run you type APPEND "Mdata" or "GDATA" or whatever you named the data.
Then the final step which is very easy is changing the MAP_TX and MAP_TY variables to the size you put in the editor.

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Justlink

i need a team of developers for a zelda game im working on. Any volunteers?

Do you like videogames? If so, you must know
It's dangerous to go Alone.

Gimmemorecoinz

Now could somone remake this in my map editor or would it be too hard? I want to remake SOME of link's awakening.
http://www.linkshideaway.com/images/z4/z4overworld.png
as you all know i'm obsessed with zelda

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Gimmemorecoinz

Well everyone.. it appears that these tiles here from this tileset: http://s22.photobucket.com/user/Hyrule_boy/media/ultimate-GB-...
Total about 1176 8X8 tiles.
So no, it is not feasible to entirely re create link's awakening in just 4 tilesets utilizing BGU0-BGU3
But with tileset swapping, based on what tiles are needed it may still be possible.
Suggestions or ideas are welcome. Perhaps not an entire remake (not collosal) but a spin off that utilizes some of the more important
overworld tiles.
Then Tileset swapping could occur during dungeons. Same with over world swapping and pallete swapping (assuming all palletes are stored as data in the "rom" if you will )

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Sorry, this topic has been locked.