I'm going to make a simulation Game like Petit Farm, Village and Home Town Story.
Does somebody have an idea which activities i have to make?
(Like go fishing and so on)
And if somebody can/would help me, please contact me in this Thread.
@IAmAPerson
Sorry for asking again but when is SimpleC going to release?
IAmAPerson Sorry for asking again but when is SimpleC going to release?
It has already released; it's on the QR Code Sharing Thread. I haven't released instructions or updated the wiki yet.
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.
Originally, the MM2 PTC editor would only allow selecting one tile at a time for drawing (like drawing pixels). Now, I've changed the method so that several tiles can be drawn together at once (like a selection box). Because of this, I now have to rearrange all the tilesets so they can be used as such.
Discostew
3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew
SimpleC's development is done! My first finished project since Person Text RPG I (tell me if you remember that)! The wiki is updated and I will soon start making tutorial vids.
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.
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.
Seriously @IAmAPerson my computer can't download the command list so you gotta put it here. No matter how long it is,I need it badly.
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. Wait was that just a joke?
3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123
Seriously @IAmAPerson my computer can't download the command list so you gotta put it here. No matter how long it is,I need it badly.
Read my comments before. I'm making some video tutorials tomorrow. Please be patient. I also have school and such to worry about; I have other things to do besides programming.
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.
Seriously @IAmAPerson my computer can't download the command list so you gotta put it here. No matter how long it is,I need it badly.
Read my comments before. I'm making some video tutorials tomorrow. Please be patient. I also have school and such to worry about; I have other things to do besides programming.
just C and P it on pastebin.com . you need no acount
"Did somebody say Aincrad?"
"No, go back to your own game!"
"awwww"
"And make out with Asuna."
"Aww-I mean YAY"
The wiki is a place for programs, and yet half our pages are just descriptions about games that will never come.
that's always bothered me. it used to be filled with programs, but now it's just filled with descriptions :/
I think a lot of coders (new and old) think of and announce new ideas before even starting them... This causes streets on those waiting for the problem, yet in the end it's all for fun and their not forced to write problems...
I don't think that's part of the old coders (unless my old is your ancient!), but I notice that a lot of the younger people are "loud". They'll say "I'll do this, and I'll do that" but do not perform as advertised. I'm still waiting for bluerobin2 to jumpstart petitcomputercommunity blog.
In my case, I have more programs, than I do wiki entries. Coral Maze and WITCH needs to be put up there, at least. I don't feel like doing it, since I don't have account on the wiki. I don't think I'll be getting one soon. Too busy and I don't need the distraction of yet another account.
Hey guys I need help with my OS. So I spent a LONG LONG time working on part of it and I tried to make something and I don't know what the heck is wrong with it. If I give a early release of it tomorrow, Can some one fix the problem and give me the qrs or tell me how to fix it?
@ramstrong Way to encourage me . Yes I have plans, But I just don't have the time. I'll do it eventually, but for now I barely have time for PTC and Arduino and other fun stuff. I do have some things offline, I just want to perfect them before dumping them on the site... Meanwhile, you could write a bunch of tutorials and save them as drafts...
The wiki is a place for programs, and yet half our pages are just descriptions about games that will never come.
that's always bothered me. it used to be filled with programs, but now it's just filled with descriptions :/
I think a lot of coders (new and old) think of and announce new ideas before even starting them... This causes streets on those waiting for the problem, yet in the end it's all for fun and their not forced to write problems...
I don't think that's part of the old coders (unless my old is your ancient!), but I notice that a lot of the younger people are "loud". They'll say "I'll do this, and I'll do that" but do not perform as advertised. I'm still waiting for bluerobin2 to jumpstart petitcomputercommunity blog.
In my case, I have more programs, than I do wiki entries. Coral Maze and WITCH needs to be put up there, at least. I don't feel like doing it, since I don't have account on the wiki. I don't think I'll be getting one soon. Too busy and I don't need the distraction of yet another account.
I can agree with that, as a lot of people new to ptc or coding in general try to jump into building a game without learning or attempting the basics first... Although I'm probably not one to talk as this is beginning to sound hypocritical on my part...
Botw > OoT
3DS Friend Code: 0748-4970-2550 | Nintendo Network ID: Xjarnold
It's best to keep your lips sealed about a project until you have something to show off, and a title screen is not enough. Best example is the game in playable form, even if it is very early in development. That will at least show that you are getting somewhere.
Discostew
3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew
@randomous If you could do a simple example CHRSET/CHRREAD to get me started that would be great. I should note that I learned how to store and play music from DATA"MML code" from your recreation of a song from Mario (very helpful!!).
@VincentFaraday Edit: After looking over my post, I realized I didn't give you a simple example! I gave you the solution lol. Here's a simple example:
CHRREAD("SPU0", 0), CHRHEX$
What this does is retrieve the sprite data (the color of each pixel basically) for the 8X8 sprite 0 from the resource SPU0 and store it into our variable CHRHEX$. Notice that CHRREAD only deals with 8X8 sprites... we'll see how to get around that below. Now that CHRHEX$ is basically a representation of the sprite, we can use CHRSET to put it somewhere else (like the lower screen's sprite sheet):
CHRSET "SPS0", 8, CHRHEX$
This sets the 9th sprite on the lower screen's first sprite sheet to be the sprite we read from the first command (which we stored in CHRHEX$). That's the basics of moving sprites around, but let's look at the part I originally posted below to see a functionalized version which takes into account the fact that your sprites are most likely 16X16:
The first thing to note is that when dealing with 16X16 sprites (the default size), it's actually like you're using 4 8X8 sprites. The program doesn't store the sprites as a 16X16 block, it just stores them as a line of 4 8X8 sprites. For instance, let's say you're looking at sprite 1 and 2 on your sprite sheet (on CHRED or something). You usually see them side by side, however they're stored like this:
1 1 1 1 2 2 2 2
Where the four 1's are the four 8X8 sprites which make up the 16X16 sprite; same for the four 2's next to it. Because CHRREAD and CHRSET only work on 8X8 regions, it's important to know how the system treats them. The next thing to note about CHRREAD and CHRSET is that they don't use the usual system for sprite identification. For instance, if you want the first fourth of the first sprite on sheet 0, that's sprite 0. If you want the first fourth of the first sprite on sheet 1, that's also sprite 0. Instead of keeping a "global" sprite identifier that spans across all the pages, the sprite identifier is specific to the sheet. This means that CHRREAD and CHRSET will require the sheet AND the sprite # will need to be converted. But enough of that, let's see an example. Here is a function which takes SPRITE2SET and PLACE2SET as "parameters" (meaning you set them before calling the function), then puts the sprite you chose (SPRITE2SET) into the lower screen slot you chose (PLACE2SET).
@DYNAMICSET
PAGE$="SPU"+STR$(FLOOR(SPRITE2SET/64))
FOR I = 0 TO 3
CHRREAD(PAGE$,(SPRITE2SET%64) * 4 + I), CHRHEX$
CHRSET "SPS0", PLACE2SET * 64 + I, CHRHEX$
NEXT
RETURN
And that's it. This assumes that you're only going to set the sprite into one of the 64 slots in the lower screen's sprite sheet. Let's look at the some of the finer details: the first line determines the sheet that the sprite you're moving came from. For instance, if SPRITE2SET was 16, we'd get sheet 0, and if it was 72, we'd get sheet 1 (sorry it's called PAGE in the code). The FOR loop moves the four 8X8 blocks which make up the 16X16 sprite down into the lower screen's sprite sheet. CHRREAD takes the resource you want to read from, the number of the sprite from the sheet (the 8X8 sprite number), and outputs the sprite data as hexadecimal into the string you provide. In our case, the sheet is PAGE$, and the sprite we're getting from that sheet is (SPRITE2SET%64) * 4 + I. We do mod 64 because each sheet has 64 sprites in it, so we're turning the "overall" sprite number into the sheet specific one. We multiply by 4 because we're not using 16X16 sprites anymore, we're using 8X8 (meaning we have 4 times the number of sprites on the page). Finally, we add I (the loop counter) because we want to get the 4 sprites which represent our 16X16 sprite. CHRHEX$ is where we're storing the information. Next, we do CHRSET, which requires a resource, the number representing the sprite to set, and the HEX string representing the sprite data. We perform almost the same operation on PLACE2SET, but we remove the mod operation because we're only setting sprites on page 0.
As an example, let's say you want sprite 64 (right facing character sprite) to go into slot 5 of the lower screen's sprite page. We'd just do:
What this basically allows you to do is build a dynamic sprite sheet for the lower screen which is catered to a specific situation. For instance, in an RPG, you're not going to use forest objects AND dungeon objects, so you only load the sprites you're going to use into the custom sprite sheet. As long as you're not using over 64 different sprites at once, you'll be fine. Here's an example program which contains the function and a small use case:
I believe that I'll be able to make a SimpleSimpleC interpreter inside of SimpleC. Thy syntax will be very funky, but I think I'll be able to pull it off. Here's the syntax for a Hello World program:
PRINT:
Hello, world!
HALTPROGRAM:
5
This is the SimpleC equivalent of:
OUT<"Hello, world!"
SLP[5]
And the SmileBASIC equivalent of:
PRINT"Hello, world!"
WAIT 300
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.
@randomous Thanks for the explanation. I'm glad you went deep in the explanation (it would have taken me a while to figure out). I'll start working on adding the sprites to the lower screen this Sunday. With any luck I might have the first update to Hawthorne Effect finished before November (barring I don't get caught in a homework landslide). The first update is going to include optional touch screen controls (thanks to @Discostew for the suggestion), so that's why I am shifting everything to the lower screen.
Forums
Topic: Petit Computer
Posts 7,401 to 7,420 of 9,620
Please login or sign up to reply to this topic