The search function on Nintendo Life is wonderful, you should give it a try. Just search "Petit Computer <x>", where x is the subject you want to know about. For instance, search: "Petit Computer sprite collision", and you'll get an absolute flood of posts where this question has been answered before (or at least discussed). The link above was found using Google.
@Hansausage It's a function called "SCREENSHOT" (I think); you can search for it using the magnifying glass on Petit Computer. But it's not a generic screenshot system; you can't use my code to make yours work. Basically what you have to do is: for each BG and SP on the screen, you need to draw it using GPUTCHR. It's messy and overly complicated, but hopefully it'll work for you.
@Randomous Thanks, I will definitely check into that. The reason I need this is for Pixelli in world sim mode it loads the selected GRP for wat you created in World edit. (Gosh GPUTCHR is very overly complicated.) Anyway I will eventually figure it out. Thanks!
@Pootrick2! I thought you left! I ended up quitting the LOZ project and started Pong.
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?
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?
@GraphicGenius I'm sorry that it was unhelpful. That's the same tutorial I used for learning sprite collision, and I thought it was pretty helpful. Search around on Nintendo Life, there are other tutorials which you may like better.
@ShadowGame@GraphicGenius I've posted input and advanced output for SimpleC on my Petit Computer Blog. Also, current standings for Minecraft DS Beta 2.0 testing: @Leviceljir - 4 votes @Randomous - 1 vote
Remember: I need 3 people to help test!
I can volunteer! I have played this project since Raycraft, I've been following it ever since, and I really enjoy every moment I play this. Please let me test!
That night I announced the LOZ port I' went right to work and then I finished it a full port I took a pic of me playing it then I took out my sd card and was going to post the pic on my CPU I Accidentally deleted all my SS card files my games photos EVERYTHING and It deleted my data backups too so all I have leftt of my LOZ port is a photo of me playing it so I vanished away into the bushes and I haven't played petit computer yet so.....I've been playing steam world dig yah that's a time spender
thats a wonderful story it's just a shame it isn't true
i really doubt you had a full port with the small amount of time you've spent in ptc and with ptc's limitations, and it's also very convenient that you accidentally deleted every trace that it ever existed, even the backups.
also even if this was true you would still have it on ptc unless you somehow managed to accidentally delete everything
@Discostew i have a question. how do you reduce the lag in mm2? i put 3 enemies in my game and it lagged so badly i could barely move my character O.o
Okay Pixelli Demo 1 (1.0.1) will be released hopefully by tomorrow!
CHANGELOG
A smexy looking mainmenu
In WorldEdit-
Cleaner interface no more bulgy sidebar
All features (palette block menu etc.) in one home button in bottom left of the touchscreen
Fully functional BG placement with all 1024 tiles (don't worry there are shortcuts)
In WorldSim-UNAVAILABLE until next update...
@Discostew i have a question. how do you reduce the lag in mm2? i put 3 enemies in my game and it lagged so badly i could barely move my character O.o
In most cases, the cause of lag is due to too much processing being done. Your enemies may be overly complex, or, something in your code is taking up too much process time, and your enemies made that apparent. Other cases revolve around wasted cycles on things that get processed but didn't need to be. Attempt to find shortcuts with your code. Experiment with different algorithms. Assigning numbers/strings to variables takes a long time with PTC, so try to reduce the amount of assigning that is done. For example...
Y=30+X
Z=Y*1.25
If Y is only needed for assigning Z, then remove the line that assigns Y, and substitute the Y variable in the next line with the algorithm that was set for assigning Y, as...
@Discostew I'm embarrassed to say that I never thought of doing things like that! Thanks!
You want to be careful in doing that since that hurts readability. That kind of optimization should be done as the last step because it will turn program maintenance into a nightmare.
After you get some experience, you can pretty much guess how much capability the platform has, and design accordingly. It's still an art. The last Fire Emblem game, they shortened the feet because they didn't think they'll have enough CPU cycles to do it normal. Turns out they do have enough, but it's too late in the process to change. So, tiny feet!
@twinArmageddons
You want to use the hardware as much as possible. You may need to keep certain enemies simple, so you can use movement interpolation timer, instead of doing everything per frame.
That night I announced the LOZ port I' went right to work and then I finished it a full port I took a pic of me playing it then I took out my sd card and was going to post the pic on my CPU I Accidentally deleted all my SS card files my games photos EVERYTHING and It deleted my data backups too so all I have leftt of my LOZ port is a photo of me playing it so I vanished away into the bushes and I haven't played petit computer yet so.....I've been playing steam world dig yah that's a time spender
thats a wonderful story it's just a shame it isn't true
i really doubt you had a full port with the small amount of time you've spent in ptc and with ptc's limitations, and it's also very convenient that you accidentally deleted every trace that it ever existed, even the backups.
also even if this was true you would still have it on ptc unless you somehow managed to accidentally delete everything
@Discostew i have a question. how do you reduce the lag in mm2? i put 3 enemies in my game and it lagged so badly i could barely move my character O.o
No reply yet... probably because your right. I NEVER FINISHED YOUR LINK SPRITES POO! How did you make it without sprites? Tell me. How. Realy. HOW! Also the dude making a link to ze past has been on the web for as long as I can remember being here, and he hasnt even got to the REAL map yet, just a demo. $50 that the photo is you playing the eshop version. EDIT: Ptc is in NO WAY connected to the sd card, unless you save to sd card. When you do its still in ptc's memory. Unless you formated system data, (witch would have deleted your apps/games too, its still there (unless you typed-
DELETE"loz)
Don't lie, lieing is for haters. YOU HATE BRO?!? YOU HATE!
Can anyone show me how to use the sprite collision commands and make a tutorial for me? All the other tutorials aren't very good.
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?
@GraphicGenius I don't use the sprite collision commands in any of my games, but instead I use math to define a collision. For example, if the hero's location is (X1,Y1) and the enemy's location is (X2,Y2), then I will create a conditional statement saying if either of the two points come a certain distance to each other, then a collision has taken place. If you like this and want a more concrete example, then let me know. :]
@Discostew i have a question. how do you reduce the lag in mm2? i put 3 enemies in my game and it lagged so badly i could barely move my character O.o
In most cases, the cause of lag is due to too much processing being done. Your enemies may be overly complex, or, something in your code is taking up too much process time, and your enemies made that apparent. Other cases revolve around wasted cycles on things that get processed but didn't need to be. Attempt to find shortcuts with your code. Experiment with different algorithms. Assigning numbers/strings to variables takes a long time with PTC, so try to reduce the amount of assigning that is done. For example...
Y=30+X
Z=Y*1.25
If Y is only needed for assigning Z, then remove the line that assigns Y, and substitute the Y variable in the next line with the algorithm that was set for assigning Y, as...
Z=(30+X)*1.25
thanks it's probably because the game has to process so much stuff and the enemy ai is so complex so i'll just stick with respawning for now
hopefully ptc 3d has better processing speed
Can anyone show me how to use the sprite collision commands and make a tutorial for me? All the other tutorials aren't very good.
Hey Genius,
See this from your sig?
Need a tutorial on Petit Computer?
I'm the guy!
How about you show us your shortest simplest code that illustrates sprite collision.
What kind of tutorials have you seen, and what kind of problems are you having, anyway? There's so much that can go wrong, that if you cannot be specific in explaining your problem, we can't help you.
I just told @GraphicGenius an answer to his problem. Look on the last page before this. I also strongly agree with Ramstrong...Could you give us more details for your errors?
Forums
Topic: Petit Computer
Posts 7,541 to 7,560 of 9,618
Sorry, this topic has been locked.